Closed koo27 closed 5 years ago
This is expected behavior: react-native-maps-directions will eventually yield a react-native-maps Polyline component. As per react-native-maps requirement, such a component must be a direct child of a MapView component.
I have been struggling on this bug for a while, and I finally found out that if you wrap MapViewDirections in a View, it doesn't work on iOS (i.e. it doesn't not render the polylines) Instead on Android works perfectly fine in any case.
Tested on these versions: