Venue class abstract
Controls the VenueModel inside the VenueMap object.
The venue controls the selection of the VenueDrawing and the VenueLevel of the VenueModel. It provides the possibility to customize styles for the VenueGeometry. Objects of this class can only be created using methods VenueMap.addVenueAsyncWithErrorsStr and VenueMap.selectVenueAsyncWithErrorsStr.
Constructors
- Venue()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isTopologyVisible ↔ bool
-
Returns true if topology is visible.
It can be used to check the status of topology visibility.
Gets the current status of topology visibility.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedDrawing ↔ VenueDrawing
-
The selected drawing.
Only the selected drawing will be visible as active on the map. All others will be
hidden or displayed without details, depending on the implementation of the renderer.
Gets the currently selected VenueDrawing of the VenueModel.
getter/setter pair
- selectedLevel ↔ VenueLevel
-
The selected level.
Only the selected level will be visible as active on the map. All others will be
hidden or displayed without details, depending on a renderer implementation.
If the level doesn't belong to the currently selected drawing, it can not be selected.
Gets the currently selected VenueLevel from the selected VenueDrawing.
getter/setter pair
- selectedLevelIndex ↔ int
-
The index of the VenueLevel selected from the level array
of the VenueDrawing.
Unlike the Z index, it can't have a negative value.
Gets the index of the currently selected VenueLevel in the level array
of the related VenueDrawing. The level array can be taken from
VenueDrawing.levels.
getter/setter pair
- selectedLevelZIndex ↔ int
-
The Z index value of the VenueLevel selected.
Z index 0 represents the ground level, negative values represent
underground levels, positive values - levels above the ground.
Z index can also be taken from VenueLevel.zIndex.
Gets the Z index of the currently selected VenueLevel.
getter/setter pair
- venueModel → VenueModel
-
The VenueModel controlled by this object.
It can be used to get the VenueModel
belonging to this object, like a building or a complex of buildings.
Gets the VenueModel controlled by this object.
no setter
- venueStyle → VenueStyle
-
The VenueStyle associated with the VenueModel
controlled by this object.
It can be used to get the style of the venue. Contains the information about
the geometry and label styles available for the venue.
Gets the VenueStyle associated with the VenueModel
controlled by this object.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCustomStyle(
List< VenueGeometry> geometries, VenueGeometryStyle? style, VenueLabelStyle? labelStyle) → void - Sets a custom style for geometries and related labels.
-
setCustomStyleToCrosswalk(
List< Crosswalk> crosswalks, VenueGeometryStyle? style) → void - Sets a custom style for crosswalk.
-
setCustomStyleToTopology(
List< VenueTopology> topologies, VenueGeometryStyle? style) → void - Sets a custom style for topologies.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited