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 location inputs to modal dialog #80

Open
ehunter-usgs opened this issue Jun 13, 2016 · 1 comment
Open

Add location inputs to modal dialog #80

ehunter-usgs opened this issue Jun 13, 2016 · 1 comment

Comments

@ehunter-usgs
Copy link
Member

ehunter-usgs commented Jun 13, 2016

I would be in favor of replacing the four leaflet controls on the map with a single leaflet control that opens a modal dialog.

Inside the pop-up we would have the four options for setting a user's location. This would be a more mobile friendly solution that would more seamlessly scale with the size of the user's screen. It would also provide additional room to explain how the different options work. Each of the controls could be hidden inside a collapsed accordion, with the first option expanded (current location).

After the user selects their location the pop-up should allow for the user to see the location on the map or choose a new location.

We could also use this as an opportunity to update hazdev-location-view to use Google's Material Icons.

@ehunter-usgs
Copy link
Member Author

img_2848
img_2849

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant