Any advice on how to get this to work? I’d like a user to be able to select a state on the map by either clicking on the state, or by selecting it from the drop-down:
So far the user can do that, but I’d like for the map and the drop-down to update/sync when the other input is used. I’ve tried adding another layer of variables that hold the state (pun intended) and try to check for changes. For example, if the user clicks on Texas, the drop-down should also change to ‘Texas’ and vice-versa.
Any help would be appreciated! Thanks