Hi there! Yes of course there is. According to our documentation of the GeoObject you can either disable them with the "enable" property of the GeoObject or destroying them and remove them from the ARView completely. Of course you can always create a new GeoObject that will be added to the ARView.
Hope that helps,
Markus
S
Sourya Saha
said
almost 9 years ago
Hi Markus,
Thanks for the quick reply. Basically i am using wikitude in an android project. For instane if i have a list of markers in loadworld.js say
// list of AR.GeoObjects that are currently shown in the scene / World
markerList:
Now if we want to delete the markers present in this list, then the code will be something like this :-
for(var i = 0; i < World.markerList.length; i++){
// First way
World.markerList.remove();
// or this Second way :-
World.markerList.destroy();
}
Will the above mentioned code will destroy all the markers in the arview or i need to do something else? Please point me to right direction.
Markus Eder