-
Notifications
You must be signed in to change notification settings - Fork 38
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
Support 256 x 256 output tilesizes #9
Comments
Note that mapbox.terrain-rgb uses 256. |
While the default tile endpoint is indeed 256, the full size tiles ( 512: 256: I'd guess that for hillshading 512 is overkill, but 512 tiles work great for other uses in order to make fewer calls to the api, eg: https://www.mapbox.com/labs/terra/#15.1541/-25.3483/131.0368/31.8413/36 |
I think the default tileSize should be 512. As mapbox-gl-js uses 512 tiles, a 256 tile source would cause mapbox-gl-js request four 256-based tiles to compose a 512 tile. Not only more requests, but also the total size of tiles increase. |
In order to more easily stay under total and individual (tile) size limits, we should allow creation of mbtiles with
256x256
tiles in addition to512x512
.The text was updated successfully, but these errors were encountered: