From 3b9fac341995d2f45c56243b10213228b6b6aad8 Mon Sep 17 00:00:00 2001 From: Boris Mericskay <boris.mericskay@univ-rennes2.fr> Date: Mon, 12 Apr 2021 20:32:52 +0000 Subject: [PATCH] Update GraduatedCirclesColor.html --- GraduatedCirclesColor.html | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/GraduatedCirclesColor.html b/GraduatedCirclesColor.html index 6596880..53ae469 100644 --- a/GraduatedCirclesColor.html +++ b/GraduatedCirclesColor.html @@ -7,10 +7,6 @@ <style> #map {position: absolute; top: 0; right: 0; bottom: 0; left: 0;} - - - - </style> </head> @@ -22,7 +18,7 @@ <script> - //Appel et configuration de la carte +// Map configuration var map = new mapboxgl.Map({ container: 'map', @@ -34,7 +30,7 @@ var map = new mapboxgl.Map({ minZoom:11.7 }); - // Ajout des données + // Add data (Geojson) map.on('load', function () { @@ -105,17 +101,13 @@ map.on('mousemove', function(e) { }); - - - - // Ajout controle de navigation et echelle + // Add navigation control and scale map.addControl(new mapboxgl.NavigationControl({position: 'top-left'})); - map.addControl(new mapboxgl.ScaleControl({position: 'bottom-right'})); </script> </body> -</html> \ No newline at end of file +</html> -- GitLab