You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
out(paste0("Transforming 'ext' to Web Mercator (EPSG: 3857), since 'ext' has a different CRS. The CRS of the returned basemap will be Web Mercator, which is the default CRS used by the supported tile services."), type=2)
124
127
}
125
-
ext<- st_bbox(st_transform(st_as_sfc(st_bbox(ext)), crs=crs_webmerc)) #bbox as web mercator, always
128
+
ext<- lapply(ext, function(x){
129
+
st_bbox(st_transform(st_as_sfc(st_bbox(x)), crs=crs_webmerc)) #bbox as web mercator, always
130
+
})
126
131
127
132
## get map
128
133
out(paste0("Loading basemap '", map_type, "' from map service '", map_service, "'..."))
0 commit comments