--- a/hdalab/js/geojson_quickconv.js Tue Jan 17 00:19:27 2012 +0100
+++ b/hdalab/js/geojson_quickconv.js Mon Jan 30 18:20:21 2012 +0100
@@ -102,7 +102,7 @@
var _opts = {
strokeColor: "#000000",
strokeWeight: .5,
- fillColor: "#000080",
+ fillColor: "#7070a0",
fillOpacity: .8,
}
_opts.paths = polycoords.map(function(path) {
@@ -112,9 +112,11 @@
});
var _polygon = new google.maps.Polygon(_opts);
_polygon.setMap(gomNs.map);
- google.maps.event.addListener(_polygon, 'click', function(a,b) {
- tagInfo(label);
- })
+ if (label) {
+ google.maps.event.addListener(_polygon, 'click', function(a,b) {
+ tagInfo(label);
+ })
+ }
return _polygon;
}
@@ -138,4 +140,4 @@
}
gomNs.countries[feature.id] = _el;
});
-}
+}
\ No newline at end of file