Interactive Map with Leaflet

This is an example of an interactive map created with Leaflet in R Markdown.

leaflet() %>% addTiles() %>%
  setView(lng = -0.09, lat = 51.505, zoom = 10) %>%
  addMarkers(lng = -0.09, lat = 51.505, popup = "Hello, this is a marker on the map!")