Creates an instance of MPPoint.
The position of the point on the latitudal axis (N/S).
The position of the point on the longitudal axis (E/W).
OptionalfloorIndex: number = 0The floor index of the point, Will default to 0 if not provided.
Optional ReadonlyfloorOptional index that defines what floor this point is placed on.
If 0 it is placed on the ground floor, or outside.
ReadonlylatitudeLatitude coordinate.
ReadonlylongitudeLongitude coordinate.
Static ReadonlymultiTypename for MPMultiPolygon.
Static ReadonlypointTypename for MPPoint.
Static ReadonlypolygonTypename for MPPolygon.
MPGeometry override, returns this object.
Get the type of the point. see MPGeometry#point.
Calculates the angle between this point and another [MPPoint] in degrees from north.
Checks whether a point is contained within the geometry.
Calculates the shortest distance to another point from this point.
Stringifies the geometry to JSON.
Parses the object to a JSON object that is compatible with the MapsIndoors SDK.
StaticcreateCreator for MPPoint, used to decode JSON from the MapsIndoors SDK.
MPPoint is a representation of latitude and longitude coordinates packaged with a Z-axis representation in floorIndex.
Export
MPPoint