I want to get rid of all entities whether its viewer.entities or those added via dataSources. Problem is:
viewer.entities.removeAll();
does not remove all entities (it does not remove ones added by GeoJSONDataSource. What is the appropriate call to remove all entities? I tried the following but it does not work either:
viewer.dataSources.entities.removeAll();