Skip to content

Commit

Permalink
another edit for the edit gods
Browse files Browse the repository at this point in the history
  • Loading branch information
goinging committed Nov 29, 2023
1 parent 42c6b49 commit fe1b908
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
3 changes: 3 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ p {
display: inline-block;
}

#slider {
width: 100%;
}
9 changes: 3 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@
</div>
<br></br>
</div>
<div id="map" class=center>
</div>
<script src="js/main.js"></script>
<div id="map" class=center></div>
<div>

<p>
Expand Down Expand Up @@ -62,8 +60,7 @@
like this?
</p>
</div>



<div id="map2"></div>
<script src="js/main.js"></script>
</body>
</html>
5 changes: 5 additions & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,8 @@ fetch('data/classified.geojson')
}
}).addTo(map);
});


var map2 = L.map('map2').setView([0, 0], 2);

L.tileLayer('https://api.mapbox.com/styles/v1/goinging/clpk5uv4f008501r7b2aw45xv/tiles/256/{z}/{x}/{y}?access_token=pk.eyJ1IjoiZ29pbmdpbmciLCJhIjoiY2xvaXlvNTYzMDBrMTJrc2I3Z2s2cjFtbiJ9.hZslmiJpn9kpQtAgOFI23A').addTo(map2);

0 comments on commit fe1b908

Please sign in to comment.