Hello GeoExt users,<br><br>I am sure this is easy but I must be doing something wrong as I&#39;ve been getting errors and wrong results.<br><br>I have a layer store and then later on in my code I want to add another layer to it.  I have tried both the .add() and .insert() methods without success, preferably would like to use .insert();<br>
<br>layerStore.insert(0, map.getLayersByName(&#39;Panoramio Photos&#39;)[0]);<br><br>can someone please explain this to me,<br><br>Thank you for your time and consideration,<br><br>elshae<br>