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.ls.hereapi.com/maptile/2.1/maptile/newest/normal.day/19/83870/202622/256/png8
?apiKey={YOUR_API_KEY}
&output=base64
&range=2x2
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 ..."