Name: Mahima Rao
Date Created: 01/10/19
Lets create a map that shows Taj Mahal in India. To do that, letโs first load the library Leaflet.
library(leaflet)
Create the map
my_map <- leaflet() %>%
addTiles()
Create a link to the official site of Taj Mahal, Agra which we could get relevant information.
TajMahal <- c("<a href= 'tajmahal.gov.in' >Taj Mahal</a>")
leaflet() %>%
addTiles() %>%
addMarkers(lat=27.1751, lng=78.0421, popup = TajMahal)