ngds/ckanext-ngds — pull request #198 by asonnenschein (2014-01-03 17:06:52+00:00)
Title: Map Search Refactor

Completely refactored the map search UI code. Problems that are fixed with this PR:
-Got rid of legacy code
-Made better use of external APIs
-Got rid of low-level, version dependent hacks
-Only the current versions of external APIs are loaded
-Did away with cluttered UI
-Less buttons, collapsible TOC
-Less clicks to get data!
-Entering a query or drawing a bounding box triggers search code
-New basemap (still free)
-No more bounding boxes, results returned as centroids
-Smart highlighting
-Mouse over a search result, it highlights in the TOC and the map

There's still room for improvement:
-Search results are not organized into pages in the TOC
-Loading WMS layers can take some time
-Solve by creating WMS layers, but not adding them to the map
-Support searches within search results instead of refreshing