Rashad Ahammed
2024-01-16 Instructions Create a web page using R Markdown that features a map created with Leaflet.
Host your webpage on either GitHub Pages, RPubs, or NeoCities.
Your webpage must contain the date that you created the document, and it must contain a map created with Leaflet. We would love to see you show off your creativity!
Libraries library(leaflet) library(dplyr) Map with Leaflet This is a map with some historical sites located in Germany.
m <- leaflet(width = “100%”) %>% addTiles() %>% addMarkers(lat = 52.52, lng = 13.405, popup = “Berlin - Brandenburg Gate”) %>%
addMarkers(lat = 48.7775, lng = 9.18, popup = “Stuttgart - Mercedez Benz Museum”) %>%
addMarkers(lat = 48.1375, lng = 11.575, popup = “Munich - Marienplatz Square”) %>%
addMarkers(lat = 53.55, lng = 10, popup = “Hamburg - Elbphilharmonie Concert Hall”) %>%
addMarkers(lat = 50.1106, lng = 8.6822, popup = “Frankfurt - Frankfurt Cathedral (Frankfurter Dom)”) %>%
addMarkers(lat = 51.34, lng = 12.375, popup = “Leipzig - St. Thomas Church (Thomaskirche”) (m)