Class: Measure

webgis4u/ol/control/Measure~Measure()

Control for measuring

Constructor

new Measure()

Source:

Members

limit4m :integer

The limit above the distance is displayed in km (default < 1000). You can override it with your individual value if necessary.
Type:
  • integer
Source:

limit4m2 :integer

The limit when the area is displayed in km2 (default < 1000000). You can override it with your individual value if necessary.
Type:
  • integer
Source:

measurementType

Source:

measurementType

Sets a new type
Source:

measurementType_ :string

The type
Type:
  • string
Source:

oldMap_ :ol.Map|null

The old map
Type:
  • ol.Map | null
Source:

Methods

getType() → {MeasurementTypeEnum}

Source:
Returns:
the current type
Type
MeasurementTypeEnum

setMap()

Source:

setType(value)

Sets a new type
Parameters:
Name Type Description
value MeasurementTypeEnum The type
Source: