I have this service:
http://*************/ArcGIS/rest/services/mod_streets/MapServer
Layers:
Numbers (0)
StreetsGraph (1)
Streets (2)
And I'm trying to use only Numbers (note /0)
map = (MapView) findViewById(R.id.map);
ArcGISDynamicMapServiceLayer layerStreets = new ArcGISDynamicMapServiceLayer("http://*************/ArcGIS/rest/services/mod_streets/MapServer/0");
map.addLayer(layerStreets);
This is not working.
But this works (removing /0 but all layers are displayed into the map)
map = (MapView) findViewById(R.id.map);
ArcGISDynamicMapServiceLayer layerStreets = new ArcGISDynamicMapServiceLayer("http://*************/ArcGIS/rest/services/mod_streets/MapServer");
map.addLayer(layerStreets);
I want to see only Numbers in my Android map...Any ideas?