1.0.0 • Published 5 years ago

react-native-thinknet-maps v1.0.0

Weekly downloads
8
License
SEE LICENSE IN LI...
Repository
-
Last release
5 years ago

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

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}/>