Journey

data class Journey @JvmOverloads() constructor(connectionTemplateString: String?, destinationMarkerTemplateString: String?, departureMarkerTemplateString: String?, pathOptions: MPIOptions.Path?, polygonHighlightColor: String?)

Journey holds the properties of journey when drawing jouney

Constructors

Journey
Link copied to clipboard
fun Journey(connectionTemplateString: String? = null, destinationMarkerTemplateString: String? = null, departureMarkerTemplateString: String? = null, pathOptions: MPIOptions.Path? = null, polygonHighlightColor: String? = null)

Functions

component1
Link copied to clipboard
operator fun component1(): String?
component2
Link copied to clipboard
operator fun component2(): String?
component3
Link copied to clipboard
operator fun component3(): String?
component4
Link copied to clipboard
operator fun component4(): MPIOptions.Path?
component5
Link copied to clipboard
operator fun component5(): String?
copy
Link copied to clipboard
fun copy(connectionTemplateString: String? = null, destinationMarkerTemplateString: String? = null, departureMarkerTemplateString: String? = null, pathOptions: MPIOptions.Path? = null, polygonHighlightColor: String? = null): MPIOptions.Journey
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

connectionTemplateString
Link copied to clipboard
val connectionTemplateString: String? = null
Custom navigation markers
departureMarkerTemplateString
Link copied to clipboard
val departureMarkerTemplateString: String? = null
Custom departure marker
destinationMarkerTemplateString
Link copied to clipboard
val destinationMarkerTemplateString: String? = null
Custom destination marker
pathOptions
Link copied to clipboard
val pathOptions: MPIOptions.Path? = null
Custom path to be drawn
polygonHighlightColor
Link copied to clipboard
val polygonHighlightColor: String? = null
Highlighted color of polygons when it is selected