ConservationMetrics / guardianconnector-views

A Nuxt.js tool that reads data from a SQL database and renders it on different views (map, gallery, alerts dashboard)
MIT License
3 stars 0 forks source link

Add alerts to map legend, and improve graphic for geometry type #45

Closed rudokemper closed 3 months ago

rudokemper commented 3 months ago

Closes https://github.com/ConservationMetrics/guardianconnector-views/issues/43.

Goal

To add alerts from the Alerts Dashboard component to the Map Legend, and to improve the legend graphic for polygons and point geometries.

Screenshots

Linestring alerts - before & after image image

Polygon alerts - before & after image image

What I changed

rudokemper commented 3 months ago

@IamJeffG any opinions on the legend styling here? (Note that it's quite tricky to really do justice to how a polygon might look on a map, considering that the shape of a polygon could be just about anything!)

IamJeffG commented 3 months ago

Looks great! I absolutely love the polygon blob icons!

My one suggestion would to be use shades in the same color family for related information. For example the 3 polygons for mining (2019-2022; previous alerts; latest alerts) are each chosen from:

image

And if it ends up looking ugly on the map, then feel free to disregard.