URL Parameters for Public Maps

URL Parameters for Public Maps

Overview

Public Maps can be configured to start in a particular location, or have a label added to the map.

Configurations

Below are all the configurations supported. The 'requires' column shows which additional parameters are also required when using a given parameter. The URL can be used to display a full screen web page, or embeddable map if used within an iFrame. 

Parameter Name
Requires
Effect
Syntax

x
y
Set the x/easting/longitude for the center of the Map. This must be in the projection the map is set in. 
https://shared.xmap.cloud?mapid={MAP_ID}&x={EASTING}&y={NORTHING}
y
x
Set the y/northing/latitude for the center of the Map. This must be in the projection the map is set in. 
https://shared.xmap.cloud?mapid={MAP_ID}&x={EASTING}&y={NORTHING}
zoomx,y
Set the zoom level for the map (0-28). NOTE for some customers were the extent is limited already, it's recommended to set zoom > 7
https://shared.xmap.cloud?mapid={MAP_ID}&x={EASTING}&y={NORTHING}&zoom={ZOOM}
label
x,y
Add a label to the given coordinates
https://shared.xmap.cloud?mapid={MAP_ID}&x={EASTING}&y={NORTHING}&label={LABEL}



    • Related Articles

    • 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. 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? ...
    • Creating a Public Map

      Background: Public Maps are no code, GUI created, Interactive web maps built on Open-Layers. Accessing Public Maps: In the Admin Panel, in the menu panel on the left, click on Public Maps. BEFORE YOU BEGIN Before you begin to create a public map you ...
    • Creating Hub Maps links

      Populating the Source table: To published a new link on the Hub Maps page you need to update the gx_hub.open_maps source table. There are various ways to do this either through Dbeaver, PG-Admin or QGIS. Please contact your Account Manager to discuss ...
    • Public Map Watermarks

      You may wish to add watermarks to your Public Map to prevent redistribution of data or comply with licensing agreements. Under the Public Map options, you will find the 'Watermark' text field. In this field you can enter: A URL of an image, e.g ...
    • Web Service Compatibility

      There are various ways to access WMS/WFS data depending on your requirements. Public Access: To make a public WMS/WFS feed WITH attributes/columns, in the admin panel go to: DATA >> LAYERS and find the layer that you want to make Public. Set the ...