npm install mapbox-gl-draw-circle-mode importDrawCirclefrom'mapbox-gl-draw-circle-mode';constmodes=MapboxDraw.modes;modes.draw_circle=DrawCircle;constdraw=newMapboxDraw({modes:modes});draw.changeMode('draw_circle'); or importDrawCirclefrom'mapbox-gl-draw-circle-mode';constdraw=newMapboxDraw...
MapboxCircle Agoogle.maps.Circlereplacement for Mapbox GL JS, rendering a "spherical cap" on top of the world. Parameters center radius options Examples varmyCircle=newMapboxCircle({lat:39.984,lng:-75.343},25000,{editable:true,minRadius:1500,fillColor:'#29AB87'}).addTo(myMapboxGlMap);my...
{ "name": "mapbox-gl-draw-circle", "version": "1.1.0", "version": "1.1.1", "description": "A module to draw a circle using mapbox-gl-draw", "main": "index", "scripts": { 0 comments on commit 5f964dd Please sign in to comment. Footer...
'/node_modules/(?!(redux-orm|@mapbox/mapbox-gl-draw|@wq))' ] }; 32,068 changes: 12,406 additions & 19,662 deletions 32,068 package-lock.json Show comments View file Edit file Delete file Load diff Large diffs are not rendered by default. 25 changes: 18 additions & 7 delet...
Init Map by L7 scene import{Scene}from'@antv/l7';import{Mapbox}from'@antv/l7-maps';constscene =newScene({id:'map',map:newMapbox({style:'light',pitch:0,center: [107.054293,35.246265],zoom:4.056, }), }); Add Layer import{PointLayer}from'@antv/l7';constpointLayer =newPointLayer()...
Init Map by L7 scene import { Scene } from '@antv/l7'; import { Mapbox } from '@antv/l7-maps'; const scene = new Scene({ id: 'map', map: new Mapbox({ style: 'light', pitch: 0, center: [107.054293, 35.246265], zoom: 4.056, }), }); Add Layer import { PointLayer }...
Mapbox-GL矢量数据指示器 mayuanye published17.2.0•2 months agopublished version17.2.0,2 months ago @mapgis/mapbox-gl-draw-circle Adds support for drawing and editing a circle feature using [mapbox-gl-draw](https://github.com/mapbox/mapbox-gl-draw) library. ...
mapbox jgimbel •2.1.2•5 years ago•32dependents•ISCpublished version2.1.2,5 years ago32dependentslicensed under $ISC 19,598 mapbox-gl-draw-circle A module to draw a circle using mapbox-gl-draw mapbox geojson circle draw
Init Map by L7 scene import { Scene } from '@antv/l7'; import { Mapbox } from '@antv/l7-maps'; const scene = new Scene({ id: 'map', map: new Mapbox({ style: 'light', pitch: 0, center: [107.054293, 35.246265], zoom: 4.056, }), }); Add Layer import { PointLayer }...
Init Map by L7 scene import{Scene}from'@antv/l7';import{Mapbox}from'@antv/l7-maps';constscene =newScene({id:'map',map:newMapbox({style:'light',pitch:0,center: [107.054293,35.246265],zoom:4.056, }), }); Add Layer import{PointLayer}from'@antv/l7';constpointLayer =newPointLayer()...