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

Pick coordinate #10

Closed
dehmer opened this issue Apr 13, 2019 · 6 comments
Closed

Pick coordinate #10

dehmer opened this issue Apr 13, 2019 · 6 comments
Labels
discussion feature request for a new feature

Comments

@dehmer
Copy link
Member

dehmer commented Apr 13, 2019

The user should be able to pick a coordinate directly from the map.
Selected coordinate is copied as text to the system clipboard in the coordinate display format configured in user settings.

Discussion: What are the use cases (i.e. the users goal) for this?

@dehmer dehmer added feature request for a new feature discussion labels Apr 13, 2019
@dehmer dehmer added this to the April 2019 - Map milestone Apr 13, 2019
@dehmer
Copy link
Member Author

dehmer commented Apr 13, 2019

If more than one coordinate should be picked at a time, it would be possible to collect coordinates in a list (right sidebar), which then can be copied as text into the clipboard.

Picked coordinates can be displayed with markers, focusing/selecting a coordinate from the list, centers map to this coordinate and/or highlights the corresponding marker.

@dehmer
Copy link
Member Author

dehmer commented Apr 13, 2019

A bi-directional synchronisation between (movable) coordinate markers on the map and (editable) coordinates in the 'pick list', would make explicit 'go to coordinate' (#9) obsolete.

@ThomasHalwax
Copy link
Member

If more than one coordinate should be picked at a time, it would be possible to collect coordinates in a list (right sidebar), which then can be copied as text into the clipboard.

Picked coordinates can be displayed with markers, focusing/selecting a coordinate from the list, centers map to this coordinate and/or highlights the corresponding marker.

Picking multiple coordinates at a time is like creating a polyline, isn't it? Maybe we can focus on a distance measurement tool that shows it's coordinates in a pick list.

@dehmer
Copy link
Member Author

dehmer commented Apr 14, 2019

@ThomasHalwax
For me, this feature is limited to pulling one (or more) coordinates from the map to be used as text input in other applications or for documents. Editing polylines or polygons is quite similar and may also display a list of coordinates. The same applies to a measuring tool with one or more line segments.

I think, the base case for one coordinate would be enough at the moment. But thinking ahead, a generic 'view' for a coordinate list on the map (with bi-directional synchronization; map <-> view) could kill a bunch of birds with one stone:

  • pick/copy one or more coordinates
  • goto coordinate
  • display (add/remove) points of interest (labelled and/or tagged coordinates)
  • display (add/remove) named bookmarks (center coordinate + zoom)

Proposal: Let's KISS and limit this feature to one coordinate for now. User selects 'pick coordinate' action, cursor changes to some sort of crosshairs, user clicks on the map, coordinates text representation gets copied to clipboard, cursor goes back to normal.

@dehmer
Copy link
Member Author

dehmer commented Apr 14, 2019

depends on #11

@dehmer dehmer added wip and removed wip labels Apr 14, 2019
@dehmer
Copy link
Member Author

dehmer commented Apr 14, 2019

Implemented the following:

  • Ctrl + Shift keys switch to copy coordinate mode (crosshairs cursor)
  • Clicking the map copies coordinate to clipboard (decimal latitude/longitude)
  • Screen briefly flashed, a click sound is played
  • Message in on-screen display (OSD) temporarily shows: Copied coordinate to clipboard

Screenshot 2019-04-14 at 12 24 47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion feature request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants