Requesting a Consumption-Based Isoline
Electric vehicles have a limited range, which means it is important to be able to visualize the appropriate range to avoid running out of energy before reaching a charging point. Ranges are determined by the current battery charge and factors affecting the rate of energy consumption such as road slope or auxiliary power usage. The resource CalculateIsoline
allows you to make a range prediction. To calculate a consumption-based isoline, specify the value consumption
for the query parameter rangeType
in your request. Since vehicles have unique consumption parameters, you must specify a value for the query parameter consumptionModel
for an accurate range to be calculated. For more details, see Standard consumption model.
The fastest mode reflects normal driving behavior where drivers want to drive the fastest possible route. These kinds of requests answer the question: how can I get somewhere by driving in the least possible time?
https://isoline.route.ls.hereapi.com/routing/7.2/calculateisoline.json
?apiKey={YOUR_API_KEY}
&mode=fastest;car;traffic:disabled
&rangetype=consumption
&start=geo!52.52514,13.4034
&range=20000
&consumptionmodel=standard
&customconsumptiondetails=
speed,0,1.7,10,1.4,30,1.1,50,1.0,70,1.1,100,1.2,120,1.4,140,1.8;
ascent,30.0;descent,10.0
