new MeasureAzimuth(options)
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | Object |
options for function call.
|
Example
var measure = new ol.control.MeasureAzimuth({
geodesic : true
});
Extends
- ol.control.Control
Methods
-
isGeodesic(){Boolean}
OpenLayers/Controls/Measures/MeasureAzimuth.js, line 183 -
Getter for option Geodesic
Returns:
value
-
setGeodesic(value)
OpenLayers/Controls/Measures/MeasureAzimuth.js, line 174 -
Setter for option Geodesic
Name Type Description value Boolean geodesic value
-
setMap(map)
OpenLayers/Controls/Measures/MeasureAzimuth.js, line 113 -
Overwrite OpenLayers setMap method
Name Type Description map ol.Map Map.