Superclass of all MapsIndoors geometry classes.

Export

Abstract

Hierarchy

Constructors

Properties

position: MPPoint

Position of geometry, used as anchor for markers.

Abstract

type: string

Type of geometry, see point.

Abstract

multiPolygon: string = "MultiPolygon"

Typename for MPMultiPolygon.

Static

point: string = "Point"

Typename for MPPoint.

Static

polygon: string = "Polygon"

Typename for MPPolygon.

Static

Methods

  • Checks whether a point is contained within the geometry.

    Parameters

    Returns Promise<boolean>

    Async

  • Computes the area of the geometry.

    Returns Promise<number>

    Abstract

  • Stringifies the geometry to JSON.

    Returns string

Generated using TypeDoc