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

Add "read-only" map to sample edit modal when editing lat/lon slot #180

Open
pkalita-lbl opened this issue Sep 17, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@pkalita-lbl
Copy link
Collaborator

When editing the latitude and longitude slot of a sample we offer a button to populate the textbox using the device's GPS sensor. Without any further context it may not be clear to the user that this value is correct or accurate. We could address this by adding a map display below the textbox. Once a value is filled in (either manually or via the GPS sensor) the map display could include a marker for that location. This could give the user more confidence that the value entered in the textbox does in fact represent where they are.

As a first iteration I see this map just being a static display of the entered coordinates (i.e. a one-way binding). In a later iteration we could consider making the map more interactive so that you could move the marker around the map, and have that interaction update the coordinates in the textbox. This would allow fine-tuning of a value provided by GPS sensor. But again, I think that two-way binding is just something to consider for later and not this task.

@pkalita-lbl pkalita-lbl added the enhancement New feature or request label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant