[Users] How to find layer record from layer node ?

Alexandre Dube adube at mapgears.com
Wed Mar 24 14:03:04 CET 2010


Alexandre Dube wrote:
> Here's how I would do it : create a method for the Store object that 
> creates an array with values of a specific attribute. The result would 
> be similar to the layers array in OpenLayers, so from then we would 
> simply need to use indexOf. What do you think ?
>   
Same piece of code here :

http://pastebin.com/K954f606

-- 
Alexandre Dubé
Mapgears
www.mapgears.com



More information about the Users mailing list