Select to view content in your preferred language

ArcGISDynamicMapServiceLayer in 100.4.0?

609
0
12-21-2018 09:17 PM
ThomasSaldana
Emerging Contributor

I used to use the ArcGISDynamicMapServiceLayer public class before when i used to use the 10.2.9 API. However, I want to start using 100.4.0. Does anyone know if the ArcGISDynamicMapServiceLayer public class exist in 100.4.0?

This is how i used to display my map layers in my android application using 10.2.9 API:

mMapView = (MapView) findViewById(R.id.map);

 int[] layerId = {49,42,41,9,12}; / /first floor layer

/Adding the DynamicMapServiceLayer on the mapView
//Initializing the first floor layer on startup

ArcGISDynamicMapServiceLayer dynamicMapServiceLayer = new ArcGISDynamicMapServiceLayer(getResources().getString(R.string.MapServer),layerId);

mMapView.addLayer(dynamicMapServiceLayer);

Here is the ArcGISDynamicMapServiceLayer public class for reference:

ArcGISDynamicMapServiceLayer | ArcGIS Android 10.2.9 API 

0 Kudos
0 Replies