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

Is it possible to make clickable areas (svg paths)? #49

Open
sam43 opened this issue Aug 18, 2019 · 1 comment
Open

Is it possible to make clickable areas (svg paths)? #49

sam43 opened this issue Aug 18, 2019 · 1 comment

Comments

@sam43
Copy link

sam43 commented Aug 18, 2019

Hi,
Are you providing any clickEvent/onClickListener to the components of the svg I loaded so far?
Otherwise, how can I implement an onClickListener to the every component loaded into the svg file.
example: I have a map of a country (i.e: USA), I want to select a state from the map and want to change the color of every state after clicking. How can I do that? Thanks.

@pflammertsma
Copy link
Collaborator

You may want to look at the conversation in #29.

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

No branches or pull requests

2 participants