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).
Optional
floorIndex: number = 0The floor index of the point, Will default to 0 if not provided.
Optional
Readonly
floorOptional index that defines what floor this point is placed on.
If 0 it is placed on the ground floor, or outside.
Readonly
latitudeLatitude coordinate.
Readonly
longitudeLongitude coordinate.
Static
Readonly
multiTypename for MPMultiPolygon.
Static
Readonly
pointTypename for MPPoint.
Static
Readonly
polygonTypename 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.
MPGeometry override, resolves to a non-zero value.
Parses the object to a JSON object that is compatible with the MapsIndoors SDK.
Static
createCreator for MPPoint, used to decode JSON from the MapsIndoors SDK.
Generated using TypeDoc
MPPoint is a representation of latitude and longitude coordinates packaged with a Z-axis representation in floorIndex.
Export