Hi,
I am using the ArcGis Api for JavaScript ,
I have a map and two layers:
1 : esri/layers/KMLLayer
2 : esri/layers/ArcGISTiledMapServiceLayer
I am trying to reorder the two layer on a button click : I am procedeeding like this :
- remove the two layer
- reorder my layers inside an array
- at this point the map contains no layer and the array contains the exact order of the layers
- adding two layers to the map
Unfortunately I am getting this error in chrome :
Error : Inspected target has crashed . Once it reloads we will attach to it automatically.
I tryed the same with 2 esri/layers/ArcGISTiledMapServiceLayer every thing works fine.
Any idea of what is causing me this issue ?
Thanks
apparently the error is generated by this script : js.arcgis.com/3.9/js/esri/geometry/Extent.js:30