Please provide the following:
- SDK Version: 46.0.13
- Platforms(Android/iOS/web/all): Android
- Add the appropriate “Tag” based on what Expo library you have a question on.
Most the method dont work with Android but tested OK on IOS
// mapRef.current.fitToSuppliedMarkers([“origin”,“destination”], { // tried this too but same result only work with IOS
mapRef.current.fitToCoordinates(result.coordinates, {
edgePadding: {
right: width / 20,
bottom: height / 20,
left: width / 20,
top: height / 20,
},
});
TIA