Skip to content

Commit 9275d66

Browse files
authored
Merge pull request #392 from rstudio/joe/bugfix/file-scheme-tiles
Hardcode scheme for default OSM tiles
2 parents b35b573 + 9a8694c commit 9275d66

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

R/layers.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ hideGroup <- function(map, group) {
116116
#' @export
117117
addTiles <- function(
118118
map,
119-
urlTemplate = '//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
119+
urlTemplate = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
120120
attribution = NULL,
121121
layerId = NULL,
122122
group = NULL,

man/map-layers.Rd

Lines changed: 2 additions & 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)