@540deg/react-native-mapbox-gl 中文文档教程
Mapbox Maps SDK for React Native
一个非官方的 React Native 组件,用于使用 Mapbox Maps SDK for iOS 和 Android 版 Mapbox 地图 SDK
What is Mapbox?
Mapbox 是移动和网络应用程序的位置数据平台。 我们提供构建块,将地图、搜索和导航等位置功能添加到您创建的任何体验中。 使用我们简单而强大的 API & 用于交互和控制的 SDK 和我们的开源库。
Sign up for Mapbox
还不是 Mapbox 用户? 在此处注册帐户。 登录后,您只需一个 Mapbox 访问令牌即可开始构建。 将同样的短代码与我们所有的交互式映射库、Python 和 JavaScript SDK 一起使用,并直接针对我们的 REST API。 您可以在 Mapbox 帐户页面 上创建和管理您的访问令牌。
Installation
Dependencies
- node
- npm
- React Native recommended version 0.50 or greater
Git
git clone git@github.com:mapbox/react-native-mapbox-gl.git
cd react-native-mapbox-gl
Yarn
yarn add @mapbox/react-native-mapbox-gl
Npm
npm install @mapbox/react-native-mapbox-gl --save
Installation Guides
Documentation
Components
Sources
Layers
Offline
Expo Support
如果你想看到它在展示你的支持 https://expo.canny.io/feature-requests/p/add-mapbox-gl-support
Developer Group
有问题或需要帮助吗? 加入我们的 Gitter 开发者群组!
License
Mapbox Maps SDK for React Native
An unofficial React Native component for building maps with the Mapbox Maps SDK for iOS and Mapbox Maps SDK for Android
What is Mapbox?
Mapbox is the location data platform for mobile and web applications. We provide building blocks to add location features like maps, search, and navigation into any experience you create. Use our simple and powerful APIs & SDKs and our open source libraries for interactivity and control.
Sign up for Mapbox
Not a Mapbox user yet? Sign up for an account here. Once you’re signed in, all you need to start building is a Mapbox access token. Use this same short code with all of our interactive mapping libraries, Python and JavaScript SDKs, and directly against our REST APIs. You can create and manage your access tokens on your Mapbox Account page.
Installation
Dependencies
- node
- npm
- React Native recommended version 0.50 or greater
Git
git clone git@github.com:mapbox/react-native-mapbox-gl.git
cd react-native-mapbox-gl
Yarn
yarn add @mapbox/react-native-mapbox-gl
Npm
npm install @mapbox/react-native-mapbox-gl --save
Installation Guides
Documentation
Components
Sources
Layers
Offline
Expo Support
We have a feature request open with Expo if you want to see it get in show your support https://expo.canny.io/feature-requests/p/add-mapbox-gl-support
Developer Group
Have a question or need some help? Join our Gitter developer group!