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

Get coordinates from tap #39

Closed
PAT-Development opened this issue Jun 4, 2016 · 2 comments
Closed

Get coordinates from tap #39

PAT-Development opened this issue Jun 4, 2016 · 2 comments

Comments

@PAT-Development
Copy link

PAT-Development commented Jun 4, 2016

I am trying to add a marker if the user long pressed at the map. In the source code I found the coordinateTappedEvent, how can I use it?
My try with:

public onMapReady(args) {
      this.map = args.object;
      this.map.on(MapsModule.MapView.coordinateTappedEvent, (eventData) => {
        console.log(eventData);
      });
}

failed. The callback is never called. If it isn't implemented yet, can I get the coordinates from the View-Tap Event?

Thanks for your help!

@dapriett
Copy link
Owner

dapriett commented Jun 5, 2016

Looks like we forgot to implement that - should work now.

@PAT-Development
Copy link
Author

That's cool, thank you!

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