Map Tile API Developer's Guide

Quick Start

This article demonstrates the simplest way to use the Map Tile API.

Map Tile Resources

The Map Tile API uses different URLs to provide different map tiles, depending on the specific use case.

The resources are explained in detail in the Map Tile Resources and URL usage, but here is a simple overview:
  • Base: provides map tiles using the map as a background
  • Aerial: provides map tiles using satellite images as a background
  • Pano: provides map tiles using map and panorama coverage as a background
  • Traffic: provides map tiles with a traffic flow overlay

Making the First Request

The simplest request scenario is to obtain the most up-to-date day-time map image that includes a particular location.

The Map Tile API uses a grid of map tiles that, combined, form a complete map of the world using the Normalized Mercator projection.

Thus, a request corresponding to the simple scenario above must provide:

  • the unique URL of the API resource that is to process the request for a map image
  • path variables that specify the details of the request (zoom level, map tile location in the grid, etc.)
  • authentication parameters

The authentication parameters are app_id and app_code. Their values are the authentication credentials required for access to the API resources. For further information, see Acquiring Credentials.

The examples below show requests for a map tile at zoom level 13, located in the 4400th column and the 2686th row in the tile grid for the different URLs (to understand how these tile coordinates were obtained, see The Mercator Projection). The tile resolution is 256x256 pixels, and the tile format is PNG8.

The responses show a tile for each of the supported URLs.

https://1.base.maps.cit.api.here.com/maptile/2.1/maptile/newest/normal.day/13/4400/2686/256/png8
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}

The response from the base URL delivers a map tile image of part of Berlin, Germany.

Figure 1. Map-based image of a location in Berlin, Germany from the base URL
https://1.aerial.maps.cit.api.here.com
/maptile/2.1/maptile/newest/hybrid.day/13/4400/2686/256/png8
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}

The response from the aerial URL delivers a map tile image of part of Berlin, Germany.

Figure 2. Satellite-based image of a location in Berlin, Germany from the aerial URL
https://1.pano.maps.cit.api.here.com
/maptile/2.1/rctile/newest/normal.day/13/4400/2686/256/png8
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}

The response from the pano URL delivers a map tile image of part of Berlin, Germany.

Figure 3. Panorama coverage image of a location in Berlin, Germany from the pano URL
https://1.traffic.maps.cit.api.here.com
/maptile/2.1/traffictile/newest/normal.day/13/4400/2686/256/png8
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}

The response from the traffic URL delivers a map tile image including traffic for part of Berlin, Germany.

Figure 4. A map-based image with traffic of a location in Berlin, Germany from the traffic URL

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.