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
-
getContainer(){DOMElement}
Controls/Measures/MeasureAzimuth.js, line 191 -
Get container
-
isGeodesic(){Boolean}
Controls/Measures/MeasureAzimuth.js, line 182 -
Getter for option Geodesic
Returns:
value
-
setGeodesic(value)
Controls/Measures/MeasureAzimuth.js, line 173 -
Setter for option Geodesic
Name Type Description value Boolean geodesic value
-
setMap(map)
Controls/Measures/MeasureAzimuth.js, line 102 -
Overwrite OpenLayers setMap method
Name Type Description map ol.Map Map.