MPLocation

open class MPLocation : MPEntity

Types

Link copied to clipboard
class Builder
MPLocation builder class

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun getAliases(): Array<String>
An array of aliases (search keywords, "familiar" names,etc)
Link copied to clipboard
open fun getBaseType(): MPLocationBaseType
Gets this location's base type (Room, Building, Venue, etc.
Link copied to clipboard
open fun getBounds(): MPLatLngBounds
Link copied to clipboard
open fun getBuildingName(): String
Gets the building this location's parent building, if any
Link copied to clipboard
open fun getCategories(): Array<String>
The categories that this location belongs to, if any
Link copied to clipboard
open fun getDescription(): String
Gets the description text, if any
Link copied to clipboard
open fun getExternalId(): String
The externalId property, if set
Link copied to clipboard
open fun getFloorIndex(): Int
The floor index if this POI is inside a building
Link copied to clipboard
open fun getFloorName(): String
A floor's name (alias)
Link copied to clipboard
open fun getGeometry(): MPGeometry
Retrieves the Geometry of an MPLocation (MPPoint, MPPolygonGeometry, etc.
Link copied to clipboard
open fun getImageURL(): String
An optional image url
Link copied to clipboard
open fun getLiveUpdate(@NonNull domainType: String): LiveUpdate
A liveUpdate element for the matching domainType
Link copied to clipboard
open fun getLiveUpdates(): HashMap<String, LiveUpdate>
The liveUpdates property, if set
Link copied to clipboard
open fun getLiveValueForKey(@NonNull domainType: String, @NonNull propertyKey: String): Any
Gets a property from a LiveUpdate matching the domainType and propertyKey
Link copied to clipboard
open fun getLocationId(): String
Link copied to clipboard
open fun getMarkerBitmap(): Bitmap
An optional image The bitmap used in the marker if it has one.
Link copied to clipboard
open fun getName(): String
Get the location's name
Link copied to clipboard
open fun getPoint(): MPPoint
In case of a MPPoint, the geometry object itself, if a MPPolygonGeometry, the anchor point or a calculated center
Link copied to clipboard
open fun getPosition(): MPPoint
An optional anchor point
Link copied to clipboard
open fun getProperty(@NonNull key: String): Any
Returns a property on the location.
Link copied to clipboard
open fun getType(): String
Gets this location's current type (office, meeting room, etc.) that sets its visual look and behaviour.
Link copied to clipboard
open fun getVenue(): String
Gets the venue this location belongs to.
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun isBookable(): Boolean
Link copied to clipboard
open fun isInfoWindowShown(): Boolean
Returns whether the info window is currently shown
Link copied to clipboard
open fun isPoint(): Boolean
Link copied to clipboard
open fun setLiveUpdate(@Nullable liveUpdate: LiveUpdate)
Set a liveUpdate
Link copied to clipboard
open fun setPosition(@NonNull point: MPPoint)
Update the location's position
Link copied to clipboard
open fun showInfoWindow(visible: Boolean)
Shows the info window of this marker on the map, if the marker is visible
Link copied to clipboard
open fun toString(): String