GetMap Reference

Service to render layer(s) to use with Bing Maps, Google Maps, or any other type of map application.


Input

Parameter nameTypeDescription
layersComma separated alpha-numeric string(Required) List of layers to render. The order in which the layers are specified are the order in which they are rendered.
tileIDBing Maps quadkey Required if bbox is empty. Bing TileID. Ex. '0111110111011110'
colorString Color (in hex) of the parcel tiles. Only used alongside tileID. Format RRGGBB. Ex. FF0000 colors the parcel lines red.
bboxString Required if tileID is empty. Geographic bounding box of an image. (minx, miny, maxx, maxy) Ex. '-117,33,-116.999,33.1'
SRSString Spatial reference system. E.g. EPSG:4362.
widthInteger Image width in pixels. Default: 256.
heightInteger Image height in pixels. Default: 256.
formatString Return type of the image. Currently, only png images are supported and is the default. ex. 'image/png'
SLDString Styled layer descriptor url. A url to an SLD file can be specified to change how the image is rendered. The URL must not contain commas itself. The value can be comma-separated, with each URL corresponding to each layer in layers.
SLD_bodyString Styled layer descriptor text. The sld text can be used to change how the image is rendered. Only one SLD_body can be specified. Use NamedLayers if you want to apply this SLD to multiple layers.
viewInTimeString Format (optional hh:mm:ss): YYYY-MM-DD hh:mm:ss. Uses a snapshot of matching records at the specified point in time to render the layers.
activeVersionIdAlpha-numeric string Query will be performed on published records and records pending by the specified active version ID.
showFieldAlpha-numeric string The field used in the show list (see showValues.) Cannot be used alongside with hideField.
showValuesComma separated alpha-numeric string Show list. Contains comma-separated values. Records that match this list are the only ones that will be rendered.
hideFieldAlpha-numeric string The field used in the hide list (see hideValues.) Cannot be used alongside with showField.
hideValuesComma separated alpha-numeric string Hide list. Contains comma-separated values. Records that match this list are excluded on render.
hotspotBoolean Set to true to enable a Hotspot Identify request.
hotspotFieldAlpha-numeric string The key field to use when using Hotspot Identify. Default '_DMP_ID'.
tempCacheBoolean Set to true (along with hotspot) to get back a unique ID for Hotspot Identify request.
attributeLinksComma separated alpha-numeric string A list of Links (see Resource Chaining) that correspond to each layer in layers. These Links will be used as attributes when applying styles. Only one attribute link is allowed per layer.
queryString A comma-separated SQL attribute criteria corresponding to each layer listed in layers. Only works for DB layers. To specify null queries, input only the comma. Ensure the percent character '%' is URL encoded to "%25". E.g. layers=parcels,propertyInfo,listings&query=APN=123,,type like 'CON%25'.
isEncodedBoolean Set to true if there are characters in the URL that have (without quotes) "._-" in it. This sequence of characters will be replaced with '%'. The URL is encoded this way if the request came from DMP's AJAX client.
outputString The output type for the page. Possible types include 'XML', 'JSON', 'JSONXML', 'HTML', and 'CUSTOM'.
obsIdString (Required for JSON/JSONXML output) The object listening for the JSON callback.
obsSuccessMethodString (Required for JSON/JSONXML output) The JSON success callback function.
obsErrorMethodString (Required for JSON/JSONXML output) The JSON error callback function.
transformerString (Required for CUSTOM output) The XSLT to use to transform the XML output.



Output

A raster image (currently only PNG) of the specified layers. Or if tempCache and hotspot are true, a unique ID (in XML format) to be used in conjunction with Identify.