ThinknetMaps is a React-Native library that simplifies your life.
Visit our official website at https://www.maps.thinknet.co.th
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
In the Info
of your application target Add Key MGLMapboxMetricsEnabledSettingShownInApp
-> YES
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}/>