I've recently came across a problem I'm using here maps JS api routing in specifically, and I am trying to add restrictions for example using height or weight. For some reason it ignores it, I'm using fleet telematics tiles as well from HERE, so its showing me relative information regarding here.
my options are:
let routingParameters = {
'routingMode': 'short',
'transportMode': 'truck',
'origin': locationPoints.A.lat+','+locationPoints.A.lon,
'destination': locationPoints.B.lat+','+locationPoints.B.lon,
'truck': {
'height': 600,
'grossWeight': 22000
},
'return': 'polyline,summary'
};
Everything is fine with routing itself, maybe I am missing something? Is there an option to avoid those things?
Logically speaking, it wouldn't be possible to drive trough a 4.5 under tunnel with 6m of height, so it shouldn't be an option even if there wouldnt be a good road for it routing wise.