-
-
Notifications
You must be signed in to change notification settings - Fork 5k
onPress and onCalloutPress doesn't trigger on markers in iOS #286
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Here is my code:
render() {
return (
<MapView style={styles.mapView} region={this.state.region}>
<MapView.Marker
coordinate={{latitude: 45, longitude: -75}}
onSelect={this.markerPressed}
/>
</MapView>
)
}
markerPressed(){
console.log("MarkerPressed");
}
The function is being called if I use onSelect or onDeselect, but not onPress or onCalloutPress. Is this an issue with something I am doing or a bug?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed