Test

Pour toute question, n'hésitez pas !

script(src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.51.0/mapbox-gl.js') link(href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.51.0/mapbox-gl.css', rel='stylesheet') style. body { margin:0; padding:0; } #map { position:absolute; top:0; bottom:0; width:100%; } #map script. mapboxgl.accessToken = 'pk.eyJ1IjoiZW1lcmljbW91cm90IiwiYSI6ImNqb2o1d2F6NzAxcGMzd3Jwd2xncDNiY3kifQ.aA4y6uXbaKxbWkgHW9cdnw'; var map = new mapboxgl.Map({ container: 'map', // container id style: 'mapbox://styles/mapbox/streets-v9', // stylesheet location center: [-74.50, 40], // starting position [lng, lat] zoom: 9 // starting zoom });