How to set a layer to the last-lowest layerposition on the map?

Jun 3, 2013 at 11:50 PM
When I add a layer it is always send to the most upper position in the layerlist thus always drawn on top....

I am searching for the solution to send the newly added layer to the lowest/last position in the layerlist.... so being drawn under all other layers....


Jun 4, 2013 at 6:44 AM
In MapLayerCollection.cs , I found :
/// <summary>
        /// Inserts an element into the System.Collections.Generic.List&lt;T&gt; at the specified index.
        /// </summary>
        /// <param name="index">The zero-based index at which item should be inserted.</param>
        /// <param name="item">The object to insert. The value can be null for reference types.</param>
        /// <exception cref="System.ArgumentOutOfRangeException">index is less than 0.-or-index is greater than System.Collections.Generic.List&lt;T&gt;.Count.</exception>
        /// <exception cref="System.ApplicationException">Unable to insert while the ReadOnly property is set to true.</exception>
        public void Insert(int index, IMapLayer item)
Can it be useful for you?

Nat (just trying)
Jun 11, 2013 at 2:21 AM
not yet converters dont allow me to convert this from cs to vb.... but thanx anyway