Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi polygon highlights independently if non-contiguous #285

Open
willcrouch opened this issue Mar 31, 2020 · 1 comment
Open

Multi polygon highlights independently if non-contiguous #285

willcrouch opened this issue Mar 31, 2020 · 1 comment

Comments

@willcrouch
Copy link

willcrouch commented Mar 31, 2020

Describe the bug
Anytime I load a map of the us with something like census mapping, land masses like the Alaskan islands or Michigan don't highlight together with the rest of the land mass.

To Reproduce

mapdeck(
  pitch = 35,
  token = "token"
) %>%
  add_polygon(
    data = States,
    auto_highlight = TRUE,
    highlight_colour = "#AAFFFFFF"
  )

Expected behaviour
If I highlighted Michigan, I would assume both sections would be highlighted

Versions
0.2.1

@SymbolixAU
Copy link
Collaborator

duplicate of - #160

At the moment this is not possible without writing a custom layer extension.

I plan to get to this some day, but not immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant