@@ -7,7 +7,7 @@ library(leaflet)
7
7
8
8
# ' ## Artic Projections
9
9
10
- # ' There is a [polarmap.js](http://webmap.arcticconnect.org /)
10
+ # ' There is a [polarmap.js](http://webmap.arcticconnect.ca /)
11
11
# ' leaflet plugin available, but that one is not easy to integrate in to the R package.<br/>
12
12
# ' But thankfully it does provide Tiles in different projections
13
13
# ' which can be used with Proj4Leaflet.
@@ -18,9 +18,9 @@ library(leaflet)
18
18
19
19
# ' All these numbers and calculations come from the polarmap.js plugin, specifically from these files
20
20
# '
21
- # ' - http://webmap.arcticconnect.org /polarmap.js/dist/polarmap-src.js
22
- # ' - http://webmap.arcticconnect.org /tiles.html
23
- # ' - http://webmap.arcticconnect.org /usage.html
21
+ # ' - http://webmap.arcticconnect.ca /polarmap.js/dist/polarmap-src.js
22
+ # ' - http://webmap.arcticconnect.ca /tiles.html
23
+ # ' - http://webmap.arcticconnect.ca /usage.html
24
24
# '
25
25
extent <- 11000000 + 9036842.762 + 667
26
26
origin <- c(- extent , extent )
@@ -57,7 +57,7 @@ crses <- purrr::map(projections, function(code) {
57
57
58
58
# Tile URL Template for each projection
59
59
tileURLtemplates <- purrr :: map(projections , function (code ) {
60
- sprintf(" http ://{s}. tiles.arcticconnect.org /osm_%s/{z}/{x}/{y}.png" ,
60
+ sprintf(" https ://tiles.arcticconnect.ca /osm_%s/{z}/{x}/{y}.png" ,
61
61
code )
62
62
})
63
63
@@ -115,7 +115,7 @@ crsAntartica <- leafletCRS(
115
115
bounds = list ( c(- 4194304 , - 4194304 ), c(4194304 , 4194304 ) )
116
116
)
117
117
118
- antarticaTilesURL <- " //map1{s}.vis.earthdata.nasa.gov/wmts-antarctic/MODIS_Aqua_CorrectedReflectance_TrueColor/default/2014-12-01/EPSG3031_250m/{z}/{y}/{x}.jpg"
118
+ antarticaTilesURL <- " https: //map1{s}.vis.earthdata.nasa.gov/wmts-antarctic/MODIS_Aqua_CorrectedReflectance_TrueColor/default/2014-12-01/EPSG3031_250m/{z}/{y}/{x}.jpg"
119
119
120
120
leaflet(options = leafletOptions(
121
121
crs = crsAntartica , minZoom = zoom , maxZoom = maxZoom , worldCopyJump = FALSE )) %> %
0 commit comments