From 6c85f43fb23dbd777976fe91286670f5d09e4dc3 Mon Sep 17 00:00:00 2001 From: Vladimir Agafonkin Date: Mon, 4 Nov 2013 18:56:49 +0200 Subject: [PATCH] fix CircleMarker getRadius, close #2016, close #2017 --- src/layer/vector/CircleMarker.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/layer/vector/CircleMarker.js b/src/layer/vector/CircleMarker.js index 226477a7..0c67785e 100644 --- a/src/layer/vector/CircleMarker.js +++ b/src/layer/vector/CircleMarker.js @@ -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; } });