facebook / Rapid

The OpenStreetMap editor driven by open data, AI, and supercharged features
https://rapideditor.org
ISC License
517 stars 91 forks source link

When moving the minimap, the extent box should remain centered #836

Closed mvexel closed 1 year ago

mvexel commented 1 year ago

Description

A useful feature of the minimap is that you can drag it and move the main map. Because the box that indicates the current main map extent moves with the minimap as you drag it, it becomes harder to move the minimap accurately:

https://user-images.githubusercontent.com/120452/223285168-ae93d250-4283-4cae-a966-fc9ac1ec11f4.mov

I would prefer it if the box remained centered, so you can accurately predict what the main map extent will be when you release.

Version

2.0.0-beta.0

What browser are you seeing the problem on? What version are you running?

Chrome v110.0

The OS you're using

No response

Steps to reproduce

No response

The browser URL at the time you encountered the bug

https://mapwith.ai/rapid-v2-beta#background=Maxar-Premium&datasets=fbRoads,msBuildings&disable_features=indoor,boundaries,pistes&map=18.36/38.77665/-112.07941

The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)

No response

bhousel commented 1 year ago

I agree - we have this on #485 as a followup todo item