I am having a problem with the ordering of items being loaded into my 
GeoExt.LayerContainer and added to a layertree. Not sure why but with the below 
code the layer DA Label is always added on top of everything else even though I 
clearly have defined it in between everything. Does the ordering of layers 
depend on something else entirely? I am even adding the layer last to my map 
but it still doesn't have any affect, appreciate any assistance.

   loader:
        {
            filter: function(record)
            {
                if (record.data.title == 'Neighbourhood Label' || 
record.data.title == 'Overview Streets' || record.data.title == 'Quadrant 
Streets' || record.data.title == 'Neighbourhood Streets' || record.data.title 
== 'Block Streets' || record.data.title == 'Proposed Streets' || 
record.data.title == 'DA Label' || record.data.title == 'Address Label 
(Overview)' || record.data.title == 'Address Label (Detail)')
                    return true;
            }
            }
        });






_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to