Basemap configuration for extent permissons setting function

Feedback


Open the BaseMapConfig.json file in the [SuperMap iPortal_HOME]\webapps\iportal\resources\web-ui\config directory and set a valid basemap. The default configuration is https://iserver.supermap.io/iserver/services/map-china400/rest/maps/China_4326. The configuration fields are described as follows:

After completing the above configuration, it takes effect without restarting iPortal.

Example 1: Configure a RESTMAP type map service as a basemap

{

    "baseLayerUrl": "http://192.168.17.199:8090/iserver/services/map-china400/rest/maps/China_4326",

    "type": "RESTMAP",

    "epsgCode": 4326,

    "key": ""

}

Example 2:Configure a TIANDITU_VEC type map service as a basemap

{

    "baseLayerUrl": "",

    "type": "TIANDITU_VEC",

    "epsgCode": 4326,

    "key": "a58f3713862426ec0b2927cb43da8065"

}