MPRouteCoordinate class

A coordinate used for routing, it is contained within a MPRouteStep

Is the smallest building block of a MPRoute

Inheritance
  • Object
  • MapsIndoorsObject
  • MPRouteCoordinate

Properties

floorIndex num?
The index of the floor the coordinate is on
final
floorname String?
The name of the floor the coordinate is on
final
hashCode int
The hash code for this object.
no setterinherited
latitude num?
The latitude of the coordinate
final
longitude num?
The longitude of the coordinate
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the MPRouteCoordinate 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.
inherited

Static Methods

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