Topic: Issue with Removing Drawing Elements

When we ported to OnlineMapsDrawingElementManager's RemoveAllItems, RemoveItem methods, we still the the visuals of the drawing elements that were removed.

The child gameobjects under the Map->Drawings gameobject hierarchy still existed.

It seems like the "OnlineMapsDrawingElement.OnRemoveFromMap" would do that cleanup, but it is only being called from the old obsolete OnlineMaps.cs api calls.

Should the new v3 api also call OnRemoveFromMap somewhere? Is there a different remove we should be calling?

Thank you!

Re: Issue with Removing Drawing Elements


Thank you for the bug report.
The problem with removing drawing elements has been fixed.
OnlineMapsDrawingElement.OnRemoveFromMap has been marked obsolete.

Kind Regards,
Infinity Code Team.

uContext is Editor PowerPack (more than 50 tools) that take your workflow in Unity Editor to a next level, simplifies working with content, adds new features, corrects and improves the editor’s built-in behaviors. Click here to download uContext Basic for free.