|
1 | 1 | # ggplot2 (development version)
|
2 | 2 |
|
| 3 | +* `coord_sf()` now has an argument `default_crs` that specifies the coordinate |
| 4 | + reference system (CRS) for non-sf layers and scale/coord limits. This argument |
| 5 | + defaults to the World Geodetic System 1984 (WGS84), which means x and y positions |
| 6 | + are interpreted as longitude and latitude. This is a potentially breaking change |
| 7 | + for users who use projected coordinates in non-sf layers or in limits. Setting |
| 8 | + `default_crs = NULL` recovers the old behavior. Further, authors of extension |
| 9 | + packages implementing `stat_sf()`-like functionality are encouraged to look at the |
| 10 | + source code of `stat_sf()`'s `compute_group()` function to see how to provide |
| 11 | + scale-limit hints to `coord_sf()` (@clauswilke, #3659). |
| 12 | + |
3 | 13 | * `ggsave()` now sets the default background to match the fill value of the
|
4 | 14 | `plot.background` theme element (@karawoo, #4057)
|
5 | 15 |
|
@@ -58,16 +68,6 @@ This is a small release focusing on fixing regressions introduced in 3.3.1.
|
58 | 68 |
|
59 | 69 | * `annotation_raster()` adds support for native rasters. For large rasters,
|
60 | 70 | native rasters render significantly faster than arrays (@kent37, #3388)
|
61 |
| - |
62 |
| -* `coord_sf()` now has an argument `default_crs` that specifies the coordinate |
63 |
| - reference system (CRS) for non-sf layers and scale/coord limits. This argument |
64 |
| - defaults to the World Geodetic System 1984 (WGS84), which means x and y positions |
65 |
| - are interpreted as longitude and latitude. This is a potentially breaking change |
66 |
| - for users who use projected coordinates in non-sf layers or in limits. Setting |
67 |
| - `default_crs = NULL` recovers the old behavior. Further, authors of extension |
68 |
| - packages implementing `stat_sf()`-like functionality are encouraged to look at the |
69 |
| - source code of `stat_sf()`'s `compute_group()` function to see how to provide |
70 |
| - scale-limit hints to `coord_sf()` (@clauswilke, #3659). |
71 | 71 |
|
72 | 72 | * Facet strips now have dedicated position-dependent theme elements
|
73 | 73 | (`strip.text.x.top`, `strip.text.x.bottom`, `strip.text.y.left`,
|
|
0 commit comments