AnsweredAssumed Answered

Reordering ArcGISImageServiceLayer

Question asked by sng.yongpeng.bryan on May 23, 2016
Latest reply on Jun 2, 2016 by sng.yongpeng.bryan

Hi guys,

 

Is there a way to reorder ArcGISImageServiceLayer (ArcGISImageServiceLayer | API Reference | ArcGIS API for JavaScript ) using the Map reorderLayer method (Map | API Reference | ArcGIS API for JavaScript ) ?

 

I notice that it will be created as

  <div> under <div> with class="esriMapLayers"

instead of

  <g> under <svg>

where all the feature layers are loaded into

 

I think this maybe the reason why reorderLayer does not work for ArcGISImageServiceLayer.

 

I'm ok with any method as long as I can do reordering of ArcGISImageServiceLayer with FeatureLayer.

 

Alternatively, is there any way I can display a raster image that support reordering?

 

Thanks!

Outcomes