Skip to content

Releases: mapbox/mapbox-gl-draw

v1.5.1

03 Nov 14:14
0b94eca

Choose a tag to compare

  • 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

04 Dec 09:21
e09cd74

Choose a tag to compare

v1.4.3

21 Sep 12:07
4e51ce4

Choose a tag to compare

  • 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

28 Jun 12:49
2709a51

Choose a tag to compare

v1.4.1

14 Feb 16:12
81f0763

Choose a tag to compare

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

31 Jan 11:44
d7234ee

Choose a tag to compare

What's Changed

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

v1.3.0

20 May 12:21

Choose a tag to compare

  • ⚠️ 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

25 Feb 18:55

Choose a tag to compare

Bug Fixes:

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

v1.2.1

03 Feb 22:11

Choose a tag to compare

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

13 Jul 19:13

Choose a tag to compare

  • 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