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

On `AlertsDashboard`, recent work to support LineString selection seems to have messed up Polygon event listeners #41

Closed rudokemper closed 3 months ago

rudokemper commented 3 months ago

Current Buggy or Suspicious Behavior

Currently, there is an issue where hovering over an alert polygon does not change the mouse to a pointer any longer. This is likely due to code introduced by https://github.com/ConservationMetrics/guardianconnector-views/pull/37 to support LineString interactivity on the dashboard, specifically the new handleBufferMouseEvent method which is currently set to only work with LineString layers.

Steps to Reproduce

Expected Behavior