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

Listening for measurefinish event #136

Open
matbeseris opened this issue Jun 4, 2019 · 1 comment
Open

Listening for measurefinish event #136

matbeseris opened this issue Jun 4, 2019 · 1 comment

Comments

@matbeseris
Copy link

I'm pretty new to R and I'm trying to simply listen for the measurefinish event and do stuff with the data from it, however I can't find any R examples anywhere.

The code I have so far:

observeEvent(input$measurefinish, {
    print("user finished measurement")
})

I'm pretty sure it needs to be something other than input but I just don't know what it would be

Any help would be super appreciated!

@lysaan
Copy link

lysaan commented Aug 22, 2021

For ReactJS this could be code could be used. Maybe it is helpful.

      map.on('measurefinish', function(evt) {
        print('this is measurement area')
        print(evt)
      });

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

2 participants