I'm using React native maps (Google Maps) when I tap on marker directions toolbar show in Android but this toolbar not showing in the iOS.
Is there any way to show this in iOS too.
<MapView
style={{ flex: 1 }}
initialRegion={{
latitude: lat,
longitude: lon,
latitudeDelta: 0.0922,
longitudeDelta: 0.0421,
}}
minZoomLevel={16}
provider='google'
>
<MapView.Marker
coordinate={{
latitude: lat,
longitude: lon
}}
title={address}
>
<Image resizeMode={'contain'} source={{ uri: markerIconUrl }} size={'xs'} alt={address} />
</MapView.Marker>
</MapView>
Obviously it's not available on iOS according the documentation:
https://github.com/react-native-maps/react-native-maps/blob/master/docs/mapview.md
"Android only If false will hide 'Navigate' and 'Open in Maps' buttons on marker press"
But I'm interested to find solution also.