1.0.0 • Published 5 years ago
react-native-thinknet-maps v1.0.0
ThinknetMaps GL SDK for React Native
ThinknetMaps is a React-Native library that simplifies your life.
Visit our official website at https://www.maps.thinknet.co.th
Installation
Dependencies
- node
- npm
- React Native recommended version 0.50 or greater
Yarn
yarn add react-native-thinknet-maps
Npm
npm install react-native-thinknet-maps --save
Installation Guides
Note on iOS
In the Info
of your application target Add Key MGLMapboxMetricsEnabledSettingShownInApp
-> YES
Run Example in Source Code
Example
import MapboxGL from 'react-native-thinknet-maps';
....
<MapboxGL.ThinknetMapsView
style={{ flex: 1 }}
showUserLocation={true}
zoomLevel={12}
app_id={'xxxx'}
api_key={'xxx'}
lang={'en'}
userTrackingMode={MapboxGL.UserTrackingModes.Follow}/>
1.0.0
5 years ago