hholzgra / maposmatic

Mirror of maposmatic repository at savannah.nongnu.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow typing of bounding box

maltfield opened this issue · comments

Feature request: Allow the user to edit the bounding box in the WUI by typing it.

Use Case

For example, I can upload a GPX file or "draw" a bounding box on my screen with my mouse. Then it will tell me just below the map what the coordinates of my bounding box are. For example, it could say something like this:

48°56'16"N 1°59'1"E  ↘  48°46'50"N 2°42'29"E    ( ca. 53 x 17 km²)

What I would like to do is be able to either:

  1. Click on a button named edit next to the above bounding box coordinates or
  2. double-click on one of the coordinates itself (eg 48°56'16"N 1°59'1"E) and change it directly by typing

After altering the bounding box's coordinates in this way, the slippy map above should automatically resize itself to match the changes made by the user.