You may direct Mapsly to center the map on a record or a location defined by GPS coordinates, or a map area when the map opens. To do this, use URL commands described below.
This feature works both on the map for authenticated users (app.mapsly.com) and on shared maps.
The following URL commands are available:
Center on a point
__center=coordinates&__zoom=zoomLevel — centers map on the location specified by GPS coordinates (in decimal format, separated by a comma), with the specified zoom level (a value between 6 and 18).
Center on a map region
__center=coordinates1;coorinates2 — centers map on the rectangular area of the map specified by two pairs of GPS coordinates of the opposing corners of the map making sure that the entire map region is visible. Mapsly will automatically determine the zoom level required to make the specified map region fully visible, so the zoom parameter is not applicable in this case.
app.mapsly.com/?__center=34.5645434,165.34532;37.235434,168.7534 — centers and zooms the map so that the specified rectangular map area fully fits into the visible map area.
Center on a record, and [optionally] open its map popup
&__cmd=center&__zoom=zoomLevel — centers the map on the record specified by
recordId that belongs to the object with the API name
To also open the record's map popup, add openMapPopup to the
__cmd=center,openMapPopup . Please note that the map popup will open only if the specified record is currently visible on the map.
If multiple data sources have objects with API names
name, specify the source's API name in the
app.mapsly.com/?__object=account&__id=47373646463&__cmd=center,openMapPopup&__zoom=12 — centers the map on Account record
47373646463, and opens its map popup if this account is visible on the map.