You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When drawing MapView.Polygon with an onPress property, the callback is triggered when pressing the map in the close vicinity of the polygon.
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?
The text was updated successfully, but these errors were encountered:
raduflp
changed the title
Polygon onPress bleeds outside of the shape
Android: Polygon onPress bleeds outside of the shape
Aug 17, 2017
When drawing MapView.Polygon with an onPress property, the callback is triggered when pressing the map in the close vicinity of the polygon.
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?
The text was updated successfully, but these errors were encountered: