Releases: mapbox/mapbox-gl-draw
Releases · mapbox/mapbox-gl-draw
v1.4.3
- 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()
ontouchstart
andtouchmove
events by @Archetylator in #1195
v1.4.2
- Fix key event handler checks for
mapboxgl-canvas
by @neodescis in #1165 - Fix draw updates not firing consistently by @gynekolog in #1160
- Fix boxZoom restoring after removal by @kibala145 in #1017
v1.4.1
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
What's Changed
- Reduce NPM package size and big dependency and dev environment cleanup by @mourner in #1119 #1053
- Add Bezier Curve mode by @Jeff-Numix in #1068
- Update control buttons styles by @chriswhong in #1125
- Use passive event listeners instead of
preventDefault
by @danielsippel in #1146 - Adding sorting rank value for MultiLineString by @zhangchn in #1142
- Expose constants and lib APIs to make it easier to write custom draw modes by @thaddmt in #1100
Full Changelog: v1.3.0...v1.4.0
v1.3.0
⚠️ Removed GeoJSON validation indraw.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
Bug Fixes:
- Fix midpoint calculation when using mapbox-gl-draw with 3d terrain
v1.2.1
Bug Fixes:
- Upgrade
peerDependencies
to allowmapbox-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 likefs
andpath
from the bundle.
v1.2.0
v1.2.0-beta.1
- 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)