MPIRouteRenderer

INTERNAL

Types

Functions

Link copied to clipboard
abstract fun apply(points: MutableList<MPPoint>, primaryColor: Int, secondaryColor: Int, bgWidth: Int, fgWidth: Int, animated: Boolean, repeat: Boolean, animationDuration: Long, startViewModel: MPStopModel?, endViewModel: MPStopModel?, stops: List<MPStopModel>?)
Link copied to clipboard
abstract fun clear()
Link copied to clipboard
abstract fun moveCamera(points: MutableList<MPPoint>, animate: Boolean, durationMs: Int, tilt: Float, fitMode: MPCameraViewFitMode)
Link copied to clipboard
abstract fun setRouteStops(stops: MutableList<MPStopModel>)
Link copied to clipboard

Applies the per-route directions renderer style (line/halo/dash/stamp/camera/…). Called immediately before apply.

Link copied to clipboard
abstract fun setStampImage(image: Bitmap?)

Supplies the resolved custom stamp bitmap (from stamp.iconUrl), already fetched and sized off the 24 dp base by MPDirectionsRenderer. Null when the stamp is an arrow preset or none. Called immediately before apply.