Make setRadius and updateStyle({radius: 123 }) work.
This commit is contained in:
parent
ae6c88dd1f
commit
0dcbed845e
@ -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();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user