RN-MapboxSVGOverlay
Utilize react-native-svg to overlay Mapbox with a custom interface
Instructions
- Clone this repo
- In clone, run
$ npm install
- Once required packages are installed, run your project in iOS
$ react-native run-ios
Add to existing project
To manually add dependancies to this or a new project, you must do the following:
- Upgrade react-native to v.24
react-native upgrade
- Install React Native Package Manager
$ npm install rnpm
- Install react-native-svg
$npm install react-native-svg
- Link react-native svg with rnpm
$rnpm link react-native-svg
- Install Mapbox
npm install react-native-mapbox-gl --save
- Follow Mapbox iOS installation instructions