Open jolevesq opened 2 months ago
Issues found while working on this ticket...
When we click on layer, features are fetched and icons are created from map canvas in the file
packages/geoview-core/src/geo/layer/geoview-layers/abstract-geoview-layers.ts
and function formatFeatureInfoResult
, In this function when we build promisedAllCanvasFound
array, it run's the forEach loop at line#1320.
While executing this step of creating promise and looping, it hangs the UI aka unresponsive or sometime page is crashed.
To resolve this we might need to paginate the data, instead of pulling all icons at single shot.
I tried to implement the web worker api, while implementing i found that web-worker has limitation where web-workers has no access to DOM elements.
When i comment out the building canvas icons for each feature, building and rendering data table is fast.
Is there an existing issue for this?
Current Behavior
When there is a huge table and the table is very slow to respond, there is no loading indicator on the layer (green and spinning). The layer is not selected before download is completed. We do not even see the skeleton.
Expected Behavior
Before downloading data, the layer selector should be in proper state (loading if needed) and the skeleton should be shown.
Steps To Reproduce
Anything else?
No response