Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AreaMeasurement2DViewModel

Hierarchy

  • AreaMeasurement2DViewModel

Index

Properties

geodesicDistanceThreshold

geodesicDistanceThreshold: number

When the coordinate system is projected (other than web mercator) then perimeters less than this threshold will be computed planimetrically.

Read more...

Readonly measurement

The area and perimeter of the measurement polygon in square meters and meters respectively.

Read more...

Readonly measurementLabel

This property returns the locale specific representation of the area and perimeter.

Read more...

Readonly state

state: "disabled" | "ready" | "measuring" | "measured"

The ViewModel's state.

Read more...

unit

Unit system (imperial, metric) or specific unit used for displaying the area values.

Read more...

unitOptions

unitOptions: SystemOrAreaUnit[]

List of available units and unit systems (imperial, metric) for displaying the area values.

Read more...

view

view: MapView

The view from which the widget will operate.

Read more...

Methods

clear

  • clear(): void
  • Clears the current measurement.

    Read more...

    Returns void

start

  • start(): void
  • Starts a new measurement.

    Read more...

    Returns void

Generated using TypeDoc