Skip to content
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

Better handle map boundary conditions #7993

Open
abey79 opened this issue Nov 4, 2024 · 0 comments
Open

Better handle map boundary conditions #7993

abey79 opened this issue Nov 4, 2024 · 0 comments
Labels
feat-map-view Everything related to the map view

Comments

@abey79
Copy link
Member

abey79 commented Nov 4, 2024

We currently handle very poorly boundary conditions (e.g. what happens between longitude +179° and -179°). This should be improved, and would involve at least the following:

  • walkers: have the zoom=0 tile infinitely repeating and scrollable horizontally (like OpenStreet Map).
  • When sufficiently zoomed out, repeat draw all objects as many times as required.
  • Define GeoLineStrip as "connecting the dots" using the shortest distance in the EPSG:4326 space (e.g. d = hypot(lat_diff, lon_diff)) and properly handle the wrapping accordingly.
  • Properly handle wrapping in GeoSpan.
@abey79 abey79 added the feat-map-view Everything related to the map view label Nov 4, 2024
@abey79 abey79 changed the title Better handle boundary conditions Better handle map boundary conditions Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat-map-view Everything related to the map view
Projects
None yet
Development

No branches or pull requests

1 participant