Retrieving Layer Templates
With the getMapTPTemplatesRequest operation you can retrieve all layer templates from the server that are stored for your Map24 ID.
The following listing shows the general structure of the operation in the WSDL file of the Map24 MapTPMap Service:
... <message name="getMapTPTemplatesRequest" > <part name="RequestHeader" type="tns:RequestHeader" /> <part name="GetMapTPTemplatesRequest" type="tns:GetMapTPTemplatesRequest" /> </message> <message name="getMapTPTemplatesResponse" > <part name="GetMapTPTemplatesResponse" type="tns:GetMapTPTemplatesResponse" /> </message> <portType name="Map24MapTPMapServicePortType" > <operation name="getMapTPTemplates" > <input message="tns:getMapTPTemplatesRequest" /> <output message="tns:getMapTPTemplatesResponse" /> </operation> </portType> ...
Request
The GetMapTPTemplatesRequest element is sent with a getMapTPTemplatesRequest operation. GetMapTPTemplatesRequest does not contain any subelements or attributes.
Response
GetMapTPTemplatesResponse contains the response of a getMapTPTemplatesRequest operation.

| Field |
Description
|
| ResponseHeader |
The ResponseHeader element containing the Map24 ID. |
| Templates |
The templates that are stored for this DMap. A template is of a subtype of DeclareMap24MapObject. Examples are DeclareMap24Location, DeclareMap24HTMLObject, DeclareMap24Polygon, or DeclareMap24Polyline. These "Declare" objects are of the same type as MRC commands. A template can have a reference to another map object that serves as template for this template. The reference can be set in the MapObjectReference field. |
Further Information
The structure of the templates for each map object that is supported by the Map24 MapTPMap Service can be found here:
Examples
An example request is provided here.
|