addMapViewRoute method
- MapViewRoute route
Add or update a route in the collection.
If the route already exists in the collection, it will be updated with the new settings.
Parameters
- IN route The route to be added / updated.
Throws
- An exception if it fails.
Implementation
void addMapViewRoute(final MapViewRoute route) {
objectMethod(
pointerId,
'MapViewRouteCollection',
'add',
args: route.pointerId,
);
}