Created by: Ilja Zaglov | imbaa Kreativagentur
The responsive Goolge Maps Plug-In brings Responsive Google Maps API via the Google Maps API to your site.
When the browser-window is resized, the Plug-In automatically recenters the map view to the desired coordinates. You can activate and deactivate map control elements, set the height and the type of map (road, satellite).
And that’s pretty much it.
How to use
The Plug-In requires at leas two values to work: the latitude and the longitude of the location to display
[responsive_map lat=”51.44303″ lng=”7.01247″]
If you need to use the Shortcode inside a theme, just use <?php do_shortcode('[responsive_map lat="51.44303" lng="7.01247"]') ?>
.
See it in action on imbaa Kreativagentur‘s site.
Infowindow
Version 1.1.1 of Responsive Google Maps is capable of displaying infowindows on the markers location.
To enable an infowindow simply put your infowindow text inside the [responsive_map] Tag.
You can use HTML if you like.
[responsive_map lat=”51.44″ lng=”7.01″]Infotext goes here[/responsive_map]
Possible other Parameters:
Coming up next:
Custom marker images