react-native-mapbox-gl

一个Mapbox GL react native 模块,用于创建自定义地图。(A Mapbox GL react native module for creating custom maps.)

Github星跟踪图

用于React Native的Mapbox Maps SDK

一个官方的React Native组件,用于使用适用于iOS版Mapbox Maps SDK适用于Android的Mapbox Maps SDK

什么是Mapbox?

Mapbox是移动和Web应用程序的位置数据平台。我们提供构建基块,以将地图、搜索和导航等位置功能添加到您创建的任何体验中。使用我们简单而强大的API和SDK以及我们的开源库进行交互和控制。

注册Mapbox

不是Mapbox用户吗? 在此处注册一个帐户。登录后,您需要开始构建的只是一个Mapbox访问令牌。使用与我们所有交互式映射库,Python和JavaScript SDK相同的简短代码,并直接使用我们的REST API。您可以在 Mapbox帐户页面上创建和管理您的访问令牌。

安装

依赖关系

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

安装指南

文档

部件

离线

主要指标

概览
名称与所有者nitaliano/react-native-mapbox-gl
主编程语言Java
编程语言Shell (语言数: 7)
平台Android, iOS
许可证Other
所有者活动
创建于2015-04-26 20:08:07
推送于2023-03-18 11:22:11
最后一次提交2019-09-06 01:03:57
发布数56
最新版本名称6.1.2 (发布于 )
第一版名称0.0.1 (发布于 )
用户参与
星数2.2k
关注者数91
派生数692
提交数1.3k
已启用问题?
问题数1341
打开的问题数220
拉请求数317
打开的拉请求数4
关闭的拉请求数76
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?

Deprecation notice

This repository is no longer actively maintained.

Continued development of react-native-mapbox-gl may be found in the community driven repository at https://github.com/react-native-mapbox-gl/maps. This new repository uses the latest versions of the Mapbox SDKs for iOS and Android, and contains a long range of improvements over the current one. We recommend you review the changelog for the new repository and transition to it.

This repository will only accept PRs containing bug fixes. Any new feature development will happen in the new repository.

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

npm version
FOSSA Status

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

? NB: The current release 6.1.4 is not up on NPM. You have to get the master version from github. ?

Dependencies

Git

git clone git@github.com:mapbox/react-native-mapbox-gl.git
cd react-native-mapbox-gl

Yarn

yarn add https://github.com/nitaliano/react-native-mapbox-gl#master

Npm

npm install https://github.com/nitaliano/react-native-mapbox-gl/tarball/master

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!

License

FOSSA Status