Skip to content

Commit 4e169a6

Browse files
author
skuethe
committed
Set default width and height of map widget
1 parent 9b0d76a commit 4e169a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/ol.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#' @import htmlwidgets
99
#'
1010
#' @export
11-
ol <- function(width = NULL, height = NULL, elementId = NULL, options = ol_options()) {
11+
ol <- function(width = "100%", height = "400px", elementId = NULL, options = ol_options()) {
1212

1313
# forward options using x
1414
x <- list(calls = list(), options = options)

man/ol.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)