You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should document this better, but basically this is bounded by WebGL MAX_TEXTURE_SIZE, which depends on the user's GPU. Most of the time it's at least 4096x4096, and many modern GPUs have 8192x8192 or 16384x16384. You can check yours through map.painter.context.maxTextureSize.
The use case is to add several images with addImage and make sure that it's working for most users, so 4096x4096 seems to be an appropriate maximum sprite size.
mapbox-gl-js version: v1.11.1
Question
From the docs for addImage:
Could you please clarify "not enough space in the sprite"?
Links to related documentation
https://docs.mapbox.com/mapbox-gl-js/style-spec/sprite/
https://docs.mapbox.com/help/glossary/sprite/
The text was updated successfully, but these errors were encountered: