basicmap


Click here for a complete list of operations.

createMap

Create a .jpg map with user parameters, including map width, height, visible layers, custom points, etc.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
mapWidth:
mapHeight:
extentXmax:
extentXmin:
extentYmax:
extentYmin:
currentX:
currentY:
mapClickX:
mapClickY:
mapClickAction:
contextMapVisible:
visiblelayers:
addcustomdatatomap:
zoomtocustommapdata:

SOAP 1.1

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

POST /webservices/basicmap.asmx HTTP/1.1
Host: citizenatlas.dc.gov
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/atlasapps/basicmap/createMap"

<?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>
    <createMap xmlns="http://tempuri.org/atlasapps/basicmap">
      <mapWidth>int</mapWidth>
      <mapHeight>int</mapHeight>
      <extentXmax>string</extentXmax>
      <extentXmin>string</extentXmin>
      <extentYmax>string</extentYmax>
      <extentYmin>string</extentYmin>
      <currentX>string</currentX>
      <currentY>string</currentY>
      <mapClickX>string</mapClickX>
      <mapClickY>string</mapClickY>
      <mapClickAction>string</mapClickAction>
      <contextMapVisible>string</contextMapVisible>
      <visiblelayers>string</visiblelayers>
      <addcustomdatatomap>string</addcustomdatatomap>
      <zoomtocustommapdata>string</zoomtocustommapdata>
    </createMap>
  </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>
    <createMapResponse xmlns="http://tempuri.org/atlasapps/basicmap">
      <createMapResult>
        <xsd:schema>schema</xsd:schema>xml</createMapResult>
    </createMapResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

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

POST /webservices/basicmap.asmx HTTP/1.1
Host: citizenatlas.dc.gov
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <createMap xmlns="http://tempuri.org/atlasapps/basicmap">
      <mapWidth>int</mapWidth>
      <mapHeight>int</mapHeight>
      <extentXmax>string</extentXmax>
      <extentXmin>string</extentXmin>
      <extentYmax>string</extentYmax>
      <extentYmin>string</extentYmin>
      <currentX>string</currentX>
      <currentY>string</currentY>
      <mapClickX>string</mapClickX>
      <mapClickY>string</mapClickY>
      <mapClickAction>string</mapClickAction>
      <contextMapVisible>string</contextMapVisible>
      <visiblelayers>string</visiblelayers>
      <addcustomdatatomap>string</addcustomdatatomap>
      <zoomtocustommapdata>string</zoomtocustommapdata>
    </createMap>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <createMapResponse xmlns="http://tempuri.org/atlasapps/basicmap">
      <createMapResult>
        <xsd:schema>schema</xsd:schema>xml</createMapResult>
    </createMapResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

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

GET /webservices/basicmap.asmx/createMap?mapWidth=string&mapHeight=string&extentXmax=string&extentXmin=string&extentYmax=string&extentYmin=string&currentX=string&currentY=string&mapClickX=string&mapClickY=string&mapClickAction=string&contextMapVisible=string&visiblelayers=string&addcustomdatatomap=string&zoomtocustommapdata=string HTTP/1.1
Host: citizenatlas.dc.gov
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DataSet xmlns="http://tempuri.org/atlasapps/basicmap">
  <schema xmlns="http://www.w3.org/2001/XMLSchema">schema</schema>xml</DataSet>

HTTP POST

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

POST /webservices/basicmap.asmx/createMap HTTP/1.1
Host: citizenatlas.dc.gov
Content-Type: application/x-www-form-urlencoded
Content-Length: length

mapWidth=string&mapHeight=string&extentXmax=string&extentXmin=string&extentYmax=string&extentYmin=string&currentX=string&currentY=string&mapClickX=string&mapClickY=string&mapClickAction=string&contextMapVisible=string&visiblelayers=string&addcustomdatatomap=string&zoomtocustommapdata=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<DataSet xmlns="http://tempuri.org/atlasapps/basicmap">
  <schema xmlns="http://www.w3.org/2001/XMLSchema">schema</schema>xml</DataSet>