This repository was archived by the owner on Sep 5, 2025. It is now read-only.
Cluster by data object field? #94
frederikheld
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
thanks for this awesome Vue plugin!
I have a question about
<GMapCluster>
: I would like to cluster markers by an entry with the keyquarter
in the marker's location object so that I get one cluster for each of a city's quarters.Through this post I found the undocumented prop
algorithm
which brought me to the@googlemaps/markerclusterer
and the underlyingsupercluster
libraries.But I can't make sense of the options for this library and if - at all - it is possible to group markers by anything else but distance.
Is clustering by an object entry possible?
Thanks in advance,
Frederik
Beta Was this translation helpful? Give feedback.
All reactions