Skip to content

Commit

Permalink
Adjust zoom level
Browse files Browse the repository at this point in the history
  • Loading branch information
JackGilmore committed Mar 17, 2024
1 parent 394b686 commit 98ee23b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h2>Overview</h2>

<h2>Map</h2>

<div id="map" style="height:400px;"></div>
<div id="map" style="height:500px;"></div>

<script id="roadsData" type="application/json">
{{ site.data.roads | jsonify }}
Expand Down Expand Up @@ -72,7 +72,7 @@ <h2>Map</h2>

mostCommonDefectElement.innerHTML = `${mostCommonDefect}<br>${defectTypes[mostCommonDefect].length.toLocaleString()} reports`;

var map = L.map('map').setView([57.148690, -2.099241], 11);
var map = L.map('map').setView([57.148690, -2.099241], 12);

L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
Expand Down

0 comments on commit 98ee23b

Please sign in to comment.