Creates a polygonal area measurement.
Name | Type | Description | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
An object with the following properties:
|
Members
Gets the area value in meters squared
Gets the icon.
Gets the id.
readonly instructions : Array.<String>
packages/ion-sdk-measurements/Source/Measure/AreaMeasurement.js 86
Gets the instruction text.
Gets the thumbnail.
Gets the type.
Methods
Destroys the widget.
Handles click events while drawing a polygon.
Name | Type | Description |
---|---|---|
clickPosition |
Cartesian2 | The click position |
Ends drawing on double click.
Handles mouse move events while drawing a polygon.
Name | Type | Description |
---|---|---|
mousePosition |
Cartesian2 | The mouse position |
Returns:
true if the object has been destroyed, false otherwise.
Resets the widget.