LINK TO MY CODE: https://gist.github.com/saraneh/e2d1b1e8ebe049f947148f92d0b64f18
This program is a map which shows two layers: a flood layer and a county layer.
You can select which county you are interested in with the drop down, and when you select it it returns the geometry for that feature.There are also 3 other dropdowns (numeric arrays).
What I can't figure out is how to also access the attributes for the county selected. I want to be able to (depending on the county selected) access the values for the fields in the attribute table and then do a calculation with those values