From 0dcbed845ea82dd3fe832de92563f95edf37f074 Mon Sep 17 00:00:00 2001 From: danzel Date: Mon, 4 Feb 2013 09:51:27 +1300 Subject: [PATCH] Make setRadius and updateStyle({radius: 123 }) work. --- src/layer/vector/CircleMarker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layer/vector/CircleMarker.js b/src/layer/vector/CircleMarker.js index f2a9e23e5c7..e1c8333ccb9 100644 --- a/src/layer/vector/CircleMarker.js +++ b/src/layer/vector/CircleMarker.js @@ -23,7 +23,7 @@ L.CircleMarker = L.Circle.extend({ }, setRadius: function (radius) { - this._radius = radius; + this.options.radius = this._radius = radius; return this.redraw(); } });