From 353afd6e7a4b08d8043c4c08f51c0f040012afb6 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 16 Oct 2023 10:17:02 +0200 Subject: [PATCH] demo update --- maplibre/demo.html | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) 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>