summaryrefslogtreecommitdiff
path: root/httemplate/search/elements/gmap.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-04-22 11:58:19 -0700
committerMark Wells <mark@freeside.biz>2016-04-26 12:21:55 -0700
commit50e995d8cac4bd4de8e254d7f8f1e885e9ef242e (patch)
tree98f2388bbccc7cf9d3672d38608144d6b86c0470 /httemplate/search/elements/gmap.html
parentdbc1708a990566955eefe3437eb97a1340904f65 (diff)
UI to show sector coverage maps, #37802
Diffstat (limited to 'httemplate/search/elements/gmap.html')
-rw-r--r--httemplate/search/elements/gmap.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/httemplate/search/elements/gmap.html b/httemplate/search/elements/gmap.html
index 632a323..b7d135d 100644
--- a/httemplate/search/elements/gmap.html
+++ b/httemplate/search/elements/gmap.html
@@ -26,7 +26,7 @@ Generic Google Maps front end.
}, # end of feature
],
overlays => [
- { url => 'https://localhost/freeside/view/sector_overlay-png.html?102',
+ { url => 'https://localhost/freeside/view/sector_map-png.html?102',
west => -130.0,
east => -128.0,
south => 10.0,
@@ -85,7 +85,7 @@ var featureStyle = function(feature) {
};
var map;
-var overlays;
+var overlays = [];
function initMap() {
var canvas = $('#map_canvas');
map = new google.maps.Map(canvas[0], { zoom: 6 });
@@ -133,6 +133,7 @@ function initMap() {
delete x.url;
var overlay = new google.maps.GroundOverlay( url, x );
overlay.setMap(map);
+ overlay.setOpacity(0.4);
overlays.push(overlay);
});
}