search for: addcirclemark

Displaying 1 result from an estimated 1 matches for "addcirclemark".

2018 Jan 19
1
Leaflet maps. Nudging co-incident markers
...y,cat,n) #get a map and zoom into approx area of interest m=leaflet()%>% setView(lng = -1.935, lat=52.485, zoom=12) m=addTiles(m) m #create groups of objects c= subset(d,cat=="Cafe") l= subset(d, cat=="Library") g= subset(d, cat=="Gallery") #add markers m=addCircleMarkers(m, lng = c$x, lat = c$y, popup = c$n, radius = 5, stroke =FALSE, fillOpacity = 0.75, group = "1 - Cafes") m=addCircleMarkers(m,...