Skip to content

Commit de83813

Browse files
committed
reposition and fix map
1 parent 1c88ded commit de83813

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

about.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,19 +108,17 @@ <h2>Collaborations</h2>
108108
</div>
109109
</section>
110110

111-
<section id="mission" class="hide-on-mobile">
112-
<div class="mission-item">
113-
<div id="map" style="height:360px"></div>
114-
</div>
111+
<section id="mission" class="hide-on-mobile">
115112
<div class="mission-item">
116113
<h2>Where to find us</h2>
117114
<p>Come to see us at the Department of Physics, University of Turin. Our main office is located on the second floor of the old building, in Via Pietro Giuria 1, Torino, Italy.
118115
We are always happy to welcome visitors and discuss our research.
119116
</p>
120117
</div>
121-
122118
</section>
123-
</div>
119+
</div>
120+
<div id="map" style="height:360px;width:50%; margin: 0 auto;"></div>
121+
</div>
124122

125123
<div id="footer-container" class="content"></div>
126124
<script src="scripts/images.js"></script>

scripts/map.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
var map = L.map('map').setView([45.05232742060916, 7.681427509114751], 20);
1+
var map = L.map('map').setView([45.05, 7.68], 10);
22

33
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
4-
maxZoom: 19,
4+
maxZoom: 20,
55
attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
66
}).addTo(map);
77

0 commit comments

Comments
 (0)