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

Where to modify in order to add function triggers in rectangles? #78

Open
Firingam opened this issue Mar 2, 2023 · 0 comments
Open

Comments

@Firingam
Copy link

Firingam commented Mar 2, 2023

Hi,
I am playing with this library and would like to modify it to add new features and adapt it for my purposes.
In particular, I would like to add an option in order that when a rectangle is clicked, it triggers a function that does something.

I am trying to modify the feature-viewer.js file in the src folder but I think it is not the right solution.

In general, it would be useful to add an option that allows for including custom functions when rects are clicked.

I think I got where to modify in feature-viewer.js but where to modify in feature-viewer.bundle.js? The file is very large and I am getting trouble to understand it

Thanks!

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