URL Parameters for Opening XMAP

URL Parameters for Opening XMAP

Overview

This feature allows layers to be sent as a parameter in a URL to tell XMAP to load a particular layer.

Warning
NOTE: this is an experimental feature so it a) may not work, and b) isn't fully-featured yet.

URL Format

Root:https://xmap.cloud/maps?

Query Parameters:


Name


Description


Example

permalinkEPSGProvide a permalink with coordinates of a projection different to the default account setting.https://xmap.cloud/maps?permalinkEPSG=4326#map=16.34611549650638/-0.05/51.61/0
forceEPSGForce the map to load in a specific EPSG. Permalink coordinates are assumed to be in this EPSG.https://xmap.cloud/maps?forceEPSG=4326
layersComma delimted string of layer ID's to loadhttps://xmap.cloud/maps?layers=os-premium-stack-standard,planning_apps_readonly
filterscomma delimited in the format LAYER:CQL_FILTER.
Info
This requires the filter layers to be set in the layers option.
            

Permalink
The permalink option must come after any query parameters. It can be used to tell XMAP to start at a particular place, zoom and rotation.
The permalink format is [ZOOM/X/Y/ROTATION]

https://xmap.cloud/maps#map=19/488769.49/160430.37/0