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

    Class MPGeometryAbstract

    Superclass of all MapsIndoors geometry classes.

    MPGeometry

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    position: MPPoint

    Position of geometry, used as anchor for markers.

    type: string

    Type of geometry, see point.

    multiPolygon: string = "MultiPolygon"

    Typename for MPMultiPolygon.

    point: string = "Point"

    Typename for MPPoint.

    polygon: string = "Polygon"

    Typename for MPPolygon.

    Methods

    • Checks whether a point is contained within the geometry.

      Parameters

      Returns Promise<boolean>

    • Computes the area of the geometry.

      Returns Promise<number>

    • Stringifies the geometry to JSON.

      Returns string