diff --git a/static/index.html b/static/index.html index 892fd39..153a7b3 100644 --- a/static/index.html +++ b/static/index.html @@ -4,9 +4,9 @@ - + - + diff --git a/static/js/app.js b/static/js/app.js index 4d782bd..0ab2aa4 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -164,8 +164,9 @@ window.app = (function() { if (!marker) { if (!map) { L.mapbox.accessToken = config.mapboxAccessToken; - map = L.mapbox.map('map', 'mapbox.streets') - .setView(coords, zoomLevel); + map = L.mapbox.map('map') + .setView(coords, zoomLevel) + .addLayer(L.mapbox.styleLayer('mapbox://styles/mapbox/streets-v11')); } marker = L.marker(coords, options) .bindPopup(options.title)