Start a new topic

Clear pois

Clear pois


Hello, i have my activity in android where pass the json data with callJavaScript("World.loadPoisFromJsonData", new String { jsonPois.toString() }); 

With this all is allright. Works fine.

Now I have a button for filter this pois and I call again to  callJavaScript("World.loadPoisFromJsonData", new String { jsonPois.toString() });  now for example with only poi.

But in the world and radar I still can ver all previous pois. 

I clear the markerList and the status message tell me the correct message ( 1 places loaded )

 

Is there any way to reset?

 

 

Thanks (sorry for my english :)

I think that I found it

 

AR.context.destroyAll();

 

Thx
Login or Signup to post a comment