Merge pull request #128 from JasonSanford/master

Adding _redraw to L.Circle
This commit is contained in:
Vladimir Agafonkin 2011-06-16 00:10:04 -07:00
commit 509a299669

View File

@ -47,5 +47,10 @@ L.Circle = L.Path.extend({
r = Math.round(r);
return "AL " + p.x + "," + p.y + " " + r + "," + r + " 0," + (65535 * 360);
}
},
_redraw: function() {
this.projectLatlngs();
this._updatePath();
}
});