mapboxgl-draw-freeline-drag
v1.0.5
Published
A Mapbox GL Draw plugin to create a rectangle via click & drag
Downloads
33
Maintainers
Readme
Mapbox GL Draw Free Line Drag
A Mapbox GL Draw plugin to create free hand drawn lines via click & drag.
Based on the work done by Jesús Botella in https://github.com/CartoDB/mapboxgl-draw-rectangle-drag.git
Demo
Not yet implemented
How to install
You can install this plugin using npm
Using npm
We deliver ESM compatible code through our npm module, so that you can import it in your project and compile it without issues.
npm i mapboxgl-draw-freeline-drag --save
The module exports a default binding to the module, so you can import it like:
import mapboxGLDrawFreelineDrag from 'mapboxgl-draw-freeline-drag';
``