AnsweredAssumed Answered

The ArcGISTiledMapServiceLayer cannot be initialized

Question asked by bastischo on Dec 28, 2016
Latest reply on Jan 4, 2017 by bastischo

Hello, in our app, we're using

'com.esri.arcgis.android:arcgis-android:10.2.8-1'.
All of our maps are created via xml:

<com.esri.android.map.MapView
    android:id="@+id/map"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    mapoptions.ZoomLevel="13"
    mapoptions.center="51.033387, 10.322343" />
and then we create an ArcGISTiledMapServiceLayer
mMap.addLayer(new ArcGISTiledMapServiceLayer("http://services.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer"));

This sometimes leads to a black map, which cannot be used.
Completely killing the app mostly helps.

The error we get is as follows:
EsriStatusException [code:-1001, Message:The ArcGISTiledMapServiceLayer cannot be initialized.]

However i have no clue, WHY the layer cannot be initialized.
Also I would be interested in how to properly deal with this Error, since we logged
several thousand of this Error by now across various users and devices.

The screenshots whows an example. Sometimes the FloatingActionButton, which is anchored to the map, is in the upper left corner, as if the map had no size at all

Best Regards, bastischo

Attachments

Outcomes