Electric vehicles have a limited reachable range based on their current battery charge and factors affecting the rate of energy consumed, such as road slope or auxiliary power usage. Therefore, it is useful to visualize the appropriate range to avoid running out of energy before reaching a charging point.
A consumption based isoline, can be requested using
range[type]=consumption and providing
range[values] in Wh. Since vehicles have unique consumption parameters, they are to be specified in the request for an accurate range to be calculated. For more information, see Consumption model.
curl -X GET \ 'https://isoline.router.hereapi.com/v8/isolines?origin=52.532988,13.352852&range[type]=consumption&range[values]=20000&transportMode=car&ev[freeFlowSpeedTable]=0,0.239,27,0.239,45,0.259,60,0.196,75,0.207,90,0.238,100,0.26,110,0.296,120,0.337,130,0.351,250,0.351&ev[trafficSpeedTable]=0,0.349,27,0.319,45,0.329,60,0.266,75,0.287,90,0.318,100,0.33,110,0.335,120,0.35,130,0.36,250,0.36&ev[ascent]=9&ev[descent]=4.3&ev[auxiliaryConsumption]=1.8'