react-native-walkthrough-tooltip icon indicating copy to clipboard operation
react-native-walkthrough-tooltip copied to clipboard

Android tooltip in mapview not showing

Open YoniCosta opened this issue 4 years ago • 2 comments

I am trying to use tool tip inside a mapview marker with out success. I can see the background changing to a darker tone but with out the message above. (while it is working in ios) (you can see the android on the left side vs the ios on the right)

image

image

<MapView customMapStyle={mapStyle} showsCompass={false} showsMyLocationButton={false} //showsUserLocation={true} ref={map} onRegionChange={(region) => setRegion(region)} style={[styles.map, { width: '100%', height: '100%' }]} initialRegion={{ latitude: latitude, longitude: longitude, latitudeDelta: 0.0027, longitudeDelta: 0.002323, }}> {parkings} {allowedPolygons} {restrictedPolygons} {<Marker tracksViewChanges={false} type="parking" key={'parking' + longitude + latitude} onPress={() => { setBla(true) }} coordinate={{ longitude: longitude, latitude: latitude, }} > <Tooltip isVisible={bla} content={<Text>Check this out!</Text>} placement="top" onClose={() => setBla(false)} > <TouchableOpacity style={styles.touchable}> <Text>Press me</Text> </TouchableOpacity> </Tooltip> </Marker>} </MapView>

YoniCosta avatar Feb 09 '21 08:02 YoniCosta

same here, did you find anything?

erliskryeziu avatar Dec 23 '21 12:12 erliskryeziu

I have trouble with tooltips on MapView for iOS too. Is that a known limitation of this package?

vaibhavverma9 avatar Feb 15 '24 20:02 vaibhavverma9