Private
constructorPrivate
Creates an instance of MPMultiPolygon.
Private
Optional
_areaarea cache.
Private
_bboxPrivate
Optional
_boundsbounds cache.
Private
_coordinatesStatic
Readonly
multiTypename for MPMultiPolygon.
Static
Readonly
pointTypename for MPPoint.
Static
Readonly
polygonTypename for MPPolygon.
Get the polygon's bounding box, the bounding box is in [GeoJson format]https://stevage.github.io/geojson-spec/#section-5
Update the polygon's bounding box, the bounding box must be in [GeoJson format]https://stevage.github.io/geojson-spec/#section-5
Get the coordinates as a collection in [GeoJSON format]https://stevage.github.io/geojson-spec/#section-3.1.7.
Update the coordinates list for the polygon, the coordinates must be in [GeoJSON format]https://stevage.github.io/geojson-spec/#section-3.1.7
Get the type of the polygon. see MPGeometry#multiPolygon
Private
clearChecks whether a point is contained within the geometry.
Calculates the squared distance from the point to the closest edge in the polygon.
Parses the object to a JSON object that is compatible with the MapsIndoors SDK.
Static
createCreator for MPMultiPolygon, used to decode JSON from the MapsIndoors SDK.
Generated using TypeDoc
A multiPolygon is a collection of MPPolygons that combine to form a single geographical area with multiple bodies.
Export