mapboxgl-draw-freeline-drag

1.0.5 • Public • Published

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';
``

Package Sidebar

Install

npm i mapboxgl-draw-freeline-drag

Weekly Downloads

2

Version

1.0.5

License

MIT

Unpacked Size

8.75 kB

Total Files

10

Last publish

Collaborators

  • andrewjmcgrath