This plugin outputs a full width Google Map based on tag coordinates or location. The plugin uses version 3 of Google Maps script, with no need for an API key.

Usage

{exp:googlemap zoom="17" container="map1" width="60%" height="400px" location="New York, USA" streetview="false"}

or

{exp:googlemap zoom="17" container="map1" width="60%" height="400px" lat="53.3218692" lon="-6.2645621" streetview="true"}

The container should have a different name for each embedded map. Width and height allow for both percentage and pixel dimensions (note that ‘em’ is also available). The streetview parameter is mandatory. A map tag should have either a location parameter or a lat/lon combination, not both.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>