AnsweredAssumed Answered

ArcGISTiledMapServiceLayer network transient errors

Question asked by PetrPokorny on Apr 17, 2018
Latest reply on May 29, 2018 by mnielsen-esristaff

We are using ArcGIS basemap in our app:

http://tiledbasemaps.arcgis.com/arcgis/rest/services/World_Topo_Map/MapServer 

We use 

Basemap.CreateTopographic();

to create the basemap and the method creates instance of ArcGISTiledMapServiceLayer class.

Everything works, but when there are temporary internet connectivity outages, tiles fails to download and the map i useless. 

 

I am wondering if there is any retry logic in the ArcGISTiledMapServiceLayer ?

I thought I would subclass it and add the retry logic but the class is sealed. The base class (ImageTiledLayer) is abstract.

 

I could not find any bootstrap point in the SDK where I could inject HttpClient or HttpMessageHandler with retry policy (and i am wondering if SDK is using it since most of the functionality looks to be implemented in the native c++ library)

 

Is there a way to solve this problem?

 

Outcomes