projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
UI to show sector coverage maps, #37802
[freeside.git]
/
httemplate
/
search
/
elements
/
gmap.html
diff --git
a/httemplate/search/elements/gmap.html
b/httemplate/search/elements/gmap.html
index
632a323
..
b7d135d
100644
(file)
--- 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 => [
}, # 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,
west => -130.0,
east => -128.0,
south => 10.0,
@@
-85,7
+85,7
@@
var featureStyle = function(feature) {
};
var map;
};
var map;
-var overlays;
+var overlays
= []
;
function initMap() {
var canvas = $('#map_canvas');
map = new google.maps.Map(canvas[0], { zoom: 6 });
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);
delete x.url;
var overlay = new google.maps.GroundOverlay( url, x );
overlay.setMap(map);
+ overlay.setOpacity(0.4);
overlays.push(overlay);
});
}
overlays.push(overlay);
});
}