Generate: Shortcodes: OpenStreetMap

The OpenStreetMap shortcode inserts an OpenStreetMap Map, Satellite Map, depending on the shortcode’s parameters.

To add an OpenStreetMap:

  • Click the OpenStreetMap folded map icon in the Visual Editor toolbar:
    Page Generator Pro: Shortcodes: Open Street Map: Icon
  • Enter the following information:
    Page Generator Pro: Shortcodes: Open Street Map

    • Location: Enter the ZIP Code, City, County or State/Region (or keyword, if you have one that has keyword data comprising of this location data).
    • Country: Select the Country the above Location is in.
    • Height: The height of the Map, in pixels.
    • Zoom Level: Choose a zoom level for the Map.  A higher number means the map will be more zoomed in.

A shortcode will then appear within the content:
[page-generator-pro-open-street-map location="{city}" country="GB" height="250" zoom="14"]

Parameter Accepted Value Description
location string or keyword The location to display the marker on the map
country string or keyword The country that the above location is in
height integer The height of the map, in pixels.  Width is always 100%
zoom 0 to 21 The zoom level of the map.  A higher number means more detail