Canadian-Geospatial-Platform / geoview

Canadian Geospatial Platform Viewer / Visualiseur de la Plateforme Géospatiale Canadienne
Other
22 stars 32 forks source link

[BUG] Layers Automatic Table #2300

Closed jolevesq closed 3 months ago

jolevesq commented 3 months ago

Is there an existing issue for this?

Current Behavior

When we select a layer, the getAllFeature info seems to be triggered even if did not click on table icon.

Expected Behavior

This getAll.. should be trigger only when data table is clicked on.

Steps To Reproduce

  1. https://canadian-geospatial-platform.github.io/geoview/public/outlier-GeoAI.html
  2. Go to Layers tab and select a layer

See how long it takes to see the table icon on right panel and look at console to see the time it takes. Try to click on many layers one after the other and UI will freeze

Anything else?

No response

jolevesq commented 3 months ago

Related to #2271