Map Tile API Developer's Guide

More than One Tile

The user wants to obtain several tiles in a single request.

Request

In this request, range specifies the size of the array of tiles in the response. All requests using range must also specify output to obtain base64 tiles in a JSON object.

https://2.base.maps.cit.api.here.com/maptile/2.1/maptile/newest/normal.day/19/83870/202622/256/png8
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&output=base64
&range=2x2
Note: You can combine ranged requests with any other parameter. For example, it is valid to request a tile with pois and range=2x2 to get four tiles with poi information on them.

Response

The response is a JSON object with the following content:

  • four tiles (range is 2x2)
  • base64 encoded tiles (output is base64)
"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAADAFBMVEUnJyekpKT ...",
"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAADAFBMVEVIX2zg1tX ...",
"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAACnVBMVEUAAADZ0cz ...",
"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAADAFBMVEW3rq708/P ..."