Map Image API Developer's Guide

Route Display

User Story

The user wants to show two pre-calculated routes over a Berlin map.

Request

This example shows two pre-calculated routes over a Berlin map. The parameters rN define the route drawn on the map and the parameters mN define where the route marker icons appear.
https://image.maps.cit.api.here.com/mia/1.6/route
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&r0=52.5338,13.2966,52.538361,13.325329
&r1=52.540867,13.262444,52.536691,13.264561,
52.529172,13.268337,52.528337,13.273144,
52.52583,13.27898,52.518728,13.279667
&m0=52.5338,13.2966,52.538361,13.325329
&m1=52.540867,13.262444,52.518728,13.279667
&lc0=440000ff
&sc0=440000ff
&lw0=6
&lc1=44ff00ff
&sc1=44ff00ff
&lw1=3

Response

The response to the request delivers the following map image:

Figure 1. A location in Berlin, Germany, displaying the route representation