Start a new topic

Clearing the AR view data

Clearing the AR view data

Thanks for that, it worked.

I have posted another query, it would be great if you could provide a solution to that. Thanks. (

Each time while loading the AR view, I need to clear up the data before hand to avoid duplication of data. I used the line AR.context.destroyAll() but it takes off the radar and then the radar doesn't show up. Is there any other way to clear the data? Please, its urgent.


destroyAll() clears everything. If you want the radar to be visible again, just set it up again. Another however more complex method would be to destroy each object individually with .destroy(). If you choose to do this, make sure that you call every object's destroy() method, e.g. GeoObject + Drawables + Locations.
Login or Signup to post a comment