clear method
void
clear()
Remove all routes from the collection.
After calling this method the map will no longer display any routes managed by this collection.
See also:
- clearAllButMainRoute — Remove all secondary routes, leaving the main route in the collection.
Implementation
void clear() {
objectMethod(
pointerId,
'MapViewRouteCollection',
'clear',
dependencyId: mapPointerId,
);
}