Map Image API Developer's Guide

Showing POIs

User Story

The user wants to obtain a map view displaying POIs.

Request

This example shows POIs without merging intersecting POIs within a map in Berlin, Germany. The POIs are provided in the value to the parameter poi as a sequence of latitude and longitude pairs, following the pattern lat1, lon1, lat2, lon2, lat3, lon3, ...
https://image.maps.ls.hereapi.com/mia/1.6/mapview
?apiKey={YOUR_API_KEY}
&poi=52.52,13.39,52.52,13.38,52.5253,13.386
&w=400
&h=300
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. A location in Berlin, Germany, displaying POIs