Skip to content

Commit 3a4e3e7

Browse files
CopilotProLoser
andcommitted
Move feedback button to bottom-right and comment out fullscreen control
Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
1 parent 24d1d63 commit 3a4e3e7

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

map.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async function initialize() {
2828
center: new google.maps.LatLng(37.76173100956567, -122.4386811010743),
2929
disableDefaultUI: true,
3030
zoomControl: true,
31-
fullscreenControl: true,
31+
// fullscreenControl: true,
3232
mapId: 'c46bf4bc0e87c92b'
3333
});
3434

@@ -103,7 +103,7 @@ async function initialize() {
103103
const form = document.getElementById('controls');
104104
form.addEventListener('reset', window.filter);
105105
map.controls[google.maps.ControlPosition.LEFT_BOTTOM].push(form);
106-
map.controls[google.maps.ControlPosition.LEFT_TOP].push(document.getElementById('feedback'));
106+
map.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(document.getElementById('feedback'));
107107
// Update the date picker
108108
if (minDate && maxDate) {
109109
form.elements['date'].min = minDate.toLocaleDateString('fr-ca');

style.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ html, body, #map-canvas {
4949
}
5050

5151
#feedback {
52-
position: absolute;
53-
top: 0;
54-
left: 0;
5552
margin: 10px;
5653
padding: 8px;
5754
font-size: 11px;

0 commit comments

Comments
 (0)