Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Dynamically Selecting Regions #16
referenced this issue
Aug 9, 2012
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
What about selecting multiple elements? $element.vectorMap("set", "selectedRegion", ["NY","OH,"OR"]); Deselect might have to be atomic. If Oregon was deselected, would the default behavior be to deselect them all? It seems to make sense that actively selecting a state (in this case) would deselect the rest. My 2¢