geoadmin/mf-geoadmin3 — pull request #220 by loicgasser (2013-08-08 11:40:26+00:00)
Title: Search

I think it makes sense to merge it now. If you think I need to squash those commits I'll do it.

What's done:
1. Load suggestions using the search service of chsdi3
2. Search for layers is topic dependent (react on topic change)
3. Language dependent
4. Uses a bounding box to look for locations
5. Zoom in on location selection
6. Add Layer on map info selection or hovering
7. Styling close to specs
8. Clear button to erase the input value
9. Help buttons in the footer
10. Adapt correctly according to screen width

What needs to be done:
1. Example
2. Query features in a queryable layer is in the map
3. Add feature to the map when selected
3. Change the phone button to whatever David wants
4. Adapt it for mobile
5. Add double click (dropdown list doesn't close and the layer or map info are added)
6. Tests
7. More styling (screen width dependent for dropdown list for instance)
8. Legend button should get the legend... (alert msg at the moment)
9. Probably move some redundant functions in a unique service
10. Translations
11. Search button (don't really know the use case though)

Note:
Not happy with the footer definition, I tried to use ng-include, but I had digest errors... Any idea?