上传者: 42143161
|
上传时间: 2022-03-10 09:37:00
|
文件大小: 689KB
|
文件类型: -
mapbox-gl-draw-cut-polygon-mode
自定义模式,用于切割多边形
检查用于分割多边形。
安装
npm install mapbox-gl-draw-cut-polygon-mode mapbox-gl-draw-passing-mode
或使用CDN:
< script src =" https://unpkg.com/mapbox-gl-draw-passing-mode " > </ script >
< script src =" https://unpkg.com/mapbox-gl-draw-cut-polygon-mode " > </ script >
用法
import mapboxGl from 'mapbox-gl' ;
import MapboxDraw from '@mapbox/mapbox-gl-draw' ;
import