I'm using the leaflet
package with R to generate interactive maps and I would like to use the Google Maps layer. However Google Maps are not available as an argument of the function addProviderTiles
.
How can I add these google layers with R ?
Thank you very much !
Try this leaflet() %>% addTiles(urlTemplate = "https://mts1.google.com/vt/lyrs=s&hl=en&src=app&x={x}&y={y}&z={z}&s=G", attribution = 'Google')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With