Select to view content in your preferred language

Order of Operational Layers

2512
1
01-26-2011 02:07 PM
DanielOchoa
Regular Contributor
All,

Can anyone tell me what controls the order in which the Mapserver (NOT featureserver) operational layers are displayed/listed in the window you see once you click the "more" button, and/or how to change the order?

For the life of me, I can't figure out why one layer gets to be at the top of the list and another one doesnt.  Its not alphabetical, not based on the mapservice name, nor the order in which its listed in the config.xml (at least I dont think they are....could it be projection?) I'd like to arrange them in a specific order (and not have the user have to do it by way of a widget), but the "/0" switch does not apply to mapserver layers.  I am using server 9.3.1.

Thanks!
Tags (2)
0 Kudos
1 Reply
PaulLang
Deactivated User
<operationallayers label="Map Layers">
                
<!-- Bottom of TOC -->
<!--Orthos Single Fused cache Min. Scale 14,450 Max. Scale 1,199-->
<layer label="Orthos 1997" type="tiled" visible="false" alpha="1"
  url="http://gcgis/ArcGIS/rest/services/Imagery/Orthos1997/MapServer" />
      
    <layer label="Orthos 2000" type="tiled" visible="false" alpha="1"
  url="http://gcgis/ArcGIS/rest/services/Imagery/Orthos2000/MapServer" />
      
<layer label="Orthos 2005" type="tiled" visible="false" alpha="1"
  url="http://gcgis/ArcGIS/rest/services/Imagery/Orthos2005/MapServer" />
  
<layer label="Orthos 2009" type="tiled" visible="false" alpha="1"
  url="http://gcgis/ArcGIS/rest/services/Imagery/Orthos2009/MapServer" />
<!--Orthos--> 

       <layer label="Base Map" type="dynamic" visible="true" alpha="1"
         url="http://gcgis/ArcGIS/rest/services/Daily/Dynamic/MapServer"/>
       <!--Dynamic Service contains Address Points, Streets, Parcels updates Daily-->
         
<!-- Top of TOC -->
        </operationallayers>

"Bottom"
Ortho
Polygon
Line
Point
"Top"
0 Kudos