1.0.8 • Published 1 year ago

@telida/maplibre-gl-draw-no-drag-mode v1.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

@telida/maplibre-gl-draw-no-drag-mode

Custom no-drag modes for @telida/maplibre-gl-draw that disable feature dragging.

Installation

npm install @telida/maplibre-gl-draw-no-drag-mode

Example usage:

import {default as NoDragModes} from '@telida/maplibre-gl-draw-no-drag-mode';

private draw: MapLibreDraw;

constructor() {
  this.draw = new MapLibreDraw({
          modes: {
            simple_select: NoDragModes.simple_select,
            direct_select: NoDragModes.direct_select,
          },
          userProperties: true,
          displayControlsDefault: true,
        });
}
1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago