| Lucas_Werkmeister_WMDE edited subscribers, added: Lucas_Werkmeister_WMDE; removed: LucasWerkmeister. Lucas_Werkmeister_WMDE added a comment. |
I looked into this a bit, and I think I see two main problems:
- We need to somehow map the numeric range of the query results into sensible radii for the map markers (in pixels). I’m not sure if we should leave this to query authors, and expect them to do some maths on the values they have natively, or if we should try to automate it. But I have a feeling that this will be harder than for, say, the bubble chart.
- Performance might suffer. We currently disable our logic to vary the radius by zoom level if there are more than 1000 markers; adjusting the radius individually for each data point on zoom will likely be even more expensive, but I’m not sure if it’s a good idea disable it if there are many markers, if the size is explicitly part of the results.
This might also be slightly tricky to implement (FeatureGroup.setLayer() accepts a callback, but the argument doesn’t seem to carry the original style or data which we need), but I haven’t looked into this in too much detail.
TASK DETAIL
EMAIL PREFERENCES
To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, DarTar, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Salgo60, Jonas, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331, LucasWerkmeister
Cc: Lucas_Werkmeister_WMDE, Aklapper, DarTar, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Salgo60, Jonas, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Mbch331, LucasWerkmeister
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
