string: The color of the route (optional)
string: The departure time as an ISO 8601 date time string (optional)
boolean: If true, keep the route location centered on the map (optional)
boolean: enable or disable the route from participating in time animations (optional)
string: The id of the route. This is either the text name, the internal id, or a regular expression. (See id, below)
number: The speed of the route in knots (optional)
{
"id": "route 1",
"color": "#ff0000",
"speed": 5,
"depart": "2024-05-23T22:01:01.132Z",
"enabled": true,
"enableLockToMap": true
}
Change the properties of a route.