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

Markers cluster #2436

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

okauppinen
Copy link
Contributor

Enable clustering for markers. Changed mapmodule generator cluster style to return style instead of function to use same cache and style than others (WFS). WFS uses wrapClusterStyleFunction.

Not sure if cluestered markers are wanted everywhere so made it configurable. Maybe we should add prop + plugin modifier for backend.

One problem might be that nearest address markers can be very close.

image

@ZakarFin
Copy link
Member

ZakarFin commented Oct 6, 2023

There's a request for showing the Oskari infobox (https://oskari.org/api/requests#/2.12.0/ui/infobox/request/infobox.showinfoboxrequest.md) and pointing it to a specific marker. We should test if it works with clustering, but other than that this looks good to me.

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

Successfully merging this pull request may close these issues.

2 participants