Uploading Custom Map Data
If a DMap is created for your Map24 ID, you can upload custom map data to the server with the uploadMapTPMap operation. The DMap that is created for your Map24 ID will be filled with this data. Furthermore, this operation allows you to define default settings for all map objects that are contained in a DMap layer.
The following listing shows the general structure of the operation in the WSDL file of the Map24 MapTPMap Service:
... <message name="uploadMapTPMapRequest" > <part name="RequestHeader" type="tns:RequestHeader" /> <part name="MapTPMapUploadRequest" type="tns:MapTPMapUploadRequest" /> </message> <message name="uploadMapTPMapResponse" > <part name="MapTPMapUploadResponse" type="tns:MapTPMapUploadResponse" /> </message> <portType name="Map24MapTPMapServicePortType" > <operation name="uploadMapTPMap" > <input message="tns:uploadMapTPMapRequest" /> <output message="tns:uploadMapTPMapResponse" /> </operation> </portType> ...
Request
The request data for the uploadMapTPMap operation is carried in a MapTPMapUploadRequest element.

Fields:
| Field |
Description
|
| MapName |
Name of the DMap for which map data is uploaded. |
| MapScale |
Not used. |
| LocationLayers |
An array of custom layers containing locations. These custom layers are of type MapTPMapLocationLayer. |
| PolylineLayers |
An array of custom layers containing polylines. These custom layers are of type MapTPMapPolylineLayer. |
| PolygonLayers |
An array of custom layers containing polygons. These custom layers are of type MapTPMapPolygonLayer. |
| HTMLObjectLayers |
An array of custom layers containing HTML objects. These custom layers are of type MapTPMapHTMLObjectLayer. |
| RequestProperties |
Further properties of the request. |
Response
Besides the ResponseHeader the response of an uploadMapTPMap operation does not contain any data. The response is of type MapTPMapUploadResponse.
Examples
Example requests are provided here.
|