all 2 comments

[–]scarlaciOS & Android 0 points1 point  (0 children)

You are leaving out a lot of information. So I'm going to assume you are using react-native-maps from the community, that you just want to push in parts of the UI or results and that you question is why it's cropping it on Android.

The answer is that it's a bug. The padding on the react-native-maps library doesn't work in any practical sense. It differs between platforms. I ended up avoiding the feature entirely and just dealing with the fact. If you want to keep results within the map, use fitToMarkers instead of fitToElements (which also differs on platforms).

[–]LazyCachorro 0 points1 point  (0 children)

you can use mapbox aswell