Shortcodes for management of google maps
Superb comes with a handful of google maps shortcodes, that were designed to make the use of google maps in your pages and posts as easy as possible, without the need of working with the google maps api itself. The basic structure of google map shortcode is following:
[code] [gmap]
[/code]
Supported parameters
[list type=bullet2]
[/list]
Examples of google maps created with shortcodes
[gmap type=ROADMAP lat=40.719681 lng=-74.004593 zoom=1] Hi there. [/gmap] [toggle title="Get the code"]
[code]
[gmap type=ROADMAP lat=40.719681 lng=-74.004593 zoom=1] Hi there. [/gmap]
[/code]
[/toggle]
[gmap type=satellite lat=40.719681 lng=-74.004593 zoom=1]
Example of description. Neat, right? ![]()
[/gmap] [toggle title="Get the code"]
[code]
[gmap type=satellite lat=40.719681 lng=-74.004593 zoom=5]
Example of description. Neat, right? ![]()
[/gmap] [/code]
[/toggle]
[gmap type=HYBRID lat=40.719681 lng=-74.004593 zoom=8 map_type_control=false] [toggle title="Get the code"]
[code]
[gmap type=HYBRID lat=40.719681 lng=-74.004593 zoom=8 map_type_control=false] [/code]
[/toggle]
[gmap type=TERRAIN] [toggle title="Get the code"]
[code]
[gmap type=TERRAIN] [/code]
[/toggle]