routes property
Get access to the collection of visible routes.
Returns
- The routes collection
Throws
- An exception if it fails.
Implementation
MapViewRoutesCollection get routes {
if (_routes == null) {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewPreferences',
'routes',
);
_routes = MapViewRoutesCollection.init(resultString['result'], _mapId);
}
return _routes!;
}