Map Image API Developer's Guide

Routing Calculation Showing Icons

User Story

The user wants to obtain a map showing the result of a route calculated with provided waypoints.

Request

This example shows the result of calculating a route for New York. The parameters waypointN define the start and end points of the requested route and the parameters poixN define where the route marker icons appear.
https://image.maps.ls.hereapi.com/mia/1.6/routing
?apiKey={YOUR_API_KEY}
&waypoint0=40.7499714,-73.9979574
&waypoint1=40.7456827,-73.9954344
&poix0=40.7499714,-73.9979574;00a3f2;00a3f2;11;.
&poix1=40.7456827,-73.9954344;white;white;11;.
&lc=1652B4
&lw=6
&t=0
&ppi=320
&w=400
&h=600
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 New York, US, displaying the route representation