Tagged: google maps, shortcode
Hi –
Silly question but what variable do i need to set in the shortcode to ensure the map loads immediately? I’m trying to load the shortcode in one of my templates. Maps show up fine when I use the builder but when I use this simplified code, I see “Maps were disabled by the visitor on this site.”
<?php echo do_shortcode('[av_google_map height="400px" zoom="16" zoom_control="aviaTBzoom_control"][/av_google_map]'); ?>
Thanks!
kane
Hey kane,
Can you give us a link to the page that contains that shortcode? the map shortcode should also have an address, also make sure the you have added the Google API Key.
Best regards,
Nikko