Add files via upload

This commit is contained in:
KatKatKateryna
2024-11-14 09:30:50 +00:00
committed by GitHub
parent 8e771c64fd
commit d66d5448e6
+32
View File
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SpeckleCon2024 GIS demo</title>
<style type="text/css">
html,body{margin:0px;height:100%;width:100%}
.container{width:100%;height:100%}
</style>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.1/dist/leaflet.css"/>
<script src="https://unpkg.com/leaflet@1.3.1/dist/leaflet.js"></script>
<body>
<div id="mapContainer" style="min-height: 80vh;"></div>
<script>
// Add a map object
var map = L.map('mapContainer').setView([ 45 , -75 ], 5);
// Add basemap layer
map.addLayer(new L.TileLayer(
'https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 22,
attribution: '&copy; <a href="https://openstreetmap.org/copyright">OpenStreetMap contributors</a> &copy; Data: <a href="https://speckle.systems/">Speckle Systems</a>'
}
));
</script>
</body>
</html>