Inheritance diagram for com.navigine.idl.java.internal.RouteLayerBinding:Public Member Functions | |
| native boolean | isValid () |
| void | setVisible (boolean visible) |
| Shows or hides the route layer. | |
| boolean | isVisible () |
| Returns true if the route layer is visible. | |
| void | setTarget (RouteEndpoint target) |
| Starts turn-by-turn guidance to the target from the current position. | |
| void | setRoute (RouteEndpoint from, RouteEndpoint to) |
| Builds and shows a static route between two points (no live guidance). | |
| void | clear () |
| Cancels guidance / static route and removes polylines from the map. | |
| ArrayList< RouteView > | routes () |
| Returns currently rendered routes. V1 exposes a single active route. | |
| RouteView | selectedRoute () |
| Returns selected route view, or null when no route is selected. | |
| void | selectRoute (RouteView route) |
| Selects the provided route view. Pass null to clear selection. | |
| void | addRouteLayerListener (RouteLayerListener listener) |
| Adds listener for route lifecycle, progress and target reach events. | |
| void | removeRouteLayerListener (RouteLayerListener listener) |
| Removes previously added route layer listener. | |
| void | addRouteViewListener (RouteViewListener listener) |
| Adds listener for route view list, selection and tap events. | |
| void | removeRouteViewListener (RouteViewListener listener) |
| Removes previously added route view listener. | |
| void | setTraveledColor (int color) |
| Sets traveled (passed) route polyline color. | |
| void | setRemainingColor (int color) |
| Sets remaining route polyline color. | |
| void | setWidth (float width) |
| Sets route polyline width in pixels (also used as default dotted point size). | |
| void | setRemainingStyle (RouteRemainingStyle style) |
| Sets rendering style for the remaining route. | |
| RouteRemainingStyle | remainingStyle () |
| Returns the remaining route rendering style. | |
| void | setRemainingDashLength (float dashLength) |
| Sets dash length for DASHED remaining style. Use 0 to disable dashing. | |
| void | setRemainingGapLength (float gapLength) |
| Sets gap length for DASHED remaining style. Use 0 to disable dashing. | |
| void | setRemainingPointSize (float width, float height) |
| Sets point size for DOTTED remaining style. | |
| void | setRemainingPlacement (Placement placement) |
| Sets point placement mode for DOTTED remaining style. | |
| void | setRemainingPlacementSpacing (float spacing) |
| Sets spacing between points for DOTTED + SPACED placement (pixels). | |
| void | setRemainingPlacementMinRatio (float ratio) |
| Sets minimum polyline length ratio for DOTTED placement. | |
| void | setRemainingCollisionEnabled (boolean enabled) |
| Enables or disables collision for DOTTED remaining points. | |
Protected Attributes | |
| Subscription< RouteLayerListener > | weakRouteLayerListenerSubscription |
| Subscription< RouteViewListener > | weakRouteViewListenerSubscription |
Definition at line 18 of file RouteLayerBinding.java.
|
inline |
Adds listener for route lifecycle, progress and target reach events.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 105 of file RouteLayerBinding.java.
|
inline |
Adds listener for route view list, selection and tap events.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 119 of file RouteLayerBinding.java.
|
inline |
Cancels guidance / static route and removes polylines from the map.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 77 of file RouteLayerBinding.java.
| native boolean com.navigine.idl.java.internal.RouteLayerBinding.isValid | ( | ) |
Tells if this RouteLayer is valid or not. Any other method (except for this one) called on an invalid RouteLayer will throw java.lang.RuntimeException.
Reimplemented from com.navigine.idl.java.RouteLayer.
|
inline |
Returns true if the route layer is visible.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 56 of file RouteLayerBinding.java.
|
inline |
Returns the remaining route rendering style.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 161 of file RouteLayerBinding.java.
|
inline |
Removes previously added route layer listener.
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 112 of file RouteLayerBinding.java.
|
inline |
Removes previously added route view listener.
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 126 of file RouteLayerBinding.java.
|
inline |
Returns currently rendered routes. V1 exposes a single active route.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 84 of file RouteLayerBinding.java.
|
inline |
Returns selected route view, or null when no route is selected.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 91 of file RouteLayerBinding.java.
|
inline |
Selects the provided route view. Pass null to clear selection.
| route | Route view from routes, or null. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 98 of file RouteLayerBinding.java.
|
inline |
Enables or disables collision for DOTTED remaining points.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 210 of file RouteLayerBinding.java.
|
inline |
Sets remaining route polyline color.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 140 of file RouteLayerBinding.java.
|
inline |
Sets dash length for DASHED remaining style. Use 0 to disable dashing.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 168 of file RouteLayerBinding.java.
|
inline |
Sets gap length for DASHED remaining style. Use 0 to disable dashing.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 175 of file RouteLayerBinding.java.
|
inline |
Sets point placement mode for DOTTED remaining style.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 189 of file RouteLayerBinding.java.
|
inline |
Sets minimum polyline length ratio for DOTTED placement.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 203 of file RouteLayerBinding.java.
|
inline |
Sets spacing between points for DOTTED + SPACED placement (pixels).
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 196 of file RouteLayerBinding.java.
|
inline |
Sets point size for DOTTED remaining style.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 182 of file RouteLayerBinding.java.
|
inline |
Sets rendering style for the remaining route.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 154 of file RouteLayerBinding.java.
|
inline |
Builds and shows a static route between two points (no live guidance).
| from | Route start endpoint. |
| to | Route finish endpoint. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 70 of file RouteLayerBinding.java.
|
inline |
Starts turn-by-turn guidance to the target from the current position.
| target | Destination endpoint. Route and progress are updated automatically. |
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 63 of file RouteLayerBinding.java.
|
inline |
Sets traveled (passed) route polyline color.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 133 of file RouteLayerBinding.java.
|
inline |
Shows or hides the route layer.
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 49 of file RouteLayerBinding.java.
|
inline |
Sets route polyline width in pixels (also used as default dotted point size).
Java code snippet:
Kotlin code snippet:
Reimplemented from com.navigine.idl.java.RouteLayer.
Definition at line 147 of file RouteLayerBinding.java.
|
protected |
Definition at line 27 of file RouteLayerBinding.java.
|
protected |
Definition at line 35 of file RouteLayerBinding.java.