MPVenue class

A MapsIndoors geographical entity. A MPVenue can exist anywhere, and it can contain a number of MPBuildings and MPLocations.

Inheritance

Properties

administrativeId String
Get the venue's administrative id
no setter
bounds MPBounds?
Get the venue's bounds
no setteroverride
defaultFloor int
Get the venue's default floor
no setter
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
Get the venue's external id
no setter
geometry MPPolygon
Get the venue's geometry
no setter
graphId String?
Get the venue's graph id
no setter
hashCode int
The hash code for this object.
no setteroverride
id MPVenueId
Get the venue's id
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
Get the venue's URL for tiles
no setter
venueInfo MPVenueInfo
Get the venue's information bundle
no setter

Methods

contains(MPPoint point) Future<bool?>
Check whether the venue contains a point
getField(String? key) MPDataField?
Fetch a field from the venue
hasGraph() Future<bool?>
Check whether the venue has a valid routing graph
isMapStyleValid(MPMapStyle mapstyle) bool
Check whether a given mapstyle is valid for the venue
isPoint() bool
Inherited from MPEntity, a venue's geometry is never a MPPoint
override
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

Static Methods

fromJson(dynamic json) MPVenue?
Attempts to build a MPVenue from a JSON object, this method will decode the object if needed