Use a variable to retrieve the value of an attribute

12 views
Skip to first unread message

David

unread,
Jan 14, 2020, 10:19:43 AM1/14/20
to OpenLayers Dev

Hi,

firstly i have to apologize for my english, i will try to explain it as well as possible.


I'm developing a dynamic legend and i need to access the field by wich each layer is symbolized and then use "FeaturesList[i].values_.Variable" (searching a field named "Variable") to get the values and use them to reproduce their symbolism in a patch. Is there any way to insert a variable in that code or another solution?


Thanks in advance

Reply all
Reply to author
Forward
0 new messages