Make setRadius and updateStyle({radius: 123 }) work.

This commit is contained in:
danzel 2013-02-04 09:51:27 +13:00 committed by Vladimir Agafonkin
parent ae6c88dd1f
commit 0dcbed845e

View File

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