react-native-cross-maps
v0.1.1
Published
A beautiful React-Native map using react-native-maps
Downloads
310
Maintainers
Readme
Crossplatform React-Native Maps
A beautiful React-Native map using react-native-maps and other libraries.
Install
Install react-native-paper, react-native-maps and react-native-maps-directions if you don't already have them.
npm i react-native-paper
npm i react-native-maps
npm i react-native-maps-directions
Or with yarn
yarn add react-native-paper
yarn add react-native-maps
yarn add react-native-maps-directions
Once those packages are installed:
npm i react-native-cross-maps
or
yarn add react-native-cross-maps
Documentation
MapComponent
Renders a MapView from react-native-maps and a MapViewDirections from react-native-maps-directions
Also includes UserLocationButton based of react-native-paper which can navigate to the user's current position. To enable this set the property userLocationButton to true