Changed default radius to 0, instead of 1000.

(This was debugging code.)
This commit is contained in:
Christopher S. Case
2015-02-17 08:40:25 -06:00
parent b2ce4c19e1
commit 15a4b7f4a6

View File

@@ -406,7 +406,7 @@ ol.interaction.Draw.prototype.startDrawing_ = function(event) {
this.sketchPolygonCoords_ = [[start.slice(), start.slice()]];
geometry = new ol.geom.Polygon(this.sketchPolygonCoords_);
} else if (this.mode_ === ol.interaction.DrawMode.CIRCLE) {
geometry = new ol.geom.Circle(start.slice(), 1000);
geometry = new ol.geom.Circle(start.slice(), 0);
this.sketchLine_ = new ol.Feature(new ol.geom.LineString([start.slice(),
start.slice()]));
}