The getGeometry function of ol.interaction.DragBox always returns ol.geom.Polygon
This commit is contained in:
@@ -133,7 +133,7 @@ ol.interaction.DragBox.prototype.handlePointerDrag = function(mapBrowserEvent) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns geometry of last drawn box.
|
* Returns geometry of last drawn box.
|
||||||
* @return {ol.geom.Geometry} Geometry.
|
* @return {ol.geom.Polygon} Geometry.
|
||||||
* @api stable
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.interaction.DragBox.prototype.getGeometry = function() {
|
ol.interaction.DragBox.prototype.getGeometry = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user