koopjs / koop-output-vector-tiles

Apache License 2.0
16 stars 9 forks source link

Koop Vector Tile Service is not clearing graphics of previous map zoom levels at times #34

Open GopinathPD opened 2 years ago

GopinathPD commented 2 years ago

Hi Team,

We are using koop.js to render hexagon polygons through vector tile services. Koop services are fetching the data from elasticsearch and sending back to UI (Angular + ArcGIS Javascript API) in the form of polygon geometry. We are observing that the hex tile layer is not clearing at times for some of the tiles. This is not a consistent issue w.r.t any place or data. Most of our users are facing this issue once in a while.

Details: "@koopjs/provider-elasticsearch": "3.0.0", "@koopjs/output-vector-tiles": "^2.1.1", "@elastic/elasticsearch": "^7.13.0", "dotenv": "^10.0.0", "express": "4.16.4", "koop": "^4.0.4", "koop-output-geoservices": "^2.0.0"

Angular: 9 ArcGIS Javascript API: 4.20

Any help in resolving the issue is highly appreciated. error-screenshot

rgwozdz commented 1 year ago

cc @dhatcher

jmp601 commented 1 year ago

We have noticed this behavior too, @dhatcher but I am waiting to test the new stuff you've pushed out. @GopinathPD I would recommend upgrading the elastic provider beyond 3.4.2 as that included fixes for Hex aggs at different precisions. Let me know if this fixes your issue! We've been working a lot with Danny on the elasticsearch provider.