github: https://github.com/uber/deck.gl
官網: https://deck.gl/
demo: https://deck.gl/#/examples/
1. 到 https://www.mapbox.com/ 申請 Key;
2. clone github項目下來;
3. 進入 /examples/website 目錄下的任意一個文件夾;
4. npm install / yarn 安裝依賴;
5. 修改目錄下 package.json 中的 start 命令: 其中的 MapboxAccessToken 是你在 mapbox 申請到的 key
"scripts": {
"start-local": "webpack-dev-server --env.local --progress --hot --open",
"start": "MapboxAccessToken='pk.kxxxxxx' webpack-dev-server --progress --hot --open"
},
6. 終端運行 npm run start ;