Map Tile API Developer's Guide

Hires Normal Day Tile

This article shows how to make a request for a hires map tile.

This kind of request can be used for devices designed for hires.

Use of the parameter ppi can be combined with tiles of size 512 by 512 512 pixel Normal Day Tile

User story

The user wants to obtain a hires map image of the center of Madrid. The tile requested uses the parameter ppi.

Note: Please note that the value used for ppi in this example is 320 which corresponds with hires but 250 is accepted as well and is recommended for mobile devices that are not designed for hires.

Request Summary

The following list summarizes the elements required to create a request matching the user story and shows, in square brackets, how those elements are used in the example(s) below. Note that the request example also uses the authentication parameters.

Resource: maptile [maptile], see also (resource) type
URL variables: {map id} [newest], see also Requesting the Right Map Version
  {scheme} [normal.day], see also scheme
  {zoom}/{column}/{row} [18/128369/98837], see also The Mercator Projection
  {size} [256], see also size
  {format} [png8], see also format
Parameters: ppi = ?ppi=320, see also ppi

Request

The code block below demonstrates a complete request for a map tile.

https://2.base.maps.cit.api.here.com
/maptile/2.1/maptile/newest/normal.day/18/128369/98837/256/png8
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&ppi=320

Response

The response to the request delivers the following map image of central Madrid:

Figure 1. Hires Normal Day Tile