Select to view content in your preferred language

How to handle post initialization loading problems with layers?

533
2
12-22-2011 07:29 AM
AustinBarton
Emerging Contributor
Given an intermittent connection where a layer may not be able to load data, how can loading failures be acted upon?

E.g.
I have one ArcGISTiledMapServiceLayer in my Map that has initialized and loaded the current extent correctly. I lose my internet connection and change the map's extent. The new tiles fail to load.

Given this particular example, the TiledLayer.TileLoading event does not report any errors and I am not seeing anything that identifies the failure.

I am interested in a solution for any layer type that may dynamically load data.
0 Kudos
2 Replies
SanajyJadhav
Deactivated User
Do you see anything in Map::MapProgress?
0 Kudos
AustinBarton
Emerging Contributor
The MapProgress continues to fire regardless of internet connectivity. I don't observe anything meaningful in the behavior of the event.
0 Kudos