@vietmap/vietmap-gl-react-native-070
v0.0.3
Published
A Vietmap GL Native plugin for creating maps in React Native
Downloads
8
Readme
Vietmap GL SDK for React Native
A React Native library for building maps with
the Vietmap GL Native SDK for iOS & Android.
Contact vietmap.vn to register a valid key.
Get started
Install package:
Using npm
:
npm i @vietmap/vietmap-gl-react-native-070
Using yarn
:
yarn add @vietmap/vietmap-gl-react-native-070
Documentation
Installation
You must set your API key before using the library. This is required on Android and optional on iOS. You can set the API key in your app's entry file (e.g. App.js
).
This function must be called before using any other functions of the library.
import Vietmap from '@vietmap/vietmap-gl-react-native-070';
// Will be null for most users (only Vietmap authenticates this way).
// Required on Android. See Android installation notes.
Vietmap.setApiKey('YOUR_API_KEY_HERE');
We've created a demo project for Vietmap React-Native GL library
, which contains sample code for the main functions of the library here.
If you're using the Expo project
, follow the guide from this project.
Components
Sources
Layers
Offline
Misc
Email us: [email protected]
Contact for support
Vietmap API document here
Have a bug to report? Open an issue. If possible, include a full log and information that shows the issue. Have a feature request? Open an issue. Tell us what the feature should do and why you want the feature.