angelruiz

Problem with ArcGISTiledMapServiceLayer and ArcGISDinamicMapServiceLayer

Discussion created by angelruiz on Dec 12, 2012
Latest reply on Dec 18, 2012 by doneill-esristaff
That´s the problem I have, I want to add to a esri Mapview one ArcGISTiledMapServiceLayer and then other two different ArcGISDinamicMapServiceLayer and i get this error:

12-12 11:32:42.015: E/ArcGIS(10935): ImageCallback.onError
12-12 11:32:42.015: E/ArcGIS(10935): com.esri.core.io.EsriServiceException: Not Found
12-12 11:32:42.015: E/ArcGIS(10935): at com.esri.core.internal.b.a.b.a(Unknown Source)
12-12 11:32:42.015: E/ArcGIS(10935): at com.esri.core.internal.b.a.a.a(Unknown Source)
12-12 11:32:42.015: E/ArcGIS(10935): at com.esri.core.internal.a.a.g.b(Unknown Source)
12-12 11:32:42.015: E/ArcGIS(10935): at com.esri.android.map.ags.ArcGISDynamicMapServiceLayer.getImage(Unknown Source)
12-12 11:32:42.015: E/ArcGIS(10935): at com.esri.android.map.DynamicLayer$1.run(Unknown Source)
12-12 11:32:42.015: E/ArcGIS(10935): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
12-12 11:32:42.015: E/ArcGIS(10935): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
12-12 11:32:42.015: E/ArcGIS(10935): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
12-12 11:32:42.015: E/ArcGIS(10935): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
12-12 11:32:42.015: E/ArcGIS(10935): at java.lang.Thread.run(Thread.java:856)
12-12 11:32:42.273: E/ArcGIS(10935): ImageCallback.onError
12-12 11:32:42.273: E/ArcGIS(10935): com.esri.core.io.EsriServiceException: Not Found
12-12 11:32:42.273: E/ArcGIS(10935): at com.esri.core.internal.b.a.b.a(Unknown Source)
12-12 11:32:42.273: E/ArcGIS(10935): at com.esri.core.internal.b.a.a.a(Unknown Source)
12-12 11:32:42.273: E/ArcGIS(10935): at com.esri.core.internal.a.a.g.b(Unknown Source)
12-12 11:32:42.273: E/ArcGIS(10935): at com.esri.android.map.ags.ArcGISDynamicMapServiceLayer.getImage(Unknown Source)
12-12 11:32:42.273: E/ArcGIS(10935): at com.esri.android.map.DynamicLayer$1.run(Unknown Source)
12-12 11:32:42.273: E/ArcGIS(10935): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
12-12 11:32:42.273: E/ArcGIS(10935): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
12-12 11:32:42.273: E/ArcGIS(10935): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
12-12 11:32:42.273: E/ArcGIS(10935): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
12-12 11:32:42.273: E/ArcGIS(10935): at java.lang.Thread.run(Thread.java:856)[/COLOR]

and the dinamycLayer do not display their graphics.

If I use three ArcGISTiledMapServiceLaye I have no problem.

Is there any option to have ArcGISTiledMapServiceLayer and ArcGISDinamicMapServiceLayer in the same mapview without that ImageCallback.onErrors????

Outcomes