MPIOptions

open class MPIOptions

This class holds the options

Constructors

MPIOptions
Link copied to clipboard
fun MPIOptions()

Types

BlueDot
Link copied to clipboard
data class BlueDot(allowImplicitFloorLevel: Boolean?, smoothing: Boolean?, showBearing: Boolean?, baseColor: String?)
BlueDot holds the properties of values to be set when enabling blue dot
ConnectionPath
Link copied to clipboard
data class ConnectionPath @JvmOverloads() constructor(drawDuration: Double?, nearRadius: Double?, farRadius: Double?, color: String?)
Connection path object
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?)
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)
Focus padding for focus
Init
Link copied to clipboard
data class Init @JvmOverloads() constructor(clientId: String, clientSecret: String, venue: String, perspective: String?, baseUrl: String, noAuth: Boolean, firstMapId: String?, headers: List<MPIHeader>?)
This class hold the properties of values to be used when initialzing a map
Journey
Link copied to clipboard
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
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?)
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>?)
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?)
LabelAppearance holds the appearance properties of smart labels to be set when labeling polygons
Marker
Link copied to clipboard
data class Marker(rank: Double?, anchor: MPIOptions.MARKER_ANCHOR?)
TODO: Fill ME!
MARKER_ANCHOR
Link copied to clipboard
enum MARKER_ANCHOR : Enum<MPIOptions.MARKER_ANCHOR>
MARKER_ANCHOR holds the properties of anchor when adding markers
MARKER_ANCHOR_SERIALIZER
Link copied to clipboard
object MARKER_ANCHOR_SERIALIZER
serializer for marker anchor
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?)
Path holds the properties of values to be set when path is drawn
ShowVenue
Link copied to clipboard
data class ShowVenue(firstMapId: String?, labelAllLocationsOnInit: Boolean, backgroundColor: String?, backgroundAlpha: Double?)
ShowVenue holds the properties of values to be set when showing a venue.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String
convert Marker to string