[Pkg-javascript-commits] [leaflet] 173/301: fix CircleMarker getRadius, close #2016, close #2017
Jonas Smedegaard
js at moszumanska.debian.org
Mon Jan 27 22:22:49 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository leaflet.
commit 6c85f43fb23dbd777976fe91286670f5d09e4dc3
Author: Vladimir Agafonkin <agafonkin at gmail.com>
Date: Mon Nov 4 18:56:49 2013 +0200
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 226477a..0c67785 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;
}
});
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet.git
More information about the Pkg-javascript-commits
mailing list