[raw]
[gmap address=”Atlanta, GA” height=”300px” html=”You clicked me!”]
[spacer height=”40px”]
[divider]
[spacer height=”24px”]
[/raw]

[raw]

Get The Code

[spacer height=”4px”]

[codebox line_numbers=”true” remove_breaks=”true” lang=”html”]
[[gmap address=”Atlanta, GA” html=”You clicked me!”]]
[/codebox]
[spacer height=”23px”]
[divider]

[spacer height=”24px”]
[/raw]
[raw]

Customization Options

[list]
[list_item]width – width of the map embed[/list_item]
[list_item]height – height of the map embed[/list_item]

[list_item]address – address of the location to display on the map[/list_item]

[list_item]latitude – the latitude of the location to display on the map (an alternative to providing the address)[/list_item]

[list_item]longitude – the longitude of the location to display on the map (an alternative to providing the address)[/list_item]
[list_item]zoom – the initial zoom level of the map[/list_item]

[list_item]html – the HTML to display in the popup that is launched when the location marker is clicked[/list_item]
[list_item]pancontrol – whether you want to display the pan control (the large circle with the arrows for moving around)[/list_item]

[list_item]zoomcontrol – whether you want to display the zoom control (the plus and minus buttons for zooming in and out)[/list_item]

[list_item]maptypecontrol – whether you want to display the map type control (letting the user choose between “map” and “satellite” display)[/list_item]

[list_item]scalecontrol – whether to display the scale control (the marking that tells you the distances represented in the map).[/list_item]

[list_item]overviewmapcontrol – whether to display the overview map control (the arrow in the bottom right corner that expands to show the region currently being viewed).[/list_item]

[list_item]scrollwheel – whether the map should zoom in and out in response to scrolling via a mouse scrollwheel.[/list_item]

[list_item]maptype – the type of map you want to display (roadmap, satellite, hybrid or terrain).[/list_item]

[list_item]marker – whether you want to display the red marker showing the location specified by the address or longitude/latitude attributes.[/list_item]
[list_item]style – CSS class names that you’d like to add to the map element (can be used to style the map control via CSS).[/list_item]

[list_item]full – set to true if you want the map to span a full-width page[/list_item]

[/list]
[/raw]

Leave a Reply