Merge pull request #2745 from bartvde/issue-2745
DragBox Interaction: getGeometry return type can be ol.geom.Polygon (r=@fredj)
This commit is contained in:
@@ -133,7 +133,7 @@ ol.interaction.DragBox.prototype.handlePointerDrag = function(mapBrowserEvent) {
|
||||
|
||||
/**
|
||||
* Returns geometry of last drawn box.
|
||||
* @return {ol.geom.Geometry} Geometry.
|
||||
* @return {ol.geom.Polygon} Geometry.
|
||||
* @api stable
|
||||
*/
|
||||
ol.interaction.DragBox.prototype.getGeometry = function() {
|
||||
|
||||
Reference in New Issue
Block a user