-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix: issue #10653 Minimap go black when zoomed out #10680
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think its due to background map as it was occuring in mapbox satellite and after this it wasnt occuring , i thought of fixing the issue by setting up a maximum limit for zoom out , before if we zoomed out of certain limit map would just stop rendering , i set the clampedzoom to be equal to maximum zoomout capacity whenever it crosses the limit , so in a way its fixed on up limit of zoom rather than overflowing , here is a screen recording you can cross check, i will try digging more , i will check files but if you can give a hint or guide me it will be very helpful. Screen-Recording.1.1.1.mp4 |
Sure, here are some hints:
|
@tyrasd ive made the changes you told me in this branch of my fork https://github.com/Darshit42/iD/tree/fixed-minimap-issue #10694 i double checked in all the maps and found that apart from open topo map background there is no error in any other map , can you confirm and tell me if there's some other file i need to change , i ran the tests and all of them passed , if there's no issue can i raise the pr?? (also there is another case , we can turn validZoom in background_source.js to always return true , but same problem persists, in open topo map background it shows different tiles when rendering ) |
fixed the issue #10653 when we zoomed out minimap used to go black , now made a new variable clampedzoom to ensure minimap renderer zoom out is fixed so that it dont overflow and respect the boundaries
before
after