Q: How to get the layer information and the sub-layer names in the map?

A: You can send the GET request through iServer REST API. The request address is: http://supermapiserver:8090/iserver/services/map-world/rest/maps/WorldMap/layers.rjson. The WorldMap is the map name. The sub-Layers is the sub-layer set information. You can refer to iServer help REST API>services>root>maps>map>layers for specific return result structure.

04 July,2019
Tags: iServer

More iServer FAQ