Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bramus/react-native-maps-directions-example
Example app that uses react-native-maps-directions
https://github.com/bramus/react-native-maps-directions-example
Last synced: 5 days ago
JSON representation
Example app that uses react-native-maps-directions
- Host: GitHub
- URL: https://github.com/bramus/react-native-maps-directions-example
- Owner: bramus
- Created: 2019-08-30T10:17:22.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T08:31:15.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T23:16:10.856Z (7 months ago)
- Language: Java
- Homepage: https://github.com/bramus/react-native-maps-directions
- Size: 1.66 MB
- Stars: 20
- Watchers: 3
- Forks: 16
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `react-native-maps-directions-example`
Example app that uses [`react-native-maps-directions`](https://github.com/bramus/react-native-maps-directions).
Nothing fancy, mainly just created to help out users who are having troubles with setting up their Google Maps Directions API Key.
Please refer to the [`react-native-maps-directions`](https://github.com/bramus/react-native-maps-directions) instructions on how to obtain and configure such an API Key.## Installation
- Clone this repo
```bash
git clone [email protected]:bramus/react-native-maps-directions-example.git
```- Install dependencies
```bash
yarn install
```- Adjust `App.js` and enter your Google Maps Directions API Key there:
```js
const GOOGLE_MAPS_APIKEY = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
````## Running the app
There are some NPM Scripts provided to run this app.
- `yarn start`: starts a Metro Bundler
- `yarn ios`: launches the iOS Simulator and compiles the iOS app