Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I want to handle multiple clicks on Callout of react-native-maps, but in android i can only handle the click of the whole Callout component, i try to get position of click by using nativeEvent but it only working on IOS, So is there any way to handle multiple click on Callout?

This is the code i try to get position of click

<Callout alphaHitTest style={{ minWidth: 200, backgroundColor: '#FFF', padding: 5 }} onTouchStart={(e) => console.log(e.nativeEvent)} >

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
705 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...