同步操作将从 Gitee 极速下载/Mapbox-GL-JS 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Hi, and thanks in advance for contributing to Mapbox GL. Here's how we work. Please follow these conventions when submitting an issue or pull request.
Install the Xcode Command Line Tools Package
xcode-select --install
Install node.js version 4 or greater
brew install node
Install yarn
brew install yarn
Clone the repository
git clone git@github.com:mapbox/mapbox-gl-js.git
Install node module dependencies
cd mapbox-gl-js &&
yarn install
Install git, node.js (version 6 or greater), yarn, GNU Make, and libglew-dev
sudo apt-get update &&
sudo apt-get install build-essential git nodejs yarn libglew-dev libxi-dev
Clone the repository
git clone git@github.com:mapbox/mapbox-gl-js.git
Install node module dependencies
cd mapbox-gl-js &&
yarn install
Install git, node.js (version 4 or greater), yarn, npm and node-gyp.
Clone the repository
git clone git@github.com:mapbox/mapbox-gl-js.git
Install node module dependencies
cd mapbox-gl-js
yarn install
Install headless-gl dependencies https://github.com/stackgl/headless-gl#windows
copy node_modules/headless-gl/deps/windows/dll/x64/*.dll c:\windows\system32
Start the debug server
MAPBOX_ACCESS_TOKEN={YOUR MAPBOX ACCESS TOKEN} yarn run start-debug
Open the debug page at http://localhost:9966/debug
A standalone build allows you to turn the contents of this repository into mapbox-gl.js
and mapbox-gl.css
files that can be included on an html page.
To create a standalone build, run
yarn run build-min
Once that command finishes, you will have a standalone build at dist/mapbox-gl.js
and dist/mapbox-gl.css
See test/README.md
.
See bench/README.md
.
error
events to report user errors.assert
to check invariants that are not likely to be caused by user error. These assert
statements are stripped out of production builds.let
/const
for...of
loops (for arraylike iteration only, i.e. what is supported by Bublé's dangerousForOf
transform)...
) operator (because it requires Object.assign)Map
, Set
, array.find
, etc.The conventions for module exports are:
See docs/README.md
.
Our labeling system is
We have divided our labels into categories to make them easier to use.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。