Skip to content
Snippets Groups Projects
Commit 3b9fac34 authored by Boris Mericskay's avatar Boris Mericskay
Browse files

Update GraduatedCirclesColor.html

parent 82a13249
No related branches found
No related tags found
No related merge requests found
......@@ -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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment