map 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 (does not scale to catalog::maxPix).

If any other commands are specified in the request, a composite image map is returned. The composite image map 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 so you can return the image map data in form of an HTML <AREA> element string with response MIME type text/plain.

Specify xml so you can 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 ]

The <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. The default is s7jsonResponse.

See Image Maps.

recommendation-more-help
a26166cd-f2f4-45ce-996d-96a0f0d6cf49