Sample application for React Native Mapbox GL without access token
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
__tests__
android
ios
.babelrc
.buckconfig
.flowconfig
.gitattributes
.gitignore
.watchmanconfig
App.js
README.md
app.json
index.js
package.json
yarn.lock

README.md

React Native Mapbox GL Test Client

Sample application for React Native Mapbox GL from react-native init command. Also this application targets OpenMapTiles project and supports Tileserver-GL. App.js includes the fake accessToken to pass error in Android validateAccessToken.

how to use

You need setup React Native and your tile server.

setup

yarn
vim App.js # edit styleURL
yarn run start # start server

ios

cd ios
pod install
open ReactNativeMapboxGLTestClient.xcworkspace

and run in Xcode.

android

Start android emulator and

react-native run-android

notice