M P I Options
open class MPIOptions
Content copied to clipboard
This class holds the options
Constructors
MPIOptions
Link copied to clipboard
fun MPIOptions()
Content copied to clipboard
Types
ConnectionPath
Link copied to clipboard
data class ConnectionPath @JvmOverloads() constructor(drawDuration: Double?, nearRadius: Double?, farRadius: Double?, color: String?)
Content copied to clipboard
Focus
Link copied to clipboard
data class Focus @JvmOverloads() constructor(nodes: List<MPINavigatable.MPINode>?, polygons: List<MPINavigatable.MPIPolygon>?, duration: Double?, changeZoom: Boolean?, minZoom: Double?, tilt: Double?, padding: MPIOptions.FocusPadding?, focusZoomFactor: Double?)
Content copied to clipboard
Focus holds the properties of values to be set when focus on is called
FocusPadding
Link copied to clipboard
data class FocusPadding(top: Double, bottom: Double, left: Double, right: Double)
Content copied to clipboard
Init
Link copied to clipboard
Journey
Link copied to clipboard
data class Journey @JvmOverloads() constructor(connectionTemplateString: String?, destinationMarkerTemplateString: String?, departureMarkerTemplateString: String?, pathOptions: MPIOptions.Path?, polygonHighlightColor: String?)
Content copied to clipboard
Journey holds the properties of journey when drawing jouney
Label
Link copied to clipboard
data class Label @JvmOverloads() constructor(activeColor: String?, inactiveColor: String?, maxTextDivWidth: Double?, minTextDivWidth: Double?, markerSize: Double?, textSize: Double?, color: String?, textLines: Double?, text: String, shortText: String?, stateText: String?, rank: Double?, appearance: MPIOptions.LabelAppearance?)
Content copied to clipboard
Label holds the properties of smart labels to be set when setting labels to polygons
LabelAllLocations
Link copied to clipboard
data class LabelAllLocations @JvmOverloads() constructor(appearance: MPIOptions.LabelAppearance?, locations: List<String>?)
Content copied to clipboard
LabelAllLocations holds the properties of smart labels to be set at a collection of locations
LabelAppearance
Link copied to clipboard
data class LabelAppearance @JvmOverloads() constructor(margin: Double?, text: MPIOptions.LabelAppearance.Text?, marker: MPIOptions.LabelAppearance.Marker?)
Content copied to clipboard
LabelAppearance holds the appearance properties of smart labels to be set when labeling polygons
Marker
Link copied to clipboard
MARKER_ANCHOR
Link copied to clipboard
MARKER_ANCHOR_SERIALIZER
Link copied to clipboard
Path
Link copied to clipboard
data class Path @JvmOverloads() constructor(color: String?, pulseColor: String?, nearRadius: Double?, farRadius: Double?, drawDuration: Double?, drawConnectionSegments: Boolean?, pulseIterations: Double?, connectionPathOptions: MPIOptions.ConnectionPath?, displayArrowsOnPath: Boolean?)
Content copied to clipboard
Path holds the properties of values to be set when path is drawn