Here's a ridiculous example - depending on the swith in line 15 the truck attributes consideration is disabled but only within Germany and Luxemburg:
Code: Select all
{
"requestProfile":{
"featureLayerProfile":{
"themes":[
{
"id": "PTV_TruckAttributes",
"enabled":true,
"countrySpecificParameters":[
{
"id":"DE,LU",
"enabled":true,
"rules":[
{
"id":"ALL",
"enabled":false
}
]
}
]
}
]
}
},
"waypoints": [
{
"$type": "OffRoadWaypoint",
"location": {
"offRoadCoordinate": {
"x": 6.22029,
"y": 49.61513
}
}
},
{
"$type": "OffRoadWaypoint",
"location": {
"offRoadCoordinate": {
"x": 6.06479,
"y": 49.62127
}
}
}
],
"resultFields": {
"eventTypes": [
"MANEUVER_EVENT"
],
"polyline": true
}
}