M P I Options
class MPIOptions
Content copied to clipboard
This class holds the options
Constructors
MPIOptions
Link copied to clipboard
fun MPIOptions()
Content copied to clipboard
Types
AbstractFlatLabel
Link copied to clipboard
interface AbstractFlatLabel
Content copied to clipboard
AbstractFlatLabel holds the properties of flat labels of data classes: FlatLabelInternal and FlatLabel
AbstractFlatLabelAllLocations
Link copied to clipboard
interface AbstractFlatLabelAllLocations
Content copied to clipboard
AbstractFlatLabelAllLocations holds the properties of flat label all locations of data classes: FlatLabelAllLocationsInternal and FlatLabelAllLocations
ConnectionPath
Link copied to clipboard
data class ConnectionPath @JvmOverloads() constructor(drawDuration: Double?, nearRadius: Double?, farRadius: Double?, color: String?)
Content copied to clipboard
FlatLabel
Link copied to clipboard
data class FlatLabel(text: String?, appearance: MPIOptions.FlatLabelAppearance?) : MPIOptions.AbstractFlatLabel
Content copied to clipboard
FlatLabel holds the properties of flat labels to be set when setting flat label to polygons
FlatLabelAllLocations
Link copied to clipboard
data class FlatLabelAllLocations(appearance: MPIOptions.FlatLabelAppearance?, locations: List<String>?) : MPIOptions.AbstractFlatLabelAllLocations
Content copied to clipboard
FlatLabelAllLocations holds the properties of flat labels to be set when setting flat labels to a collection of polygons
FlatLabelAllLocationsInternal
Link copied to clipboard
data class FlatLabelAllLocationsInternal(legacyLabels: Boolean, appearance: MPIOptions.FlatLabelAppearance?, locations: List<String>?) : MPIOptions.AbstractFlatLabelAllLocations
Content copied to clipboard
FlatLabelAllLocationsInternal exposes the flat labels flag to be true internally while setting flat labels to a collection of polygons
FlatLabelAppearance
Link copied to clipboard
data class FlatLabelAppearance @JvmOverloads() constructor(height: Float?, margin: Float?, color: String?, fontSize: Float?, scaleMin: Float?, scaleStep: Float?)
Content copied to clipboard
FlatLabelAppearance holds the appearance properties of flat labels to be set when labeling polygons
FlatLabelInternal
Link copied to clipboard
data class FlatLabelInternal(flatLabels: Boolean, text: String?, appearance: MPIOptions.FlatLabelAppearance?) : MPIOptions.AbstractFlatLabel
Content copied to clipboard
FlatLabelInternal exposes the flat labels flag to be true internally while setting flat labels to polygons
FloatingLabel
Link copied to clipboard
data class FloatingLabel @JvmOverloads() constructor(text: String, shortText: String?, stateText: String?, rank: Double?, appearance: MPIOptions.FloatingLabelAppearance?)
Content copied to clipboard
FloatingLabel holds the properties of floating labels to be set when setting labels to polygons
FloatingLabelAllLocations
Link copied to clipboard
data class FloatingLabelAllLocations @JvmOverloads() constructor(appearance: MPIOptions.FloatingLabelAppearance?, locations: List<String>?)
Content copied to clipboard
FloatingLabelAllLocations holds the properties of floating labels to be set at a collection of locations
FloatingLabelAppearance
Link copied to clipboard
data class FloatingLabelAppearance @JvmOverloads() constructor(margin: Double?, text: MPIOptions.FloatingLabelAppearance.Text?, marker: MPIOptions.FloatingLabelAppearance.Marker?)
Content copied to clipboard
FloatingLabelAppearance holds the appearance properties of floating labels to be set when labeling polygons
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
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