diff --git a/maplibre/demo.html b/maplibre/demo.html index 0fcdfa2..a446071 100644 --- a/maplibre/demo.html +++ b/maplibre/demo.html @@ -24,21 +24,29 @@
- <-- Leaflet -->
+
+<head>
+
+ <!-- Important to keep size ok on mobile -->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+ <!-- Leaflet -->
<link rel="stylesheet" href="https://file.brz9.dev/cdn/maplibre/leaflet.css"/>
-
- <script src="https://file.brz9.dev/cdn/maplibre/leaflet.js"> </script>
-
+ <script src="https://file.brz9.dev/cdn/maplibre/leaflet.js"></script>
<!-- Maplibre GL -->
-
<link href="https://file.brz9.dev/cdn/maplibre/maplibre-gl.css" rel='stylesheet'/>
+ <script src="https://file.brz9.dev/cdn/maplibre/maplibre-gl.js"></script>
- <script src="https://file.brz9.dev/cdn/maplibre/maplibre-gl.js"> </script>
+ <script src="https://file.brz9.dev/cdn/maplibre/leaflet-maplibre-gl.js"></script>
- <script src="https://file.brz9.dev/cdn/maplibre/leaflet-maplibre-gl.js"> </script>
+</head>
+<body>
+ <div id="map" style="width: 100%; height: 800px;"></div>
+
+</body>