This is an R Markdown document which contains interactive map.
library(leaflet)
## Warning: package 'leaflet' was built under R version 3.4.3
set.seed(2018-01-01)
# 10 random location of specific latitute/longitude range
df <- data.frame(lat = runif(100, min = 12.925, max = 12.935),
lng = runif(100, min = 77.565, max = 77.575))
# pass those coordinates to leaflet
df %>%
leaflet() %>%
addTiles() %>%
addMarkers(clusterOptions = markerClusterOptions())
Please zoom in/out to interact with the map.