Show Menu
TOPICS×

map

Image map data.
req=map[,text|{xml[, * encoding *]}|{json[&id= * reqId *]}]
encoding
UTF-8 | UTF-16 | UTF-16LE | UTF-16BE | ISO-8859-1
reqId
Unique request identifier.
Returns catalog::Map without modification when querying a simple catalog entry with no additional commands specified (will not scale to catalog::maxPix ).
If any other commands are specified in the request, a composite image map is returned, which is derived by scaling, cropping, rotating, and layering all catalog::Map and/or map= commands included in the request, just like the image data would be with req=img .
Specify text or omit the second parameter to return the image map data in form of an HTML <AREA> element string with response MIME type text/plain .
Specify xml to format the response as XML instead of HTML. Text encoding can be specified optionally. The default is UTF-8 .
Returns an empty string (or empty <AREA> element) if no map data was found for the specified catalog objects, and/or if no <AREA> elements remain after cropping the images.
The HTTP response is cacheable with the TTL based on catalog::Expiration .
Requests that support JSONP response format lets you specify the name of the JS callback handler using the extended syntax of req= parameter:
req=...,json [&handler = reqHandler ]
<reqHandler> is the name of the JS handler that is present in the JSONP response. Only a-z, A-Z, and 0-9 characters are allowed. Optional. Default is s7jsonResponse .