MPVenue class
A MapsIndoors geographical entity. A MPVenue can exist anywhere, and it can contain a number of MPBuildings and MPLocations.
- Inheritance
-
- Object
- MapsIndoorsObject
- MPEntity<
MPVenueId> - MPVenue
Properties
- administrativeId → String
-
final
- bounds → MPBounds?
-
Get the venue's bounds
no setteroverride
- defaultFloor → int
-
final
- defaultMapStyle → MPMapStyle?
-
Get the venue's default mapstyle
no setter
-
entryPoints
→ List<
MPPoint> -
Get a list of entry points for the venue
no setter
- externalId → String?
-
final
- geometry → MPPolygon
-
final
- graphId → String?
-
final
-
hasGraph
→ Future<
bool?> -
Check whether the venue has a valid routing graph
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → MPVenueId
-
final
- isPoint → bool
-
Inherited from MPEntity, a venue's geometry is never a MPPoint
no setteroverride
-
mapStyles
→ List<
MPMapStyle> -
Get the venue's map styles
no setter
- name → String?
-
Get the venue's name
no setter
- position → MPPoint
-
Get the position of the venue, this will correspond to the venue's anchor point
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tilesUrl → String
-
final
- venueInfo → MPVenueInfo
-
final
Methods
-
contains(
MPPoint point) → Future< bool?> -
Check whether the venue contains a
point
-
getField(
String? key) → MPDataField? - Fetch a field from the venue
-
isMapStyleValid(
MPMapStyle mapstyle) → bool -
Check whether a given
mapstyle
is valid for the venue -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the MPVenue to a JSON representation that can be parsed by the MapsIndoors Platform SDK
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override