Skip to content

Commit

Permalink
Make setRadius and updateStyle({radius: 123 }) work.
Browse files Browse the repository at this point in the history
  • Loading branch information
danzel authored and mourner committed Feb 6, 2013
1 parent ae6c88d commit 0dcbed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layer/vector/CircleMarker.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ L.CircleMarker = L.Circle.extend({
},

setRadius: function (radius) {
this._radius = radius;
this.options.radius = this._radius = radius;
return this.redraw();
}
});
Expand Down

0 comments on commit 0dcbed8

Please sign in to comment.