WMS map in a multiple map outlook

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

WMS map in a multiple map outlook

Hugo Costa
Dear list

I'm interested in plotting multiple maps, in which one of them is WMS. For
example, how can we plot the WMS in the right-down slot produced from the
code below?
Thanks

library(raster)
library(leaflet)
logo <- system.file("pictures/Rlogo.jpg", package="rgdal")[1]
par(mfrow=c(2,2))
plot(raster::brick(logo)[[1]])
plot(raster::brick(logo)[[2]])
plot(raster::brick(logo)[[3]])
# the next map is plotted alone rather than together with the R logo.
leaflet() %>% addTiles() %>% setView(-93.65, 42.0285, zoom = 17)

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
[hidden email]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo