Requesting an Interaction Tile
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.
After you request an image tile, you also need to request an interaction tile of which contains extra metadata about a specific part of the venue.
Request
The following example shows a request for an interaction tile for Union Station in Chicago, USA.
http://static-3.venue.maps.api.here.com/0/tiles-ia/L0/03022223103013033.json?
Policy={YOUR_GENERATED_POLICY}
&Signature={YOUR_GENERATED_SIGNATURE}
&Key-Pair-Id={YOUR_GENERATED_KEY_PAIR_ID}
&app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
Response
This request returns a JSON response that 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.
[
{"area":[248,254,249,254,250,254,251,254,252,254,253,254,254,253,255,253,
256,254,260,252,261,253,262,252,265,252,265,251,266,251,267,251,
268,251,268,252,269,252,270,253,270,252,272,251,271,250,272,249,
272,248,273,246,271,245,270,245,267,245,266,245,265,246,263,247,
261,247,259,248,257,249,254,250,252,251,249,252,247,253,246,253,
247,254],
"object":
{
"id":"Lv24319Ds_1795349",
"category":{"id":"24"},
"preview":"PlayArea",
"outerAreaId":"Lv24319Ds_1795319_d",
"type":"space/polygon",
"contentId":"1111313"}},
{"area":[237,257,236,258,235,259,236,260,236,261,237,262,238,262,239,262,
240,262,240,261,241,262,242,261,243,261,244,261,245,259,246,259,
247,258,247,257,247,256,246,256,246,255,246,254,245,254,244,254,
243,255,242,256,241,256,240,256,239,257,238,258,238,257],
"object":
{
"id":"Lv24319Ds_1795354",
"category":{"id":"99999"},
"preview":"Children's BoatingPond",
"outerAreaId":"Lv24319Ds_1795319_d",
"type":"space/polygon",
"contentId":"1110676"
}
}....