Map Image API Developer's Guide

Using Pixel Density Parameters (default)

User Story

The user wants to obtain a map view using default ppi.

Request

This example shows a request for a map image with the picture density of 72 pixels per inch. The picture density is defined by the parameter ppi.
Note: Please keep in mind that 72 is the default value, so there is no need to pass this value in the request.
https://image.maps.ls.hereapi.com/mia/1.6/mapview
?apiKey={YOUR_API_KEY}
&ppi=72
&sb=km
&w=400
&h=200
&z=12
&c=41.65,-0.883333
Note: This example uses a HERE API Key to authenticate your request. For information on other possible options, see Authentication Guide. For examples of how to use the other authentication options with the Map Image API, see Authentication Examples.

Response

The response to the request delivers the following map image:

Figure 1. Request using default (72) ppi