Just Lat and Long, not address
-
I used this code to render the map on my wordpress post:
<?php if(get_field('googlemap')) { ?> <iframe width="400" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=<?php echo the_field('googlemap'); ?>;t=m&z=10&iwloc=A&output=embed&iwloc=near"></iframe> <?php } ?>
I just want the map to render with the lat and longitude. Is this possible with the code above?
https://www.ads-software.com/plugins/advanced-custom-fields-location-field-add-on/
- The topic ‘Just Lat and Long, not address’ is closed to new replies.