Navigation Style
data class NavigationStyle(var radiusMeter: Double? = 5.0, var strokeWidthMeter: Double? = 0.3, var stroke: String? = "#4965E7", var strokeOpacity: Double? = 1.0, var strokeLinecap: String? = "round", var strokeLinejoin: String? = "round", var jumpColor: String? = "#4965E7", var jumpOpacity: Double? = 1.0, var jumpRadiusMeter: Double? = 0.4, var animationTime: Double? = 0.0, var iconSource: String? = null, var iconDestination: String? = null, var velocityOptions: MutableMap<String, Double> = mutableMapOf("foot" to 4.0, "bike" to 10.0, "pushScooter" to 10.0), var navigationStep: Double? = 1.5, var autoZoom: Boolean? = true, var showVoronoy: Boolean? = false) : Parcelable
Constructors
Link copied to clipboard
constructor(radiusMeter: Double? = 5.0, strokeWidthMeter: Double? = 0.3, stroke: String? = "#4965E7", strokeOpacity: Double? = 1.0, strokeLinecap: String? = "round", strokeLinejoin: String? = "round", jumpColor: String? = "#4965E7", jumpOpacity: Double? = 1.0, jumpRadiusMeter: Double? = 0.4, animationTime: Double? = 0.0, iconSource: String? = null, iconDestination: String? = null, velocityOptions: MutableMap<String, Double> = mutableMapOf("foot" to 4.0, "bike" to 10.0, "pushScooter" to 10.0), navigationStep: Double? = 1.5, autoZoom: Boolean? = true, showVoronoy: Boolean? = false)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
unit in meters to divide the navigation in steps
Link copied to clipboard
Link copied to clipboard
debug capability to see the steps when in navigation mode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
dictionary of target velocity calculation, the velocity is expressed in km/h