diff --git a/src/draw/handler/Draw.Circle.js b/src/draw/handler/Draw.Circle.js index 6e234c847..6d98919cd 100644 --- a/src/draw/handler/Draw.Circle.js +++ b/src/draw/handler/Draw.Circle.js @@ -30,7 +30,7 @@ L.Draw.Circle = L.Draw.SimpleShape.extend({ _drawShape: function (latlng) { if (!this._shape) { - this._shape = new L.Circle(this._startLatLng, this._startLatLng.distanceTo(latlng), this.options.shapeOptions); + this._shape = new L.circle(this._startLatLng, this._startLatLng.distanceTo(latlng), this.options.shapeOptions); this._map.addLayer(this._shape); } else { this._shape.setRadius(this._startLatLng.distanceTo(latlng)); @@ -38,7 +38,7 @@ L.Draw.Circle = L.Draw.SimpleShape.extend({ }, _fireCreatedEvent: function () { - var circle = new L.Circle(this._startLatLng, this._shape.getRadius(), this.options.shapeOptions); + var circle = new L.circle(this._startLatLng, this._shape.getRadius(), this.options.shapeOptions); L.Draw.SimpleShape.prototype._fireCreatedEvent.call(this, circle); },