MPDirections Renderer
open class MPDirectionsRenderer : DirectionsRenderer, ValueAnimator.AnimatorUpdateListener
Content copied to clipboard
+ Implementation of the DirectionsRenderer interface
Author
Martin Hansen
Constructors
Link copied to clipboard
open fun MPDirectionsRenderer( @NonNull context: Context, @NonNull map: GoogleMap, @Nullable mMapControl: MapControl, @Nullable legSelectedListener: OnLegSelectedListener)
Content copied to clipboard
Functions
Link copied to clipboard
This method enables or disables tilt in the camera when viewing the route.
Link copied to clipboard
Link copied to clipboard
Returns the floor of the current leg
Link copied to clipboard
Link copied to clipboard
Selects the previous leg is possible.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This boolean enables the default camera animation behavior.
Link copied to clipboard
Set an end icon for the directions renderer.
Link copied to clipboard
This boolean enables animation for the route Polyline.
Link copied to clipboard
Link copied to clipboard
Set the (zero-based) index of the route in the DirectionsResult object to render.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun useContentOfNearbyLocations(@Nullable mpContextualInfoSettings: MPContextualInfoSettings)
Content copied to clipboard
If set, we will show labels and icons from nearby Locations as additional contextual information about the end positions of the rendered route segment.