@mapsindoors/react-native-maps-indoors-google-maps
    Preparing search index...

    Class MPMultiPolygon

    A multiPolygon is a collection of MPPolygons that combine to form a single geographical area with multiple bodies.

    MPMultiPolygon

    Hierarchy (View Summary)

    Index

    Properties

    multiPolygon: string = "MultiPolygon"

    Typename for MPMultiPolygon.

    point: string = "Point"

    Typename for MPPoint.

    polygon: string = "Polygon"

    Typename for MPPolygon.

    Accessors

    • get type(): string

      Get the type of the polygon. see MPGeometry#multiPolygon

      Returns string

    Methods

    • Calculates the squared distance from the point to the closest edge in the polygon.

      Parameters

      Returns Promise<number>

    • Get the polygon's area, this is the combined area of all the polygons in the multi-polygon.

      Returns Promise<number>