Fix up opacity bug in the custom example

This commit is contained in:
danzel
2012-07-24 14:45:10 +12:00
parent ad9ee303a5
commit 6f12b24d66

View File

@@ -85,6 +85,7 @@
function removePolygon() {
if (shownLayer) {
shownLayer.setOpacity(1);
shownLayer = null;
}
if (polygon) {
map.removeLayer(polygon);