VenueMap class abstract

Connects a map with venues.

When the VenueMap is started, venues can be seen on the map as interactive models. The user can switch drawings and levels, change a visual style of geometries and related labels inside the venue etc. After constructing the VenueMap, for relevant events should be added to the object. VenueMap is an add-on to the base map functionality with its own content loading and cache. For this reason, in certain situations there may be a small delay before the venue is visible.

Constructors

VenueMap()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedVenue Venue?
The selected venue or null if no venue is selected. Use null to deselect the venue. Gets the currently selected Venue.
getter/setter pair
venueService VenueService
The VenueService object. It can be used to search and get the VenueModel objects. Gets the venue service.
no setter

Methods

addDrawingSelectionListener(VenueDrawingSelectionListener listener) → void
Adds a drawing selection .
addLevelSelectionListener(VenueLevelSelectionListener listener) → void
Adds a level selection .
addVenueAsync(int venueId) → void
Downloads and adds a Venue to the VenueMap.
addVenueAsyncStr(String venueIdentifier) → void
Downloads and adds a Venue to the VenueMap.
addVenueAsyncWithErrors(int venueId, VenueLoadErrorCallback callback) → void
Downloads and adds a Venue to the VenueMap.
addVenueAsyncWithErrorsStr(String venueIdentifier, VenueLoadErrorCallback callback) → void
Downloads and adds a Venue to the VenueMap.
addVenueInfoListListener(VenueInfoListListener listener) → void
Adds a listener to handle the completion of the asynchronous venue info list retrieval.
addVenueLifecycleListener(VenueLifecycleListener listener) → void
Adds a venue lifecycle .
addVenueMapLifecycleListener(VenueMapLifecycleListener listener) → void
Adds a venue map lifecycle .
addVenueSelectionListener(VenueSelectionListener listener) → void
Adds a venue selection .
cancelVenueSelection() → bool
Attempts to cancel venue loading and selection that may currently be in progress.
getCrosswalk(GeoCoordinates position) Crosswalk?
Tries to find a Crosswalk at the specified geographic coordinates in the selected Venue in the currently selected VenueLevel.
getGeometry(GeoCoordinates position) VenueGeometry?
Tries to find a VenueGeometry at the specified geographic coordinates in the selected Venue in the currently selected VenueLevel.
getTopology(GeoCoordinates position) VenueTopology?
Tries to find a VenueTopology at the specified geographic coordinates in the selected Venue in the currently selected VenueLevel.
getVenue(GeoCoordinates position) Venue?
Tries to find a Venue at the specified geographic coordinates.
getVenueInfoList() VenueMapVenueInfoList
The list of VenueInfo contains venue id and name.
getVenueInfoListAsync() → void
The list of VenueInfo contains venue id and name.
getVenueInfoListAsyncWithErrors(VenueLoadErrorCallback callback) → void
The list of VenueInfo contains venue id and name.
getVenueInfoListWithErrors(VenueLoadErrorCallback callback) VenueMapVenueInfoList
The list of VenueInfo contains venue id and name.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeDrawingSelectionListener(VenueDrawingSelectionListener listener) → void
Removes a drawing selection .
removeLevelSelectionListener(VenueLevelSelectionListener listener) → void
Removes a level selection .
removeVenue(Venue venue) → void
Removes a Venue from the VenueMap.
removeVenueInfoListListener(VenueInfoListListener listener) → void
Removes a listener for the asynchronous venue info list retrieval.
removeVenueLifecycleListener(VenueLifecycleListener listener) → void
Removes a venue lifecycle .
removeVenueMapLifecycleListener(VenueMapLifecycleListener listener) → void
Removes a venue map lifecycle .
removeVenueSelectionListener(VenueSelectionListener listener) → void
Removes a venue selection .
selectVenueAsync(int venueId) → void
Downloads a VenueModel if needed and selects a Venue.
selectVenueAsyncStr(String venueIdentifier) → void
Downloads a VenueModel if needed and selects a Venue.
selectVenueAsyncWithErrors(int venueId, VenueLoadErrorCallback callback) → void
Downloads a VenueModel if needed and selects a Venue.
selectVenueAsyncWithErrorsStr(String venueIdentifier, VenueLoadErrorCallback callback) → void
Downloads a VenueModel if needed and selects a Venue.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited