move overlays to separate z-index to fix locator grid colors

This commit is contained in:
Jakob Ketterl 2021-01-22 18:07:02 +01:00
parent f29f7b20e3
commit b8868cb55a

View File

@ -30,7 +30,8 @@ var nite = {
fillOpacity: 0.1, fillOpacity: 0.1,
strokeOpacity: 0, strokeOpacity: 0,
clickable: false, clickable: false,
editable: false editable: false,
zIndex: 1
}); });
this.marker_twilight_nautical = new google.maps.Circle({ this.marker_twilight_nautical = new google.maps.Circle({
map: this.map, map: this.map,
@ -40,7 +41,8 @@ var nite = {
fillOpacity: 0.1, fillOpacity: 0.1,
strokeOpacity: 0, strokeOpacity: 0,
clickable: false, clickable: false,
editable: false editable: false,
zIndex: 1
}); });
this.marker_twilight_astronomical = new google.maps.Circle({ this.marker_twilight_astronomical = new google.maps.Circle({
map: this.map, map: this.map,
@ -50,7 +52,8 @@ var nite = {
fillOpacity: 0.1, fillOpacity: 0.1,
strokeOpacity: 0, strokeOpacity: 0,
clickable: false, clickable: false,
editable: false editable: false,
zIndex: 1
}); });
this.marker_night = new google.maps.Circle({ this.marker_night = new google.maps.Circle({
map: this.map, map: this.map,
@ -60,7 +63,8 @@ var nite = {
fillOpacity: 0.1, fillOpacity: 0.1,
strokeOpacity: 0, strokeOpacity: 0,
clickable: false, clickable: false,
editable: false editable: false,
zIndex: 1
}); });
}, },
getShadowRadiusFromAngle: function(angle) { getShadowRadiusFromAngle: function(angle) {