Repository navigation
Releases: vvivan89/react-native-maps-arrow-line
Release list
0.3.1
0.3.0
0.2.1
<MapViewWithHeading> can now receive a custom component to be rendered instead of the generic <MapView> from react-native-maps. This will allow compatibility with other addons to react-native-maps, such as react-native-map-clustering, that also use the modified <MapView> component. Please refer to a working app in /example folder.
0.2.0
Bug fixes
#1 - arrows do not follow manual rotation of the map
Changes
Introduced MapViewWithHeading component as an HOC above MapView from react-native-maps. The purpose of this HOC is to receive the camera heading of the map and pass it to ArrowedPolyline to calculate the necessary additional arrow rotation.
Backwards compatibility
Partly Compatible
✔️ ArrowedPolyline component v0.1.2 and below, used with generic MapView from react-native-maps will continue to work.
✖️ The map rotation issue could only be fixed by manually replacing the MapView component with the MapViewWithHeading component from the package.