GetLayers
This method is available to developers from the Lookup.asmx Web Service and returns a list of Layers for a supplied MapSource which may be restricted by Layer Group name.
Syntax
http://localhost/isharemaps_internal/lookup.asmx/GetLayers?mapsource=Workshop/AllMaps&groupname=Council%20and%20Democracy
Parameters
Â
Name | Requirement | Description |
---|---|---|
mapsource | mandatory | A list can be obtained from the GetMapSources or GetMyHouseMapSources methods. This needs to be the name of the .xml file (without the .xml extension) not the name of the MapSource in Studio. |
groupname | optional | A list can be obtained from the GetGroupNames method. |
Â
Returns
An array of Layer Definitions. Â Can be zero in length.
Errors
Raises error – Invalid Map Source