Map visualisation using leaftlet library in R

This project involves map visualisation using leaftlet library in R. I have inserted markers in a few of my favourite places. These markers have pop-ups that will show a short name of those locations when clicked. In addition, they in turn have clickable links to websites that provide more information.

Map of Bukit Batok in Singapore

Loading the leaftlet library

library(leaflet)

Creating map of Bukit Batok in Singapore. Inserting markers with clickable links in desired locations

BukitBatok_LatLong <- data.frame(
  lat = c(1.35857,1.35539, 1.35885),
  lng = c(103.74922,103.75395, 103.75187)
)

BukitBatok_Links <- c("<a href='https://giant.sg/store/bukit-batok-376/'>My favourite  neighbourhood supermarket</a>", 
                      "<a href='https://en.wikipedia.org/wiki/Bukit_Batok_Town_Park'>My favourite corner in Little Guilin</a>",
                      "<a href='https://en.wikipedia.org/wiki/Bukit_Gombak_MRT_station'>Bukit Gombak MRT Station</a>"
                      )
BukitBatok_map <- BukitBatok_LatLong %>% leaflet() %>% addTiles() %>% addMarkers(popup=BukitBatok_Links) 

BukitBatok_map