-
-
Notifications
You must be signed in to change notification settings - Fork 743
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
map.setTerrain() throws error at max zoom #1650
Labels
bug
Something isn't working
good first issue
Good for newcomers
PR is more than welcomed
Extra attention is needed
terrain
Comments
I think terrain uses Z - 2 tiles for optimization in some points, and in this case it uses negative Z by mistake. |
HarelM
added
bug
Something isn't working
PR is more than welcomed
Extra attention is needed
terrain
good first issue
Good for newcomers
labels
Sep 16, 2022
Maybe the real issue is that MapLibre allows negative zoom. How about fixing this issue by putting a constraint that zoom always must be greater than 0 Please take a look at this pr #1733 |
zbigniewmatysek-tomtom
added a commit
to tomtom-forks/maplibre-gl-js
that referenced
this issue
Nov 15, 2022
Closed
6 tasks
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
good first issue
Good for newcomers
PR is more than welcomed
Extra attention is needed
terrain
maplibre-gl-js version: 2.4
browser: Chrome 105
Steps to Trigger Behavior
Uncaught Error: x=-1419415165, y=-1073741824, z=-1 outside of bounds. 0<=x<0.5, 0<=y<0.5 0<=z<=25
)Link to Demonstration
https://jsbin.com/jitorijofo/edit?html,output
The text was updated successfully, but these errors were encountered: