Instructions 1. Create a web page using R Markdown that features a map created with Leaflet.

  1. 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!

#required library

library("leaflet")
leaflet() %>% addTiles() %>% setView(77.668889, 12.922822, 6) %>%
  addMarkers(
    lat = 13.039306 , lng = 80.261925,
    label = "Lahore: Place of Birth",
    labelOptions = labelOptions(noHide = T)) %>%
  addMarkers(
    lat = 12.922822, lng = 77.668889,
    label = "Lahore: Place of Residence",
    labelOptions = labelOptions(noHide = T)) %>%
  addMarkers(
    lat = 13.352459, lng = 74.792693,
    label = "King Edward Medical University: My Job Place",
    labelOptions = labelOptions(noHide = T)) 
m <- leaflet() %>%
  addTiles() %>%  # Add default OpenStreetMap map tiles
  addMarkers(lat=17.6129, lng=7.2295, popup="Lahori Gate, Lahore") %>%
  addMarkers(lat=17.5244,lng=7.1855, popup="Badshahi Mosque, Lahore") %>%
  addMarkers(lat=17.6562,lng=7.2410, popup="Dehli Gate, Lahore") %>%
  addMarkers(lat=17.6127,lng=7.2773, popup="Mayo Hospital, Lahore")
m