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

Android: Polygon onPress bleeds outside of the shape #1562

Closed
raduflp opened this issue Aug 16, 2017 · 0 comments
Closed

Android: Polygon onPress bleeds outside of the shape #1562

raduflp opened this issue Aug 16, 2017 · 0 comments

Comments

@raduflp
Copy link

raduflp commented Aug 16, 2017

When drawing MapView.Polygon with an onPress property, the callback is triggered when pressing the map in the close vicinity of the polygon.

bug

This leads to erratic behavior when having a grid because clicking on one polygon triggers and the onPress of the neighbour polygon that was drawn last.

Also the e.nativeEvent.coordinate from the onPress event is inaccurate for MapView.Polygon, not sure if it's related to the issue above.

Can this be improved or is there an underlying native limitation?

@raduflp raduflp changed the title Polygon onPress bleeds outside of the shape Android: Polygon onPress bleeds outside of the shape Aug 17, 2017
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