Dynamically Selecting Regions #16

Closed
gf3 opened this Issue Jun 22, 2012 · 2 comments

Comments

Projects
None yet
3 participants
@gf3

gf3 commented Jun 22, 2012

Need a method to dynamically select a region by name. E.g.:

$element.vectorMap("set", "selectedRegion", "NY")
@manifestinteractive

This comment has been minimized.

Show comment Hide comment
@manifestinteractive

manifestinteractive Jul 3, 2012

Collaborator

Will add it with its Deselect partner

Collaborator

manifestinteractive commented Jul 3, 2012

Will add it with its Deselect partner

@roberthuttinger

This comment has been minimized.

Show comment Hide comment
@roberthuttinger

roberthuttinger Sep 17, 2012

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¢

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¢

@gf3 gf3 closed this Jun 1, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment