Venue Maps API Developer's Guide

Interaction Tiles with base64 encoded image

A Venue Interaction Tile with base64 encoded image is a set of metadata in JSON format that is associated with a map tile image, the the tile image is embedded in the file. It specifies an array of areas and data associated with each area.

Request

Table 1. Basic elements of the request.
Element Value/Example Description
Base URL

http://static-{1-4}.venue.maps.api.here.com

http://static-{1-4}.venue.maps.cit.api.here.com

Production environment

Customer Integration Testing environment

Access

0

Feature access parameter 0 - provides access to standard feature in resource; hence: tiles-ia-b64
Resource

tiles-ia-b64

GET only, specify request details via query parameters

Level L{n} n is the number value of the floor level which is requested for the venue.
Application Code app_code={YOUR_APP_CODE} Substitute your own unique Application Code
Application Id app_id={YOUR_APP_ID} Substitute your own unique Application Id
Signature Signature=<Signature-value> Substitute your unique Signature
Key-Pair-Id Key-Pair-Id=<Key-Pair-Id-value> Substitute your unique Key-Pair-Id
Policy Policy=<Policy-value> Substitute your unique Policy

Example

Sample Request:

http://static-3.venue.maps.cit.api.here.com/0/tiles-ia-b64/L0/03022223103013033.js?
  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}

Sample Response:

JSON.venues("0_17_33627_48715", {
  "image": "iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAhuklEQVR4nO2dS/AdxXXGvf...",
  "mambers": [
    {
      "area": [
        182, 69, 182, 85, ...
      ],
      "object": {
        "id": "Lv25710Ds_1914895",
        "preview": "Platform 21",
        "placeId": "",
        "type": "space/polygon"
      }
    },
    {
      "area": [
        74, 145, ...
      ],
      "object": {
        "id": "Lv25710Ds_1914919",
        "preview": "Shoe Shine Service",
        "placeId": "",
        "type": "space/polygon"
      }
    },
    ...
    {
      "area": [
        109, 191, 128, 190, 128, 205, 130, 205, 130, 190, 134, ...
      ],
      "object": {
        "id": "Lv25710Ds_1908939_d",
        "center": [
          41.878688,
          -87.6397015
        ],
        "preview": "Concourse Level",
        "minZoomLevel": 17,
        "placeId": "",
        "buildingPreview": "Union Station Chicago",
        "buildingMaxLevel": 1,
        "buildingMinLevel": 0,
        "type": "floor/polygon",
        "buildingId": "DM_12321"
      }
    }
  ]
});

Response Attributes

Attribute Type Description
image String tile image encoded in base64
members Array an array of IATileMember objects

Members Array Attributes

Attribute Type Description
area Array Coordinates of polygon represented by IATileMember. Coordinates given in pixels relative to top left (North West) corner of the tile in a format [x0, y0, ..., xN, yN]. The polygon is assumed to be closed, so the last point xN, yN need not be the same as the first x0, y0.
object { Space | Floor } IATileMember IATileMember metadata

Output File Types

The resource tiles-ia-b64 is offered in

Resource Compression type File suffix
image and metadata of a map tile in JSON Format wrapped in JavaScript function call JSON.venues uncompressed .js
image and metadata of a map tile in JSON Format wrapped in JavaScript function call JSON.venues zip compression .js.zip
image and metadata of a map tile in JSON Format wrapped in JavaScript function call JSON.venues gzip compression .js.gz

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.