onaio / gisida

JavaScript library that converts MapSpec layers to beautiful, interactive maps using Mapbox GL
http://gisida.onalabs.org/
Apache License 2.0
10 stars 3 forks source link

Nutrition sites Layer Enhancement #472

Closed kahummer closed 2 years ago

kahummer commented 4 years ago

This issue is inspired by the question How easy is it to find a nutrition site on service mapping ? Screenshot from 2020-06-22 15-22-43

Currently, all nutrition sites are being rendered at once. This makes it hard for the users to find a specific site on the map. Proposed Solution Add a grouped layer this should have

On layer selection render the grouped layers hiding the nutrition sites layer using opacity property. On circle selection zoom into the district, filtering out nutrition sites without the district and adding opacity on the nutrition site layers Add a layer reset button that will zoom out to default zoom level and retain the initial state of nutrition site layers This is inspired by a feature we have on Ugatlas. Screenshot from 2020-06-22 15-47-44 Screenshot from 2020-06-22 15-47-44 Screenshot from 2020-06-22 15-48-00 Screenshot from 2020-06-22 15-48-00

The difference between proposed implementation and ugatlas is we are not rendering the point/symbol layers at first which I think is a more cleaner way of visualizing the sites @ciremusyoka @akahure @kelvin-muchiri @engwiri @ukanga Please share your thoughts on this when you have a chance

kelvin-muchiri commented 4 years ago

This would be a nice feature to have improving on usability