Skip to content

WayneKim92/react-native-maps-my-location-direction

Repository files navigation

react-native-maps-my-location-direction

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? my-location-direction

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

About

Do you want to display your location and direction in react-native-maps? [unstable package] (There is no time to improve due to a full-time job. Fxxk! )

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published