Skip to content

Releases: mapbox/mapbox-gl-draw

v1.5.1

Choose a tag to compare

@underoot underoot released this 03 Nov 14:14
0b94eca
  • Fix midpoint rendering precision by @romain-tracktik in #1433
  • Fix keybindings ordering and tooltips by @underoot in #1320
  • Fix drag-pan being disabled after multiple consecutive clicks on non-Point features in DirectSelect mode by @underoot in #1341
  • Improve browser compatibility in keyboard handling by @erotourtes in #1394

v1.5.0

Choose a tag to compare

@underoot underoot released this 04 Dec 09:21
e09cd74

v1.4.3

Choose a tag to compare

@stepankuzmin stepankuzmin released this 21 Sep 12:07
4e51ce4
  • Fix for layer not found error in featuresAt function by @caldwellc in #1194
  • Trigger featureChanged on feature props change by @wyozi in #1196
  • Remove preventDefault() on touchstart and touchmove events by @Archetylator in #1195

v1.4.2

Choose a tag to compare

@stepankuzmin stepankuzmin released this 28 Jun 12:49
2709a51

v1.4.1

Choose a tag to compare

@stepankuzmin stepankuzmin released this 14 Feb 16:12
81f0763

What's Changed

  • Revert the use of passive event listeners instead of preventDefault in #1158

Full Changelog: v1.4.0...v1.4.1

v1.4.0

Choose a tag to compare

@stepankuzmin stepankuzmin released this 31 Jan 11:44
d7234ee

What's Changed

Full Changelog: v1.3.0...v1.4.0

v1.3.0

Choose a tag to compare

@mourner mourner released this 20 May 12:21
  • ⚠️ Removed GeoJSON validation in draw.add — responsibility for valid input is now on the user. #1052
  • Fixed NPM security warnings about dependencies. #1052
  • Fixed midpoint calculation when terrain is enabled. #1039
  • Reduced the size of the plugin's CSS code from 33KB to 5KB. #1038 (h/t @johanrd)
  • Fixed simple_select mode handling on touch devices. #1008 (h/t @corinv)

v1.2.2

Choose a tag to compare

@karimnaaji karimnaaji released this 25 Feb 18:55

Bug Fixes:

  • Fix midpoint calculation when using mapbox-gl-draw with 3d terrain

v1.2.1

Choose a tag to compare

@arindam1993 arindam1993 released this 03 Feb 22:11

Bug Fixes:

  • Upgrade peerDependencies to allow mapbox-gl@2.0.0+ to be used with gl-draw.
  • Update package.json so that usage of library from npm always results in pulling in the built bundle.
  • Remove require()'ing of unsed node builtins like fs and path from the bundle.

v1.2.0

Choose a tag to compare

@adrianababakanian adrianababakanian released this 13 Jul 19:13
  • Upgrade all dependencies
  • Upgrade to Node v12
  • Upgrade to ES6
  • Change bundler to rollup for smaller bundles
  • Switch from Uglify to buble in order to produce better and more compatible code

Bug fixes:

  • Trash correct vertices by changing sort to be numeric-aware #943