You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+30-30Lines changed: 30 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
-
## leaflet 2.1.2.9000
1
+
# leaflet 2.2.0
2
2
3
-
FEATURES
3
+
### Features
4
4
5
5
- Added support for SpatRaster and SpatVector objects from the terra package. (#728)
6
6
7
-
BUG FIXES and IMPROVEMENTS
7
+
-`leaflet()` now uses jQuery 3.6.0 provided via the `{jquerylib}`package. As a result of this change, the HTML dependencies for `leaflet()` are included in the `dependencies` item of the htmlwidget object it returns. (#817, #821)
8
8
9
-
- Use correct license in OpenStreetMap attribution. (#811)
9
+
## Bug fixes and improvements
10
10
11
-
- Update jQuery to utilize `{jquerylib}`. (#817)
11
+
-Use correct license in OpenStreetMap attribution. (#811)
12
12
13
13
- Use `xfun::base64_uri()` for base64 encoding instead of **markdown** and **base64enc**. (#823)
14
14
@@ -18,49 +18,49 @@ BUG FIXES and IMPROVEMENTS
18
18
19
19
- Fixed #866: Correctly call `terra::has.RGB()` in `addRasterImage()` for a `SpatRaster` object. (#869)
20
20
21
-
## leaflet 2.1.2
21
+
# leaflet 2.1.2
22
22
23
-
BUG FIXES and IMPROVEMENTS
23
+
## Bug fixes and improvements
24
24
25
25
- Removed S3 warnings found on R devel (#848)
26
26
27
-
## leaflet 2.1.1
27
+
# leaflet 2.1.1
28
28
29
-
BUG FIXES and IMPROVEMENTS
29
+
## Bug fixes and improvements
30
30
31
31
- The default marker icon for `addMarkers` no longer worked, due to the CDN we were relying on apparently being retired. Fixed by pointing to a new CDN. (#782)
32
32
33
33
- New behavior from tile.openstreetmap.org caused `addTiles` default tileset to break when viewed under non-https protocol on recent versions of Chrome. Fixed by always using the https protocol to connect to openstreetmap. (#786)
34
34
35
-
## leaflet 2.1.0
35
+
# leaflet 2.1.0
36
36
37
-
BUG FIXES and IMPROVEMENTS
37
+
## Bug fixes and improvements
38
38
39
39
- Enable JS function literals (wrapped in `htmlwidgets::JS()`) to be included in arguments to methods invoked on `leafletProxy` objects. (JS function literals could already be included with methods invoked on `leaflet` objects, so this change just brings `leafletProxy` to parity.) (#420)
40
40
41
41
- Add missing CSS rule to show `<img>` in right-pane and left-pane (rstudio/rmarkdown/issues#1949, #770)
42
42
43
43
- Allow for _hidden_ but not suspended leaflet maps to queue calls (such as add raster images) until they are rendered. If a new leaflet map is created, all pending calls are removed. (#771)
44
44
45
-
## leaflet 2.0.4.1
45
+
# leaflet 2.0.4.1
46
46
47
-
FEATURES
47
+
## Features
48
48
49
49
- Updated proj4.js to 2.6.2
50
50
51
-
BUG FIXES and IMPROVEMENTS
51
+
## Bug fixes and improvements
52
52
53
53
- Minor tweaks to example data and tests, required to stay on CRAN
54
54
55
55
- Fixes broken URL (#742) and updated examples to run from system files (#576) including updated .Rmd and .html docs.
56
56
57
-
## leaflet 2.0.3
57
+
# leaflet 2.0.3
58
58
59
-
BREAKING CHANGES
59
+
## Breaking changes
60
60
61
61
-`data("providers")` and `data("providers.details")` no longer exist. Please use `leaflet::providers` and `leaflet::providers.details`. (#636)
62
62
63
-
BUG FIXES and IMPROVEMENTS
63
+
## Bug fixes and improvements
64
64
65
65
- Integrated data from `leaflet.providers` package. See [leaflet.providers](https://rstudio.github.io/leaflet.providers/) for details. (#636)
66
66
- Fixed [rstudio/crosstalk#58](https://github.com/rstudio/crosstalk/issues/58), which caused Leaflet maps that used Crosstalk shared data in Shiny apps, to be redrawn at incorrect times.
@@ -69,32 +69,32 @@ BUG FIXES and IMPROVEMENTS
69
69
-`sf` objects with `names` attributes in the `st_geometry` now visualise correctly (#595)
70
70
- GeoJSON objects missing `properties` can now be displayed (#622)
71
71
72
-
## leaflet 2.0.2
72
+
# leaflet 2.0.2
73
73
74
-
BUG FIXES and IMPROVEMENTS
74
+
## Bug fixes and improvements
75
75
76
76
- Require viridis >= 0.5.1 to avoid namespace issues with viridisLite (#557)
77
77
- Fixed broken mouse events after using leaflet-search from leaflet.extras within shiny applications (#563)
78
-
- Use leaflet namespace on `providers` in `addMiniMap` to make the function accessible in other packages. Fixes [mtennekes/tmap#231](https://github.com/mtennekes/tmap/issues/231). (#568)
78
+
- Use leaflet namespace on `providers` in `addMiniMap` to make the function accessible in other packages. Fixes [r-tmap/tmap#231](https://github.com/r-tmap/tmap/issues/231). (#568)
79
79
- Require scales >= 1.0.0 to avoid exact color matching issues (#578)
80
80
81
-
## leaflet 2.0.1
81
+
# leaflet 2.0.1
82
82
83
-
FEATURES
83
+
## Features
84
84
85
85
- Added method `addMapPane` to add custom pane layers to have fine tune control over layer ordering. New feature from within leaflet.js v1.x. (#549)
86
86
- Exposed htmlwidgets sizingPolicy in leaflet() (#548)
87
87
88
-
BUG FIXES and IMPROVEMENTS
88
+
## Bug fixes and improvements
89
89
90
90
- Default marker icon locations will now use unpkg.com instead of the leaflet cdn when using https or file protocols. (#544)
91
91
-`.leaflet-map-pane``z-index` switched to 'auto'. Allows for map panes to appear above the map if they appear later in the dom. (#537)
92
92
- Use correct Leaflet.js scale control remove method. (#547)
93
93
- Start from world view if using flyTo or flyToBounds. (#552)
94
94
95
-
## leaflet 2.0.0
95
+
# leaflet 2.0.0
96
96
97
-
BREAKING CHANGES
97
+
## Breaking changes
98
98
99
99
- Update to latest leaflet.js v1.3.1 (#453, 314616f) Please see https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html for the latest documentation
100
100
@@ -121,7 +121,7 @@ BREAKING CHANGES
121
121
- Tooltips are now displayed with default Leaflet.js styling
122
122
- In custom javascript extensions, change all `*.bindLabel()` to `*.bindTooltip()`
123
123
124
-
BUG FIXES AND FEATURES
124
+
## Bug fixes and features
125
125
126
126
- Relative protocols are used where possible when adding tiles (#526). In RStudio 1.1.x on linux and windows, a known issue of 'https://' routes fail to load, but works within browsers (rstudio/rstudio#2661).
127
127
@@ -163,7 +163,7 @@ BUG FIXES AND FEATURES
163
163
164
164
- Added `preferCanvas` argument to `leafletOptions()` (#521)
165
165
166
-
## leaflet 1.1.0
166
+
# leaflet 1.1.0
167
167
168
168
- Add support for sf. sf, sfc, and sfg classes are supported with POINT,
169
169
LINESTRING, MULTILINESTRING, POLYGON, and MULTIPOLYGON geometries (note
@@ -202,7 +202,7 @@ BUG FIXES AND FEATURES
202
202
203
203
- Added a way for the Map instance to be instantiated via a factory.
204
204
205
-
## leaflet 1.0.2
205
+
# leaflet 1.0.2
206
206
207
207
- When used with `leafletProxy`, `fitBounds` did not return its input object as
208
208
output, so magrittr chains would break after `fitBounds` was called.
@@ -238,10 +238,10 @@ BUG FIXES AND FEATURES
238
238
-`addScaleBar` and related functions added, for showing Leaflet's built-in
239
239
scale bar in one of the corners of the map. (PR #201. Thanks Kent Johnson!)
240
240
241
-
## leaflet 1.0.1
241
+
# leaflet 1.0.1
242
242
243
243
- Fix #242: Compatibility with htmlwidgets 0.6 (thanks byzheng).
0 commit comments