Date created: September 19, 2026
An interactive map made with Leaflet. Click a marker to see the popup.
library(leaflet)
places <- data.frame(
name = c("MIT Manipal", "End Point, Manipal", "Sri Krishna Temple, Udupi",
"Malpe Beach", "St. Mary's Island"),
lat = c(13.3525, 13.3488, 13.3409, 13.3506, 13.3800),
lng = c(74.7928, 74.7877, 74.7421, 74.7047, 74.6753),
note = c("Where I study Mechatronics", "Great view, great sunsets",
"Famous temple in Udupi", "Beach for a weekend break",
"Island with unique rock formations")
)
leaflet(places) %>%
addTiles() %>%
addMarkers(lng = ~lng, lat = ~lat,
popup = ~paste0("<b>", name, "</b><br>", note))