You can display your map anywhere on the page by using a shortcode [ctlocation]. If you don’t define any map parammeters it will come with the defaults:
- ROADMAP style,
- width 100%,
- height 400px
- 3rd level of zoom,
- StreetView active
- centered on the city
Feel free to change any of the map parameters via shortcode attributes:
- MAPWIDTH
Example:1[ctlocation mapwidth="70%"] - MAPHEIGHT
Example:1[ctlocation mapheight="800px"] - CENTER
Example:1[ctlocation center="lat_value, lng_value"] - ZOOM
Example:1[ctlocation zoom="10"] - CAT
Example:1[ctlocation cat="europe"] - TAGS
Example:1[ctlocation tags="creative"] - STREETVIEW
Example:1[ctlocation streetview="true"] - STREETVIEWNOW
Example:1[ctlocation streetview="true"] - TRAFFICLAYER
Example:1[ctlocation trafficlayer="true"] - MAPTYPE
Example:1[ctlocation maptype="Hybrid"] - GROUNDOVERLAY
Example:1[ctlocation groundoverlay="Image_URL, NE_Lat, NE_Lng, SW_Lat, SW_Lng]
All of these values are required. - POLYLINE
Example:1[ctlocation polyline="Line_Color, Line_Visibility, Line_Largeness, 1_Lat, 1_Lng, 2_Lat, 2_Lng, ...."] - POLYGON
Example:1[ctlocation polylgon="Border_Color, Border_Visibility, Border_Largeness, Fill_Color, Fill_Visibility, 1_Lat, 1_Lng, 2_Lat, 2_Lng, 3_Lat, 3_Lng...."] - ROUTE
Example:1[ctlocation route="Start_location; Final_location"]
IMPORTANT! Note that locations are separated with semicolon (” ; “), not with comma!
Notice:
Locations are separated with semicolon (” ; “), not with comma!