Topic: Clustering markers and or grouping markers like in Atlas of examples.

Hello I have been trying to use the "GroupMarkersExample.cs" and group 2D markers. But I can't seem to figure out how to make it cluster or group my specific markers. And make it release the group at a specific zoom level back to normal. Could you please explain this to me step by step? Thanks in advance!

Re: Clustering markers and or grouping markers like in Atlas of examples.

Hello.

This script does not support the addition or removal of specific markers.
If you need a more flexible way, I recommend you to port for 2D markers this script:
http://forum.infinity-code.com/viewtopi … 2482#p2482
It's pretty easy.
If you have problems with this, I'll try to help.

Kind Regards,
Infinity Code Team

Re: Clustering markers and or grouping markers like in Atlas of examples.

Thanks for the fast reply! I'll try to make it work with that script.

Re: Clustering markers and or grouping markers like in Atlas of examples.

I can't seem to figure out how to make it work with my 2D markers?

Re: Clustering markers and or grouping markers like in Atlas of examples.

I ported a script for you to use with 2D markers (Clustering2DMarkers).

In addition, I attach a script for UI markers (ClusteringUIMarkers).
I think it will be useful if you want to use UI markers.

Scripts "TestXXX" you can use as examples.

Post's attachments

Attachment icon Clustering2DMarkers.cs 20.24 kb, 47 downloads since 2017-11-03 

Attachment icon ClusteringUIMarkers.cs 23.98 kb, 43 downloads since 2017-11-03 

Attachment icon TestClustering2D.cs 1.67 kb, 16 downloads since 2018-12-12 

Attachment icon TestClusteringUIMarkers.cs 1.11 kb, 48 downloads since 2017-11-03 

Kind Regards,
Infinity Code Team

Re: Clustering markers and or grouping markers like in Atlas of examples.

thank you for the fast response! It's a great help!

Re: Clustering markers and or grouping markers like in Atlas of examples.

How do you customize the font for the clusters?

Is there a way to have Clustering2DMarkers display the count on the cluster marker without touching it?

Re: Clustering markers and or grouping markers like in Atlas of examples.

I sent you the required scripts and videos in response to your message by email.

Kind Regards,
Infinity Code Team