vue-mapbox-turfjs

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

界面预览

alt 界面预览

Customize configuration

See Configuration Reference.

MapBox

1. 下载 mapbox

npm install --save mapbox-gl

2. 在 js 中引入

import mapboxgl from 'mapbox-gl'