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 search widget to allow place search on map #2

Closed
prushforth opened this issue Aug 4, 2015 · 2 comments
Closed

Add search widget to allow place search on map #2

prushforth opened this issue Aug 4, 2015 · 2 comments

Comments

@prushforth
Copy link
Member

No description provided.

@prushforth
Copy link
Member Author

This is first an issue with MapML and MapML-Leaflet-Client. Once resolved there it could be re-opened here, to be managed via the 'controls' attribute and/ or scripted API.

@Malvoz
Copy link
Member

Malvoz commented Dec 5, 2021

Relevant (custom UI) experiment: https://maps4html.org/experiments/api/custom-map-ui/geoname-search-ui.html.

prushforth pushed a commit that referenced this issue May 27, 2022
* Add feature indexing

* Toggle feature index on or off

* Toggle feature index on or off

* Check overlap on focus

* Fix function name

* Replace table with output element

* Add CSS for 'more results'

* Limit output to having 9 items at a time

* Optimize the SVG using SVGOMG

Co-authored-by: Robert Linder <robert.vuj.linder@outlook.com>

* Optimize the SVG using SVGOMG

Co-authored-by: Robert Linder <robert.vuj.linder@outlook.com>

* Hide output when empty

* Adding thin outline to reticle

Co-authored-by: Robert Linder <robert.vuj.linder@outlook.com>

* Focus on feature when number key is pressed

* Refactor code

* Fix focusing on feature when number key is pressed

* Fix failing tests

* Add feature index overlay tests

* Make esc key return focus to leaflet container

* Increase reticle size, update tests

* Update feature index overlay output

* change feature index font

Co-authored-by: Robert Linder <robert.vuj.linder@outlook.com>

* Update span attribute

* Add feature index overlay option

* Fix cs of us_pop_density.mapml

* Improve feature index styling for visual users (#1)

* Make reticle responsive

* Open popup instead of focusing

* Static overlay dimensions

* Improve readability of feature index

* Focus feature if no popup is available

* Update featureIndexOverlay.test.js to account for new reticle size

* Fix index popup issue + make sure index keys are valid onKeyDown

* Fix tabbing issue + add popup test

* Change popup behaviour

* Remove features from tabindex when FeatureIndexOverlay is enabled

* Update feature index screen reading behavior  (#2)

* Only start checking overlap when/after the first focus happens

* Announce map details and then feature index on initial focus

* Announce map details and then feature index on refocus

* Focus map directly when popup is closed and feature index option is on

* Remove reticle when the map is not focused

* Add hidden comma for brief pauses in output reading

* Announce feature index on popupclose

* Update featureIndexOverlay.test.js

* Hide reticle when popup is open

Co-authored-by: Robert Linder <robert.vuj.linder@outlook.com>
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

2 participants