Skip to content

Commit

Permalink
fix CircleMarker getRadius, close Leaflet#2016, close Leaflet#2017
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Nov 4, 2013
1 parent bd3409f commit 6c85f43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/layer/vector/CircleMarker.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ L.CircleMarker = L.Circle.extend({
setRadius: function (radius) {
this.options.radius = this._radius = radius;
return this.redraw();
},

getRadius: function () {
return this._radius;
}
});

Expand Down

0 comments on commit 6c85f43

Please sign in to comment.