Previously, our "plain leaflet" example requested tiles from the Static Tiles API without account for the fact that this API returns 512x512 styles by default, whereas Leaflet.js expects 256x256 tiles by default. This update corrects this example to account for this discrepancy.
(I also updated DOCUMENTING.md while I was in there.)
Fixes #1320
Previously, our "plain leaflet" example requested tiles from the Static Tiles API without account for the fact that this API returns 512x512 styles by default, whereas Leaflet.js expects 256x256 tiles by default. This update corrects this example to account for this discrepancy.
(I also updated
DOCUMENTING.md
while I was in there.)cc/ @mapbox/static-apis @mapbox/docs