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:
Bart van den Eijnden
2014-09-24 12:46:04 +02:00
+1 -1
View File
@@ -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() {