nilsnolde created an issue (openstreetmap/openstreetmap-website#6763)

### Problem

In our [Valhalla web 
app](https://valhalla.openstreetmap.de/directions?profile=bicycle&style=carto), 
we have a button in the lower-right to jump to osm.org which is supposed to 
open at the same/similar extent & zoom. Very convenient for app users and also 
for us when debugging. 

Currently osm.org would open at smaller/larger extent than our view bcs of 
rounding

### Description

Would you accept a change that would parse the zoom level as decimal? The 
browser URL could stay as it is (i.e. truncate/round to integer), just using it 
for zooming/extent.

### Screenshots

This is what it looks like currently. We also simply floor the float zoom 
currently, but that's a separate bug.

<img width="2256" height="1448" alt="Image" 
src="https://github.com/user-attachments/assets/d010d716-45ed-48d3-9f58-c7070e93a0bf";
 />  <img width="2256" height="1448" alt="Image" 
src="https://github.com/user-attachments/assets/0a30dab2-ff76-4602-adb9-4461501c5620";
 />

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6763
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to