Map Tile API Developer's Guide

Metainfo Tiles with POIs

This article shows example usage of metainfo tile for displaying and interaction with POIs.

User story

In order to make POIs on the map interactive (display additional info upon selection, etc.) user obtains metadata information about an image, showing a map tile that includes POIs.

Original map tile

Given the following request:

The response to the request delivers the following image:

Figure 1. Map tile with POI

This tile contains a POI - Zoological Garden in Berlin (near the top left corner). When the user wants to find out more information about it they can use the following request:

Metainfo Tile Request

The code block below demonstrates a complete request for a metadata map tile:

Processing Metainfo Tile Response

The response to the request delivers the following Metainfo tile as a JSON object (response is suppressed to show only relevant POIs data):

{ "metadata" : {
"street labels":[ ... ],
"labels":[ ... ],
"city center labels":[],
"buildings":[  ],
"transit stops":[  ],
"POIs":[ { "name":"Zoological Garden","geoposition":{"latitude":52.508211, "longitude":13.334570},"bounding boxes":[ { "box 1":[ 217, 35.75, 14, 14 ] }, { "box 2":[ 199.86, 13.75, 48.28, 20.50 ] } ],"info": [{"PLACE NAME":"Zoological Garden", "PLACE PHONE NUMBER":"+(49)-30-254010", "PLACE CATEGORY":"Tourist Attraction", "PLACE ID":"50668488"}] } ]

This information allows to locate POI's icon and label in order to make them interactive. For this you can use elements of "bounding boxes" array: "box 1" describes a bounding box for icon, "box 2" describes a bounding box for text label.

Geographical coordinates of POI is exposed as a "geoposition" object of metainfo JSON. This can be used to obtain the address of POI, e.g. using Reverse Geocoding:
  <Label>Hardenbergplatz, 10623 Berlin, Deutschland</Label>
  <AdditionalData key="CountryName">Deutschland</AdditionalData>
  <AdditionalData key="StateName">Berlin</AdditionalData>
One can also display some additional information regarding POI (e.g. using info bubble). This information is provided by "info" JSON object:
  • name ("PLACE NAME" attribute)
  • category ("PLACE CATEGORY" attribute)
  • phone number ("PLACE PHONE NUMBER" attribute)
  • place id ("PLACE ID" attribute)

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