bcgov / bc-aquifer-dashboard

A dashboard/portal for viewing and querying provincial aquifer data
Apache License 2.0
4 stars 1 forks source link

search tool activation #15

Closed paulfi closed 6 years ago

paulfi commented 6 years ago

when the user enters a region or district name in the search box, it should zoom to it and highlight it! can use the same layer that is being used to highlight an aquifer, just need to update the shape source for it to be the selected administrative area.

IanLaingBCGov commented 6 years ago

Line 200 (as of now) in filterEvents function in dashboarding.js

IanLaingBCGov commented 6 years ago

Nice zooming and highlighting of the Regions Paul. One glitch: 'Kootenay-Boundary Region' is NOT working. Project ID not found

Fixed this by removing '-1' from returnLayerByAttribute function in makeamap.js i.e., for (i=0;i<arLayers.length;i++) {

paulfi commented 6 years ago

i did the same, haven't done a commit yet !