Agenda

In Konstruktion …

Display a map body { margin: 100; padding: 0; } #map { position: absolute; top: 0; bottom: 0; width: 100%; }
mapboxgl.accessToken = 'pk.eyJ1Ijoia2V2aW5rbmV2ZWxzIiwiYSI6ImNrNDZ1NTlibzBsemIzZmxmcjd3bnh4YXgifQ.TFWFeiKYeqBhQcVhoDcKBQ'; var map = new mapboxgl.Map({ container: 'map', // container id style: 'mapbox://styles/mapbox/streets-v11', // stylesheet location center: [-74.5, 40], // starting position [lng, lat] zoom: 9 // starting zoom });