Map Image API Developer's Guide

Heatmaps

User Story

The user wants to obtain a heatmap over a map of Canada.

Request

This example shows a heatmap over Canada. The parameters aN define the area goecoordinates for the heatmap, the parameters radN define the radius of the area, and the parameters lN define the level of heat for the region.

https://image.maps.ls.hereapi.com/mia/1.6/heat
?apiKey={YOUR_API_KEY}
&a0=49.250327,-123.182144
&rad0=3k
&l0=0
&a1=49.250327,-123.182144
&rad1=2k
&l1=1
&a2=49.250327,-123.182144
&rad2=1500
&l2=2
&a3=49.250327,-123.182144
&rad3=1k
&l3=3
&a4=49.21984,-123.150902
&rad4=2k
&l4=0
&a5=49.21984,-123.150902
&rad5=1k
&l5=1
&a6=49.249207,-123.127899
&rad6=2k
&l6=0
&a7=49.249207,-123.127899
&rad7=500
&l7=3
&z=11
&h=200
&op=55
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. Heat maps on Canada