From abf7b9586eb980cb3187cb98ecd7f7ae01d97252 Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Thu, 11 Jan 2024 20:45:30 +0100 Subject: [PATCH] grammar --- website/map_docs.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/map_docs.html b/website/map_docs.html index 5cb8de2..b28cc32 100644 --- a/website/map_docs.html +++ b/website/map_docs.html @@ -18,7 +18,7 @@ Include MapLibre GL JS in the <head>. If you are using npm, you can install the - maplibre-gl package, but make sure to load the CSS manually. + maplibre-gl package. Make sure to import the CSS as well.

<script src="https://unpkg.com/maplibre-gl/dist/maplibre-gl.js"></script>
 <link
@@ -26,15 +26,15 @@
   rel="stylesheet"
 />
 
-

And initialize it to a div, like this:

+

Initialize it to a div like this:

<div id="map" style="width: 100%; height: 500px"></div>
 <script>
   const map = new maplibregl.Map({
     style: 'https://tiles.openfreemap.org/styles/liberty',
     center: [-0.114, 51.506],
     zoom: 14.2,
-    container: 'map';
- })
+    container: 'map'
+  })
 </script>