Skip to content

0.2.0

Choose a tag to compare

@vvivan89 vvivan89 released this 17 Nov 19:34
· 7 commits to master since this release

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.