Skip to content

Conversation

@HarelM
Copy link
Collaborator

@HarelM HarelM commented Dec 7, 2025

This PR uses covering tiles algorithm to get all the tiles in view to calculate the needed zoom level for a given position.

  • Confirm your changes do not include backports from Mapbox projects (unless with compliant license) - if you are not sure about this, please ask!
  • Briefly describe the changes in this PR.
  • Link to related issues.
  • Write tests for all new functionality.
  • Add an entry to CHANGELOG.md under the ## main section.

@HarelM HarelM requested a review from neodescis December 7, 2025 11:20
@codecov
Copy link

codecov bot commented Dec 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.41%. Comparing base (ef805d2) to head (894ffdd).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6825   +/-   ##
=======================================
  Coverage   92.41%   92.41%           
=======================================
  Files         288      288           
  Lines       23807    23811    +4     
  Branches     5055     5055           
=======================================
+ Hits        22002    22006    +4     
  Misses       1805     1805           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@HarelM HarelM changed the title Possible fix for getting the right zoom. Get the right zoom when querying elevation Dec 7, 2025
@HarelM HarelM requested a review from mwilsnd December 7, 2025 21:56
@HarelM HarelM merged commit 713283c into main Dec 8, 2025
26 checks passed
@HarelM HarelM deleted the 6822-terrain-infinity branch December 8, 2025 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Marker placement with terrain enabled throws repeated RangeError for DEM coordinates at low zoom levels

3 participants