简体   繁体   中英

Add wrld3d Maps to R Leaflet Package

Is there a way to add our own third-party tiles to the R leaflet package? I've been drooling over wrld3d maps since I discovered them a couple months ago. Thanks!

You can use addTiles to import additional titles. This example lets you import from Google Earth for instance.

leaflet() %>% addTiles(urlTemplate = " https://mts1.google.com/vt/lyrs=s&hl=en&src=app&x= {x}&y={y}&z={z}&s=G", attribution = 'Google')

Solution provided sourced from this question

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM