gis-ops / valhalla-app

This is the demo web app running on https://valhalla.openstreetmap.de
https://valhalla.openstreetmap.de
MIT License
163 stars 90 forks source link

Vertical Scrolling enhancement #97

Closed JA-26-01 closed 1 year ago

JA-26-01 commented 1 year ago

Description

Unlike the horizontal scrolling which runs in full circle, ensuring that the user can get back to the same location after a specific number of scrolls horizontally, the same feature is not enabled in vertical scrolling. I think the user experience will be enhanced if the same functionality can be added when the user scrolls vertically instead of reaching a boundary. I think the attached screenshot will help in conveying better what I am trying too suggest. I would like to work on this issue if you think this will be a potential enhancement to the app.

Screenshots

image

nilsnolde commented 1 year ago

Not sure that's doable with web mercator projection? see https://stackoverflow.com/questions/40607963/leaflet-infinite-vertical-scrolling

JA-26-01 commented 1 year ago

Yes I went through this issue and someone suggested using a customized CSS may help. I will try it out and get back to you soon.