Skip to content

Commit 55614eb

Browse files
author
Tim Appelhans
committed
add note about new methods and update news
1 parent b383520 commit 55614eb

File tree

5 files changed

+30
-26
lines changed

5 files changed

+30
-26
lines changed

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
* `addMouseCoordinates()` gained argument `css` to modify the layout of the div. #95
66
* `addHomeButton()` gained arguments `css` and `hover_css` to modify the layout. #92
7+
* `addRasterRGB()` and `addStarsImage()` now support more interpolation options. #106
78

89
# leafem 0.2.3 (2023-09-17)
910

R/addRasterRGB.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@
2929
#' @author
3030
#' Tim Appelhans, Luigi Ranghetti
3131
#'
32+
#' @details
33+
#' Note, method `auto`, the default, will choose between `near` for factorial and
34+
#' `bilinear` for numeric data. All other methods need to be set manually.
35+
#'
36+
#'
3237
#' @examples
3338
#' \donttest{
3439
#' require(raster)

R/addStarsImage.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
#' This is an adaption of \code{\link[leaflet]{addRasterImage}}. See that documentation
1515
#' for details.
1616
#'
17+
#' Note, method `auto`, the default, will choose between `near` for factorial and
18+
#' `bilinear` for numeric data. All other methods need to be set manually.
19+
#'
1720
#' @examples
1821
#' \donttest{
1922
#' library(stars)

man/addRasterRGB.Rd

Lines changed: 11 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/addStarsImage.Rd

Lines changed: 10 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)