The map shows the location of R language birth place
library(leaflet)
library(magrittr)
m <- leaflet() %>%
addTiles() %>% # Add default OpenStreetMap map tiles
addMarkers(lng=174.768, lat=-36.852,popup="The birthplace of R")
# Print the map
m
The map shows the same location of R language birth place, but zoom
is 12
m2 <- leaflet() %>% setView(lng=174.768, lat=-36.852, zoom = 12)
m2 %>% addTiles()
The map shows the same location of R language birth place,Tiles by
NatGeoWorldMap but zoom is 12
m3 <- leaflet() %>% setView(lng=174.768, lat=-36.852, zoom = 12)
m3 %>% addProviderTiles(providers$Esri.NatGeoWorldMap)