Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.15 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.15 KB

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