Mapping


Click here for a complete list of operations.

MapIconsToScale

This method returns a map at a fixed scale with the icons overlaid if they fall withing the view

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
tag:
style:
type:
height:
width:
scale:
osx:
osy:
icon:
alpha:

SOAP

The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.

POST /wsMapper/mapping.asmx HTTP/1.1
Host: www.servicex.co.uk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.servicex.co.uk/wsMapper/Mapping/MapIconsToScale"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <MapIconsToScale xmlns="http://www.servicex.co.uk/wsMapper/Mapping/">
      <tag>string</tag>
      <style>string</style>
      <type>string</type>
      <height>short</height>
      <width>short</width>
      <scale>string</scale>
      <osx>int</osx>
      <osy>int</osy>
      <icon>string</icon>
      <alpha>int</alpha>
    </MapIconsToScale>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <MapIconsToScaleResponse xmlns="http://www.servicex.co.uk/wsMapper/Mapping/">
      <MapIconsToScaleResult>dataset</MapIconsToScaleResult>
    </MapIconsToScaleResponse>
  </soap:Body>
</soap:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /wsMapper/mapping.asmx/MapIconsToScale?tag=string&style=string&type=string&height=string&width=string&scale=string&osx=string&osy=string&icon=string&alpha=string HTTP/1.1
Host: www.servicex.co.uk
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DataSetMapping xmlns="http://www.servicex.co.uk/wsMapper/Mapping/">dataset</DataSetMapping>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /wsMapper/mapping.asmx/MapIconsToScale HTTP/1.1
Host: www.servicex.co.uk
Content-Type: application/x-www-form-urlencoded
Content-Length: length

tag=string&style=string&type=string&height=string&width=string&scale=string&osx=string&osy=string&icon=string&alpha=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DataSetMapping xmlns="http://www.servicex.co.uk/wsMapper/Mapping/">dataset</DataSetMapping>