Venue

open class Venue : GeoData, MPModelBase

Author

Daniel Nielsen - Copyright © 2017 MapsPeople A/S. All rights reserved.

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
@Nullable
fun getBoundingBoxAsArray(): Array<Double>
Link copied to clipboard
@NonNull
open fun getCoordinates(): Array<Array<Array<Double>>>
Gets the Venue's outline
Link copied to clipboard
@Nullable
open fun getDefaultMapStyle(): MapStyle
Get the default MapStyle for the current solution Not that currently there is no way we can set a default MapStyle, so this method will just return the first in the list
Link copied to clipboard
@NonNull
open fun getDefaultStyle(): String
Link copied to clipboard
@NonNull
open fun getEntryPointsAsArray(): Array<Point>
Link copied to clipboard
@Nullable
open fun getField(@Nullable key: String): DataField
An optional space for misc fields
Link copied to clipboard
@Nullable
open fun getLatLngBoundingBox(): LatLngBounds
Link copied to clipboard
@NonNull
open fun getMapStyles(): List<MapStyle>
Get the list of MapStyle
Link copied to clipboard
@NonNull
open fun getPosition(): Point
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: Point): Boolean
method to check if a given point is inside or outside this geometry
Link copied to clipboard
open fun isMapStyleValid(@NonNull mapStyle: MapStyle): Boolean
Checks if the passed MapStyle is valid
Link copied to clipboard
@NonNull
open fun toString(): String

Properties

Link copied to clipboard
@SerializedName(value = "anchor")
@get:NonNull
private open val anchor: Point
Link copied to clipboard
@Nullable
@get:Nullable
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 = "floorNames")
@NonNull
@get:NonNull
private open val floorNames: HashMap<String, String>
k = floor z-index (ex: -10, 0, 10, 20, etc) v = floor name (ex: S1, N0, N1, N2, etc.
Link copied to clipboard
@SerializedName(value = "geometry")
@get:NonNull
private open val geometry: PolygonGeometry
Link copied to clipboard
@SerializedName(value = "graphId")
@get:NonNull
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 = "name")
@get:NonNull
private open var name: 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: VenueInfo