AnsweredAssumed Answered

Display online and offline layers

Question asked by _hassan on Feb 1, 2015
Latest reply on Feb 18, 2015 by tro

Hello every body

how do i display online layer below of offline layer

 

Online Layer

 

ArcGISTiledMapServiceLayer tileLayer = new ArcGISTiledMapServiceLayer(
  "http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer");
  mMapView.addLayer(tileLayer);

 

Offline Layer from .geodatabase

 

Geodatabase geodatabase = new Geodatabase(Environment
  .getExternalStorageDirectory().getPath()
  + "/ArcGIS/samples/OfflineRouting/Routing/5512.geodatabase")
;geodatabaseFeatureTablesList = geodatabase.getGeodatabaseTables();
for (int i = geodatabaseFeatureTablesList.size() - 1; i >= 0; i--) {
addLayer();
}

 

Edit :

Please note that I'm using Esri-android-Sdk

Outcomes