[Pkg-javascript-commits] [leaflet-markercluster] 89/479: Fix up opacity bug in the custom example
Jonas Smedegaard
dr at jones.dk
Thu Oct 16 16:00:14 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository leaflet-markercluster.
commit 6f12b24d66d0bc7489dd228d6696a1e6c284db37
Author: danzel <danzel at localhost.geek.nz>
Date: Tue Jul 24 14:45:10 2012 +1200
Fix up opacity bug in the custom example
---
example/marker-clustering-custom.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/example/marker-clustering-custom.html b/example/marker-clustering-custom.html
index df73a2c..52d52e2 100644
--- a/example/marker-clustering-custom.html
+++ b/example/marker-clustering-custom.html
@@ -85,6 +85,7 @@
function removePolygon() {
if (shownLayer) {
shownLayer.setOpacity(1);
+ shownLayer = null;
}
if (polygon) {
map.removeLayer(polygon);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-markercluster.git
More information about the Pkg-javascript-commits
mailing list