Retrieving the IDs of Map Layers
The getMapletLayer operation returns an ID and an optional description for each map layer. Map layers can be either Map24 layers or DMap layers. See Grouping Map Objects: Map Layer for more information.
For several MRC commands (e.g. ControlLayer or RemoveLayer) you need to pass layer IDs as parameters. You can retrieve the map layers with a getMapletLayers operation.
The following listing shows the general structure of the operation in the WSDL file of the Map24 MRC Service:
... <message name="getMapletLayersRequest" > <part name="RequestHeader" type="tns:RequestHeader" /> <part name="GetMapletLayersRequest" type="tns:GetMapletLayersRequest" /> </message> <message name="getMapletLayersResponse" > <part name="GetMapletLayersResponse" type="tns:GetMapletLayersResponse" /> </message> ... <portType name="Map24MapletRemoteControlPortType" > <operation name="getMapletLayers" > <input message="tns:getMapletLayersRequest" /> <output message="tns:getMapletLayersResponse" /> </operation> ... </portType> ...
Request
GetMapletLayersRequest does not contain any subelements.
Note: The HTTP GET interface does not support this request.
Response
The response to a getMapletLayers operation contains a GetMapletLayersResponse element.

Example SOAP Request
An example SOAP request is provided here.
|