fix CircleMarker getRadius, close #2016, close #2017

This commit is contained in:
Vladimir Agafonkin 2013-11-04 18:56:49 +02:00
parent bd3409f2f8
commit 6c85f43fb2

View File

@ -32,6 +32,10 @@ L.CircleMarker = L.Circle.extend({
setRadius: function (radius) { setRadius: function (radius) {
this.options.radius = this._radius = radius; this.options.radius = this._radius = radius;
return this.redraw(); return this.redraw();
},
getRadius: function () {
return this._radius;
} }
}); });