I am able to identify the selected features on my map using the following line:
I would like to be able to deselect this feature using a standalone function (not an event-handler). I've tried using the functions
unselectAll() unsuccessfully and can't find any examples of this approach.
I am aware that clicking on the selected object can be used to
unselect. In this case I want a programmatic solution.