Skip to content

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

Description

@Firingam

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!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions