comunica / jQuery-Widget.js

🖼 A jQuery widget to query heterogeneous interfaces using Comunica SPARQL
http://query.linkeddatafragments.org/
MIT License
19 stars 34 forks source link

Result counter and timer don't update when map gets populated on Chrome #90

Open KasperZutterman opened 3 years ago

KasperZutterman commented 3 years ago

While the query is running the counter and clock are updating, but when the map is shown these fields freeze. Only when I press Stop Execution it gets updated.

Sample Query

image

This problem occurs on Google Chrome, on Firefox this isn't an issue.


Bounty

A bounty has been placed on this issue by:

Comunica Association
€136

Click here to learn more if you're interested in claiming this bounty by resolving this issue.

rubensworks commented 3 years ago

For reference, this is probably because the code doesn't allow the render loop to take place.

Could by fixed by either making the map logic faster, letting it run in a separate worker (not sure if that would work), or only adding points to the map every X ticks.

pietercolpaert commented 3 years ago

Indeed: it seems that now also the map will recalculate how it should be centered on each point that gets added, which requires also to check which tiles need to be downloaded on which zoom level. Probably buffering could be of help here?

rubensworks commented 4 months ago

A bounty has been placed on this issue via the Comunica Association (see original post).