Releases: mapbox/mapbox-gl-draw
Releases · mapbox/mapbox-gl-draw
v1.5.0
- Library modernization by @stepankuzmin in #1242:
- Add
suppressAPIEventsoption to control event emission from API methods by @stepankuzmin in #1264 - Drop Static mode from constants by @oodavid in #1078
- Keep dashed line for the active state in theme by @stepankuzmin in #1243
- Drop
map.firemonkey patch by @stepankuzmin in #1243 - Expose canvas class name by @neodescis in #1184
- Fix re-enabling the "drag to pan" map interaction by @itoxiq in #1216
- Fix availability of
properties.modeinvertexandmidpointby @varna in #1221 - Fix
featureChangedtrigger on feature properties updates by @petermoz in #1201 - Fix export entries in
package.jsonby @varna in #1275 - Remove
geojson-flattendependency by @stevage in #1066 - Replace
hatwithnanoidfor generating GeoJSON feature IDs by @underoot (h/t @varna for help) in #1318 - Improve custom modes documentation by @mhsattarian in #1022
v1.4.3
- Fix for layer not found error in
featuresAtfunction by @caldwellc in #1194 - Trigger
featureChangedon feature props change by @wyozi in #1196 - Remove
preventDefault()ontouchstartandtouchmoveevents by @Archetylator in #1195
v1.4.2
- Fix key event handler checks for
mapboxgl-canvasby @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
preventDefaultin #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
preventDefaultby @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_selectmode 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
peerDependenciesto allow[email protected]+to be used with gl-draw. - Update
package.jsonso that usage of library from npm always results in pulling in the built bundle. - Remove
require()'ing of unsed node builtins likefsandpathfrom 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)