MPVenue

open class MPVenue : MPEntity

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
fun getBoundingBoxAsArray(): Array<Double>
Link copied to clipboard
open fun getBounds(): MPLatLngBounds
Link copied to clipboard
open fun getCoordinates(): Array<Array<Array<Double>>>
Gets the Venue's outline
Link copied to clipboard
open fun getDefaultMapStyle(): MPMapStyle
Get the default MPMapStyle for the current solution Not that currently there is no way we can set a default MPMapStyle, so this method will just return the first in the list
Link copied to clipboard
open fun getEntryPointsAsArray(): Array<MPPoint>
Link copied to clipboard
open fun getField(@Nullable key: String): MPDataField
An optional space for misc fields
Link copied to clipboard
open fun getMapStyles(): List<MPMapStyle>
Get the list of MPMapStyle
Link copied to clipboard
open fun getName(): String
Link copied to clipboard
open fun getPosition(): MPPoint
Gets the position of this venue defined by its anchor point
Link copied to clipboard
open fun hasGraph(): Boolean
Checks if the venue has a routing graph available or not
Link copied to clipboard
open fun isInside(@Nullable point: MPPoint): Boolean
method to check if a given point is inside or outside this geometry
Link copied to clipboard
open fun isMapStyleValid(@NonNull mapStyle: MPMapStyle): Boolean
Checks if the passed MPMapStyle is valid
Link copied to clipboard
open fun isPoint(): Boolean
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
@SerializedName(value = "name")
@get:NonNull
private open val administrativeId: String
Link copied to clipboard
@SerializedName(value = "anchor")
@get:NonNull
private open val anchor: MPPoint
Link copied to clipboard
private open var customerId: String
Link copied to clipboard
@SerializedName(value = "externalId")
@get:NonNull
private open val externalId: String
Link copied to clipboard
@SerializedName(value = "geometry")
@get:NonNull
private open val geometry: MPPolygonGeometry
Link copied to clipboard
@SerializedName(value = "graphId")
private open val graphId: String
Link copied to clipboard
@SerializedName(value = "id")
@get:NonNull
private open val id: String
Link copied to clipboard
@SerializedName(value = "tilesUrl")
@get:NonNull
private open val tilesUrl: String
Link copied to clipboard
@SerializedName(value = "venueInfo")
@get:NonNull
private open val venueInfo: MPVenueInfo