File tree Expand file tree Collapse file tree 5 files changed +13
-7
lines changed Expand file tree Collapse file tree 5 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 1.4.2
4
+
5
+ * Fix key event handler checks for ` mapboxgl-canvas ` by @neodescis in https://github.com/mapbox/mapbox-gl-draw/pull/1165
6
+ * Fix draw updates not firing consistently by @gynekolog in https://github.com/mapbox/mapbox-gl-draw/pull/1160
7
+ * Fix boxZoom restoring after removal by @kibala145 in https://github.com/mapbox/mapbox-gl-draw/pull/1017
8
+
3
9
## 1.4.1
4
10
5
11
* Revert use of passive event listeners instead of ` preventDefault ` in https://github.com/mapbox/mapbox-gl-draw/pull/1158
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import MapboxDraw from "@mapbox/mapbox-gl-draw";
30
30
** When using a CDN**
31
31
32
32
``` html
33
- <script src =' https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-draw/v1.4.1 /mapbox-gl-draw.js' ></script >
33
+ <script src =' https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-draw/v1.4.2 /mapbox-gl-draw.js' ></script >
34
34
```
35
35
36
36
#### CSS
@@ -42,7 +42,7 @@ import '@mapbox/mapbox-gl-draw/dist/mapbox-gl-draw.css'
42
42
43
43
** When using CDN**
44
44
``` html
45
- <link rel =' stylesheet' href =' https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-draw/v1.4.1 /mapbox-gl-draw.css' type =' text/css' />
45
+ <link rel =' stylesheet' href =' https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-draw/v1.4.2 /mapbox-gl-draw.css' type =' text/css' />
46
46
```
47
47
48
48
### Typescript
Original file line number Diff line number Diff line change 7
7
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
8
8
9
9
< link href ='https://www.mapbox.com/base/latest/base.css ' rel ='stylesheet ' />
10
- < link rel ='stylesheet ' href ='https://api.mapbox.com/mapbox-gl-js/v2.12 .0/mapbox-gl.css '/>
10
+ < link rel ='stylesheet ' href ='https://api.mapbox.com/mapbox-gl-js/v2.15 .0/mapbox-gl.css '/>
11
11
< link rel ='stylesheet ' href ='/dist/mapbox-gl-draw.css '/>
12
12
13
13
< style >
47
47
< div id ="map "> </ div >
48
48
< div id ="tests "> </ div >
49
49
< div id ="logs "> </ div >
50
- < script src ="https://api.mapbox.com/mapbox-gl-js/v2.12 .0/mapbox-gl.js "> </ script >
50
+ < script src ="https://api.mapbox.com/mapbox-gl-js/v2.15 .0/mapbox-gl.js "> </ script >
51
51
< script src ="/dist/mapbox-gl-draw-unminified.js "> </ script >
52
52
< script src ="/dist/bench.js "> </ script >
53
53
</ body >
Original file line number Diff line number Diff line change 5
5
< meta name ='viewport ' content ='initial-scale=1,maximum-scale=1,user-scalable=no ' />
6
6
< meta charset =utf-8 />
7
7
< title > Mapbox GL Draw | Mapbox</ title >
8
- < script src ='https://api.mapbox.com/mapbox-gl-js/v2.13 .0/mapbox-gl.js '> </ script >
9
- < link href ='https://api.mapbox.com/mapbox-gl-js/v2.13 .0/mapbox-gl.css ' rel ='stylesheet ' />
8
+ < script src ='https://api.mapbox.com/mapbox-gl-js/v2.15 .0/mapbox-gl.js '> </ script >
9
+ < link href ='https://api.mapbox.com/mapbox-gl-js/v2.15 .0/mapbox-gl.css ' rel ='stylesheet ' />
10
10
< script src ='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.min.js '> </ script >
11
11
< link href ='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.css ' rel ='stylesheet '>
12
12
< link href ='/dist/mapbox-gl-draw.css ' rel ='stylesheet ' />
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @mapbox/mapbox-gl-draw" ,
3
- "version" : " 1.4.1 " ,
3
+ "version" : " 1.4.2 " ,
4
4
"description" : " A drawing component for Mapbox GL JS" ,
5
5
"homepage" : " https://github.com/mapbox/mapbox-gl-draw" ,
6
6
"author" : " mapbox" ,
You can’t perform that action at this time.
0 commit comments