The getGeometry function of ol.interaction.DragBox always returns ol.geom.Polygon

This commit is contained in:
Bart van den Eijnden
2014-09-24 11:57:36 +02:00
parent d03755859f
commit 0145c4fb5f

View File

@@ -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() {