Select to view content in your preferred language

How to reload map?

1230
1
11-17-2010 06:27 PM
NicholasLeung
Emerging Contributor
I have written a function to detect the network connectivity of the iOS device. Currently, the map will not reload or do anything after the connection has gone.
I want to write a function to reload the map when the connection has back on.
It would be great if anyone can give me a hand on this.

Many Thanks!!!:)
0 Kudos
1 Reply
DiveshGoyal
Esri Regular Contributor
Layers have a resubmitWithURL:credential: method that allows you to reload them if they previously failed to load.

You'll have to do this for each service layer in the map.
0 Kudos