If you are confused because the user's direction is not displayed in react-native-maps, you have come to the right place. Do you want to display your location and direction in react-native-maps?
npm install react-native-maps-my-location-direction
# This package also requires the packages below:
npm install react-native-maps
npm install react-native-compass-heading
npm install react-native-geolocation-service
import { MyLocationDirection } from 'react-native-maps-my-location-direction';
// ...
<MyLocationDirection
img={require('./assets/arrow.png')}
color={'#00AAFF'} // default undefined
height={100} // default 100
width={100} // default 100
locationFetchInterval={1000} // default 1000
/>
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library