Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
$location = get_field('post_map');
if( !empty($location) ): ?>
<img style="margin-top:25px;" width="1500" height="250" src="<?php echo $location['lat'];?>,<?php echo $location['lng'];?>&zoom=15&size=1500x250&sensor=false&markers=color:red%7Clabel:%7C<?php echo $location['lat'];?>,<?php echo $location['lng'];?>">
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.