Sending MRC Commands
With a mapletRemoteControl operation you can send an MRC command to the Map24 MRC Service.
The following listing shows the general structure of the operation in the WSDL file of the Map24 MRC Service:
... <message name="mapletRemoteControlRequest" > <part name="RequestHeader" type="tns:RequestHeader" /> <part name="MapletRemoteControlRequest" type="tns:MapletRemoteControlRequest" /> </message> <message name="mapletRemoteControlResponse" > <part name="MapletRemoteControlResponse" type="tns:MapletRemoteControlResponse" /> </message> ... <portType name="Map24MapletRemoteControlPortType" > <operation name="mapletRemoteControl" > <input message="tns:mapletRemoteControlRequest" /> <output message="tns:mapletRemoteControlResponse" /> </operation> ... </portType> ...
Request
The MapletRemoteControlRequest element contains the parameters for the mapletRemoteControl operation.

HTTP GET Request
For each MRC command there is a different HTTP GET request. To create a HTTP GET request that sends an MRC command refer to the documentation of the command. See the list of all available MRC commands.
| Field |
Description |
| Map24MRC |
A Map24MRC element that contains the MRC commands to perform with this MapletRemoteControlRequest. |
| CustomizedMRC |
Optional field or type CustomizedMRC for pushing information to a customized client component.
|
| Initiator |
This field is set by mapping clients only. Do not set this field when sending MRC commands to the Map24 MRC. If set, the MRC commands in the mapletRemoteControl request will not be sent to the mapping client. The Initiator field is used as an identifier of the mapping client. A mapping client can set this field, if it has already processed the MRC commands contained in the request. In this case the mapping client sends the request only to update the state of the Map24 session on the server. For example, in a Map24 Applet this field is set with the mrcinitiator parameter. |
| Properties |
Additional properties (array of key-value pairs). If you specify the property "GetMap24MapletInfo" and set its value to TRUE, information on the current map view will be returned in a MapletInfoRequest element in the response. |
Response
MapletRemoteControlResponse is the response of the mapletRemoteControl operation.

| Field |
Description |
| ResponseHeader |
The ResponseHeader. See General Information: RequestHeader / ResponseHeader. |
| Map24MapletInfo |
If the property "GetMap24MapletInfo" was set to TRUE in the request, information on the current map view is returned in a MapletInfoRequest element.
|
|