Selecting multiple areas map
Using “active” state
It’s easy to toggle between element’s “active” state. Just set its isActive property to either true or false.
The map will automatically apply “active” state, which can have any property overrides, like, in this instance, color.
More about states
Demo source