I am using react native maps and would like the callout marker to stop appearing. A simple solution would be to use hideCallout(). However, users are able to click on the marker and the callout will show again. Is there any way to make it stop appearing?
const marker = useRef(null); ...<Marker ref={marker} coordinate={{coordinates}} onPress={() => { marker.current.hideCallout(); }}><Callout tooltip><View><Text> You are here</Text></View></Callout></Marker>