Request an Interaction Tile with Base64 Encoded Image

The user wants to see venue information for Union Station in Chicago, USA but they also want to be able to interact with the map. They want to be able to click or touch parts of the map to get more information about specific areas.

However, you might want to make as fewer requests as possible to fulfill this requirement. Ideally, you want to get the image and medata in one request.

In this case, you need to request an interaction tile with a base64 encoded image.

Request

This is an example on how to get an Interaction Tile with base64 encoded image.

Response

This request returns a similar JSON response to the request for a pure interaction tile. However, it also contains that a property for the base64 encoded image.

Additionally, it includes objects for "area" and "object". The area object contains coordinates for polygon vertices . This polgyon defines the shape of each area. The "object" object contains metadata about area such as the type and category.