I have used airbnb/react-native-maps for designing a tracking based apps. I have designed a custom search box. But the problem is, the search box overlaps my location button. Is there any way to customize my location button and changing its alignment position? I have attached a photo for more specification.
Here is the sample code which I have used
<MapView
provider={PROVIDER_GOOGLE}
style={styles.map}
region={{
latitude: this.props.initialPosition.latitude,
longitude: this.props.initialPosition.longitude,
latitudeDelta: Latitude_Delta,
longitudeDelta: Longitude_Delta
}}
zoomEnabled={true}
minZoomLevel={5}
maxZoomLevel={20}
showsMyLocationButton={true}
showsUserLocation={true}
... ... ...
>
{... ... ... ...}
</MapView>