From 6f12b24d66d0bc7489dd228d6696a1e6c284db37 Mon Sep 17 00:00:00 2001 From: danzel Date: Tue, 24 Jul 2012 14:45:10 +1200 Subject: [PATCH] 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 df73a2cb5..52d52e297 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);