From b7af9075e2395bae58ff8bbf2042209297c0bd5e Mon Sep 17 00:00:00 2001 From: Boris Mericskay <boris.mericskay@univ-rennes2.fr> Date: Mon, 12 Apr 2021 20:34:22 +0000 Subject: [PATCH] Update Cluster.html --- Cluster.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Cluster.html b/Cluster.html index 4673ce0..c29baa5 100644 --- a/Cluster.html +++ b/Cluster.html @@ -8,17 +8,19 @@ <link href="https://cdn.maptiler.com/maplibre-gl-js/v1.13.0-rc.4/mapbox-gl.css" rel="stylesheet" /> <style> -body { margin:0; padding:0; } #map { position:absolute; top:0; bottom:0; width:100%; } </style> + </head> + <body> - - + <div id='map'></div> <script> +// Map configuration + var map = new mapboxgl.Map({ container: 'map', style: 'https://api.maptiler.com/maps/positron/style.json?key=rrASqj6frF6l2rrOFR4A', @@ -76,7 +78,6 @@ layout: { map.addControl(new mapboxgl.NavigationControl({position: 'top-left'})); map.addControl(new mapboxgl.ScaleControl({position: 'bottom-right'})); - </script> </body> -- GitLab