-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update base layer tiles due to MapBox deprecation #491
Comments
Following: https://blog.mapbox.com/deprecating-studio-classic-styles-d8892ac38cb4 var baseLayer = L.tileLayer('https://api.mapbox.com/styles/v1/jywarren/ckj06ujnc1nmi19nuelh46pr9/tiles/{z}/{x}/{y}?access_token=pk.eyJ1Ijoianl3YXJyZW4iLCJhIjoiVzVZcGg3NCJ9.BJ6ArUPuTs1JT9Ssu3K8ig', {
tileSize: 512,
zoomOffset: -1,
attribution: '© <a href="https://apps.mapbox.com/feedback/">Mapbox</a> © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
}).addTo(map); |
Prioritizing this to fix https://publiclab.org/map |
I bet this is the most important! The others seem layer specific, and aren't baselayers after all...
I also see this in the example but i bet it is not using the one-line constructor so it may not be one we need to fix:
|
moving to #493 !!! |
* update AllLayers.js to new MapBox API re #491 * fixes mapbox baselayers in example too * bump v2.4.1 with new mapbox API
OK, and publishing... |
cc @Sagarpreet regarding this new release! Not using the script yet but interested! |
Done and it's staging over in publiclab/plots2#8904 |
Just like in publiclab/plots2#8887 -- cc @Sagarpreet ❤️
The text was updated successfully, but these errors were encountered: