Map & StreetView Shortcodes

Map & StreetView Shortcodes

Map Shortcode Explanation


[map
    width = «100%»          Width of the container in % or px
    height = «300»          Height of the container in % or px
    lat = «0.0»             Latitude (Required)
    lon = «0.0»             Longitude (Required)
    zoom = «8»              Zoom amount (0-20)
    type = «roadmap»        Map type
    controls = «true»       Show or hide screen controls
    drawmarker = «false»    Displays a map marker in the center
    ]
    Info window contents    If not empty, drawmarker will automatically be true; click the marker
                            to show the window. Leave empty to hide info window.
[/map]

Type values:
    roadmap, satellite, hybrid, or terrain


Map Shortcode Example

Click the marker to show the information window.

[map lat=»40.75766″ lon=»-73.98554″ zoom=»15″]Some text[/map]

StreetView Shortcode Explanation


[map
    width = «100%»      Width of the container in % or px
    height = «300»      Height of the container in % or px
    lat = «0.0»         Latitude (Required)
    lon = «0.0»         Longitude (Required)
    zoom = «1»          Zoom amount (0 – 20)
    heading = «0.0»     Heading amount (0.0 – 360.0)
    pitch = «0.0»       Pitch amount (90.0 – -90.0)
    controls = «true»   Show or hide screen controls
/]

StreetView Shortcode Example

[streetview lat=»40.75766″ lon=»-73.98554″/]