react-native-maps-route-utils
v1.4.0
Published
React Native utility component for use with iOS Maps applications. This component gives you the ability to display distance as well as estimated travel time between two points within a routing application.
Downloads
9
Readme
react-native-maps-route-utils
React Native utility component for use with iOS Maps applications. This component gives you the ability to display distance as well as estimated travel time between two points within a routing application.
$ npm install react-native-maps-route-utils --save
Mostly automatic installation
$ react-native link react-native-maps-route-utils
Manual installation
iOS
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-maps-route-utils
and addRNMapsRouteUtils.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNMapsRouteUtils.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)<
Usage
import RNMapsRouteUtils from 'react-native-maps-route-utils';
// TODO: What do with the module?
RNMapsRouteUtils;