npm install mapbox-gl-draw-circle import { CircleMode, DragCircleMode, DirectMode, SimpleSelectMode } from 'mapbox-gl-draw-circle'; // userProperties has to be enabled const draw = new MapboxDraw({ defaultMode: "draw_circle", userProperties: true, modes: { ...MapboxDraw.modes, draw...
minRadius:1500,fillColor:'#29AB87'}).addTo(myMapboxGlMap);myCircle.on('centerchanged',function(circleObj){console.log('New center:',circleObj.getCenter());});myCircle.once('radiuschanged',function(circleObj){console.log('New radius (once!):',circleObj.getRadius());});myCircle.on(...
draw_circle draw_point simple_select direct_select static Install npm install mapbox-gl-draw-geodesic or <script src="https://unpkg.com/mapbox-gl-draw-geodesic@2.3.1/dist/mapbox-gl-draw-geodesic.umd.min.js"></script> Usage This plugin exposes a single functionenable, which should be used...
A module to draw a circle using mapbox-gl-draw mapbox geojson circle draw thaddmt •0.1.1•3 years ago•3dependents•MITpublished version0.1.1,3 years ago3dependentslicensed under $MIT 116,651 leaflet-control-geocoder Extendable geocoder with builtin support for OpenStreetMap Nominatim...
gl mapbox-npm-03 •1.0.1•2 years ago•59dependents•BSD-3-Clausepublished version1.0.1,2 years ago59dependentslicensed under $BSD-3-Clause 266,792 mapbox-gl-draw-circle A module to draw a circle using mapbox-gl-draw mapbox ...
@mapbox/mapbox-gl-draw @mapbox/mapbox-gl-geocoder @mapbox/mapbox-gl-sync-move @turf/turf @types/fabric @types/geojson @types/mapbox-gl @types/tinycolor2 mapbox-gl mapbox-gl-compare mapbox-gl-controls mapbox-gl-draw-circle-vite ...
@mapgis/webclient-mapboxgl zhangchunzhoupublished 10.5.5 • 4 years agopublished version 10.5.5, 4 years ago @mapgis/mapbox-gl-inspect Mapbox-GL矢量数据指示器 mayuanyepublished 17.4.0 • 2 months agopublished version 17.4.0, 2 months ago @mapgis/mapbox-gl-draw-circle Adds support fo...
基于mapbox-gl-draw 完善绘制功能 install npm install @dijiang/front_mapbox_custom_draw use import MapboxDrawer from '@dijiang/front_mapbox_custom_draw' const drawer = new MapboxDrawer(map) switch tool drawer.switchDrawTool(drawType, styleTemplate, option) 返回一个promise,值为绘制的图形,测量...
Full API of mapbox-draw-control Geogeometry Geogemetry components allow you to easily add simple geometry to your map. Currently those are circle, rectangle and polygon and raw. You can also add popups to geogeometry. See the full API for more information ...
circle zakjan •2.3.1•a year ago•4dependents•MITpublished version2.3.1,a year ago4dependentslicensed under $MIT 25,969 mapbox-gl-draw-freehand-mode a free drawing plugin for mapbox-gl-draw mapbox mapbox-gl mapbox-gl-draw ...