X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Fgmap.html;h=b7d135dd6204a8dd1cfd896e5dfb2b5ab87608cf;hb=bc34518143fe485eec412e709271e681a1e41aac;hp=632a323386b71dfc6d9a6086779097defb94689b;hpb=1d50ab91a52be49724771accae7cc82740e83956;p=freeside.git diff --git a/httemplate/search/elements/gmap.html b/httemplate/search/elements/gmap.html index 632a32338..b7d135dd6 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); }); }