react-native-maps-my-location-direction
v0.2.6
Published
Do you want to display your location and direction in react-native-maps?
Downloads
5
Readme
react-native-maps-my-location-direction
Do you want to display your location and direction in react-native-maps?
Installation
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
Usage
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
/>
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library