Add layer |
After selecting the appropriate basemap, you can add layers. MapStudio supports adding SuerMap REST services, OGC WMTS services, and OGC WMS services from the Web and iPortal as layers. It should be noted that the coordinate system of the added layer must be consistent with the coordinate system of the basemap.
The steps to add data as a layer from the data list are as follows:
Method 1: Click "Data" on the left side of the MapStudio page, select a piece of data in the displayed data list and drag it directly onto the map; or click the icon to add the data with one click.
Method 2:
Click "Layer" on the left side of the MapStudio page, and click "Add Layer";
The "Add from Data list" tab lists all the added data in MapStudio. Check one or more data, then click "Add" to add the data on the map as layers.
Support accessing to the map service, vector tile service, and image service in the Resource Center of the SuperMap iPortal as layers.
The specific steps are as follows:
Select "Layer" in the left panel, and click "Add Layer";
Select the "Add from Resource Center" option, click "My Services", "Public Services", "Share with My Services", "My Organization Services", or "My Group Services", select one or more services you want to add.
Add SuperMap image service: Click the target service. If the service contains multiple image collections, all image collections under the service will be expanded. Click to select one or more image collections that need to be added. An unclickable map item means its coordinate system is consistent with the basemap.
Add OGC services: including WMS and WMTS services.
a) Add OGC WMS service: Select the target service, and the WMS map will be added to the map as a raster layer by default. If the map contains multiple layers, click "Select Layer" in the pop-up window and select one or more maps to be added, click OK to complete the addition.
b) Add OGC WMTS service: Select the target service, and click the showed "Select layer", select the layer to be added and set the correct scale set, click OK to complete the addition.
Support accessing to layers via the service address, including the REST map service and vector tile service published in SuperMap iServer, OGC WMTS service, OGC WMS service, and image service.
The operation steps are as follows:
Select "Layer" in the left panel, click "Add layer", and select "URL" tab;
Select the service type, and then fill in the service address in the address input box, as follows:
SuperMap REST map service address: http://<server>:<port>/iserver/services/{component}/rest/maps/{mapName}
SuperMap REST vector tile service address: http://<server>:<port>/iserver/services/{component}/restjsr/maps/{mapName}
SuperMap REST image service address: http:// <server>:<port>/iserver/services/imageservice-HaiNan/restjsr/collections/{collectionid}
OGC WMS services address, such as: http(s)://<server>:<port>/iserver/services/{MapName}/wms111/China
http(s)://<server>:<port>/iserver/services/{MapName}/wms130/China
Note: If you add a WMS service from other platforms, the address must be able to correctly obtain the Capabilities document of the service.
OGC WMTS services address, such as: http(s)://<server>:<port>/iserver/services/{MapName}/wmts100
https:// <server>:<port>/iserver/services/map-world/wmts-china
Note: If you add a WMTS service from other platforms, ess must be able to correctly obtain the Capabilities document of the service, such as http(s)://<server>:<port>/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetCapabilities。
If the service is secured, you need to check the "A token is required to access this service" and enter the access token;
For the SuperMap REST map service, the layer will be added in the form of vector tiles by default. After adding, the layer style can be modified. If you do not need to modify the layer style, uncheck "Add as vector tiles" and the map will be added as a raster layer. In addition, if the map service you access comes from map tile packages such as UGCV5, SMTiles, etc., you can only add layers in raster tiles; if you are adding vector tile services, you must add them in vector tiles.
Click the "Add to map" button to complete the operation of adding a layer.