OpenWaterFoundation / owf-app-infomapper-ng

Open Water Foundation InfoMapper web application for menu-driven maps and visualizations, using Angular
GNU General Public License v3.0
1 stars 2 forks source link

Need a global search tool #169

Open smalers opened 4 years ago

smalers commented 4 years ago

This would be useful but is lower priority than other issues.

For complicated maps it can be difficult to find a feature of interest. Therefore, there is a need for a global search tool, similar to web browser URL/search text field. Here are some ideas:

smalers commented 4 years ago

Maybe also need configuration properties at layer level to indicate which attributes should be involved in the search. The tool might be slow if it needs to search every map layer's attributes, and I'm not sure how numbers would work. For example, search could be limited to:

  1. Only certain types (strings)
  2. Only certain attributes (name, description, etc.)
  3. Also, what to do about layers that show up in multiple maps?
smalers commented 4 years ago

See the search tool on the NovaStar Operator as an example. This works relatively well. My main comments are the symbol size should be in pixel, not map units, and maybe auto-zoom should return to the zoom level before the search. The InfoMapper could add a surrounding outline to selected symbols or color the symbols. This needs to be worked out.