NavigationLayer class abstract
- Implemented types
Constructors
Properties
- camera → Camera
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isVisible ↔ bool
-
getter/setter pair
- mode → NavigationLayerMode
-
Current view mode
no setter
-
no setter
-
routes
→ List<
RouteView> -
Routes representation on the map.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showRequestPoints ↔ bool
-
Enabled by default.
getter/setter pair
Methods
-
addBalloonViewListener(
BalloonViewListener balloonListener) → void - The class does not retain the object in the 'balloonListener' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.
-
addListener(
→ void ) - The class does not retain the object in the 'navigationLayerListener' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.
-
addPlacemarkTapListener(
NavigationLayerPlacemarkTapListener roadEventsListener) → void - The class does not retain the object in the 'roadEventsListener' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.
-
addRequestPointListener(
RequestPointListener requestPointListener) → void - Add this listener if you wish to handle taps on request points.
-
addRouteViewListener(
RouteViewListener routeViewListener) → void - Add this listener if you wish to handle taps on routes.
-
deselectRequestPoint(
) → void - Deselects selected request point if any.
-
deselectRoadEvent(
) → void -
getView(
DrivingRoute route) → RouteView? - Find appearance of route.
-
is2DMode(
) → bool - When in 2D mode: - map is switched to 2D mode - 'Free' and 'Following' camera modes have zero tilt - tilt changing gestures are disabled
-
isValid(
) → bool - Usable only in runWithBlockUi or listener handlers.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refreshStyle(
) → void - Force refresh style for all navigation layer objects.
-
removeBalloonViewListener(
BalloonViewListener balloonListener) → void -
removeFromMap(
) → void - Removes layer from map. No further operations with layer should be performed.
-
removeListener(
→ void ) -
removePlacemarkTapListener(
NavigationLayerPlacemarkTapListener roaadEventsListener) → void - The class does not retain the object in the 'roaadEventsListener' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.
-
removeRequestPointListener(
RequestPointListener requestPointListener) → void -
removeRouteViewListener(
RouteViewListener routeViewListener) → void -
selectedRoute(
) → RouteView? -
selectRequestPoint(
int requestPointIndex) → void - Selects a request point with specified index. Only one point can be selected at a time. If some other point is selected already, it will be deselected.
-
selectRoadEvent(
String eventId) → void -
selectRoute(
RouteView? route) → void - NavigationLayer will try to show as much info as possible about selected route. For example if road event placemarks from different routes overlap, road event from selected route will be displayed, conflict will be hidden. None or one route can be selected at the same time. Pass nil/null to unselect route. Can be used only if mode() == NavigationLayerMode.RouteSelection
-
set2DMode(
bool enabled) → void -
setRoadEventVisibleOnRoute(
RoadEventsEventTag tag, {required bool on}) → void - Sets road events on route tag visibility. Setting local chats visibility will also set visibility for ordinary chats and vice versa. None are visible by default.
-
setShowBalloonsGeometry(
bool enabled) → void - for debug usage only
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited