Module: webgis4u/ol/control/Measure

Classes

Measure

Members

(static, constant) CSS_CLASS

The CSS class for the contorl
Source:

(static, constant) MeasurementTypeEnum :string

Enum describing the measurement type.
Type:
  • string
Source:

Methods

(inner) GetClassForType(measurementType) → {ol.geom.GeometryType}

Parameters:
Name Type Description
measurementType MeasurementTypeEnum The interaction type
Source:
Returns:
Type
ol.geom.GeometryType

(inner) getMeasurementTypeOrDefault(value) → {MeasurementTypeEnum}

Parameters:
Name Type Description
value MeasurementTypeEnum The value
Source:
Returns:
The passed value or the default type
Type
MeasurementTypeEnum