Hello GeoExt users,

I am sure this is easy but I must be doing something wrong as I've been
getting errors and wrong results.

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();

layerStore.insert(0, map.getLayersByName('Panoramio Photos')[0]);

can someone please explain this to me,

Thank you for your time and consideration,

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

Reply via email to