Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map crashes Special:BrowseData when many printouts are required #5

Open
krabina opened this issue Nov 17, 2022 · 0 comments
Open

Map crashes Special:BrowseData when many printouts are required #5

krabina opened this issue Nov 17, 2022 · 0 comments

Comments

@krabina
Copy link
Contributor

krabina commented Nov 17, 2022

The same query here:
https://fina.knowledge.wiki/Special:BrowseData/Correspondence
results in a blank page when I add one more printout: I it seems more than four are not possible. As you can see from the table below, this only happens in the map result format.

|display parameters=?Coordinates;?Author;?Recipient;?Associated persons;format=map;caption=Map

Seems to be a JS issue:
image

Is is a performance problem. If I try the same with a regular query, I get
Unstrip size limit exceeded (5,000,000), see ProfessionalWiki/Maps#565
At least SD should catch the error instead of crashing

TODO: investigate possibility to use marker-cluster, e.g. https://developers.google.com/maps/documentation/javascript/marker-clustering
example: https://www.memento.wien/map/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant