Unable to reload base map with different geocode database

3422
3
11-20-2015 12:29 AM
RahulDev
New Contributor

I am downloading a geocode database  from web server, extracting the AGSFeatureTableLayers from it and adding on my base map.   But when trying to reload the map with different geocode database, the map doesn’t get reset and it displays the AGSFeatureTableLayers from previous geocode database.   When I relaunch the app it works fine.

0 Kudos
3 Replies
DiveshGoyal
Esri Regular Contributor

Have you tried calling AGSMapView#reset​ to clear the map view and then adding layers?​

0 Kudos
RahulDev
New Contributor

Yes. Also tried to reinitialise the AGSMapView before reload but no effect. I can see the updated layers only after relaunching the app.

0 Kudos
DiveshGoyal
Esri Regular Contributor

Can you provide some code to reproduce this problem?

0 Kudos