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.
about 7 years ago
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.