Topic: quickly disable/enable large sets of markers, Drawing Elements, and..
Hi - I have large sets of OnlineMapsMarker, OnlineMapsMarker3D, and OnlineMapsDrawingElement, and am looking for a way to quickly enable and disable them.
I see that all the Markers under a single Markers parent, all drawing elements other under a single Drawings parent, and then all the makers3d objects are childed directly under the map objects itself.
It seems that iterating through all the objects to enable/disable
- Markers and enabling/disabling
- Drawing Elements and 3dMarkers, setting instance.SetActive(false)
takes quite some time visually for the map to update. Not sure why, as it seems the object states change quickly, but the update on the map takes much longer
Is there a way to group makers/elements under different parent objects to quickly enable/disable or ?
Thanks