Topic: UGUI marker grouping
Hi,
Is it possible to group custom 2d markers? I can't get group example script to work with ugui marker script.
You are not logged in. Please login or register.
Infinity Code Forum → Online Maps Help → UGUI marker grouping
Hi,
Is it possible to group custom 2d markers? I can't get group example script to work with ugui marker script.
Hello.
It's funny, I just yesterday written this script (attached) for another customer.
I hope this will work well.
I can't get markers visible when I zoom in. I only see groups appearing and disappearing when zooming / moving map.
Yes, there is a typo in the script.
Fixed script is attached.
Thanks, it is working now!
One more question:
I can see there is kind of 4x4 grid of groups. Is it possible to modify this?
Unfortunately, I did not understand what you mean «4x4 grid of groups».
There markers are grouped, if they are in the same tile for same zoom level.
Can I increase number of tiles somehow?
Yes, you need to modify implementations of ClusterItem.CompareTiles.
I am not sure how to do that. There is two methods for CompareTiles.
You need to modify both methods.
Infinity Code Forum → Online Maps Help → UGUI marker grouping
Powered by PunBB, supported by Informer Technologies, Inc.