Shortcode: [control-locations-map]

Go to Control Locations > Settings > Shortcode

AttributesValuesExample
id Type: Number
Default: NULL
Use your locations id those you want to add into map. Use comma separated id for multiple ids
[control-locations-map id="23"]
[control-locations-map id="23,34,44"]
zoom Type: Number
Default: 8
Range:0-20
[control-locations-map zoom="8"]
map_only Type: Boolean
Default: FALSE
View map.
[control-locations-map map_only="false"]
hide_search Type: Boolean
Default: FALSE
Search form appear or not
[control-locations-map hide_search="false"]
map_title Type: text
Default: Control Locations
Content title
[control-locations-map map_title="My title"]
nearme_text Type: text
Default: Near Me
[control-locations-map nearme_text="My Location"]
map_view_style Type: text
Default: content-left
Supported styles : content-left, content-right, content-top, content-bottom
[control-locations-map map_view_style="content-left"]
tile_url Type: link
Default: NULL
See more tile server here
[control-locations-map tile_url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"]
map_height Type: Number
Default: 600
Height in pixel
[control-locations-map map_height="600"]

Leave a comment

Your email address will not be published. Required fields are marked *

Launch login modal Launch register modal