Set updateOnMoveEnd true for circle, so it can be updated by canvas renderer.

This commit is contained in:
florian 2011-06-20 10:16:55 +02:00
parent 86414aeef0
commit c8a105fbee

View File

@ -11,7 +11,8 @@ L.Circle = L.Path.extend({
},
options: {
fill: true
fill: true,
updateOnMoveEnd: true
},
setLatLng: function(latlng) {
@ -48,4 +49,4 @@ L.Circle = L.Path.extend({
return "AL " + p.x + "," + p.y + " " + r + "," + r + " 0," + (65535 * 360);
}
}
});
});