Open alphankirayoglu opened 10 years ago
Did you solve this issue?
I just reopened it. I thought I could follow one of the examples using the circle rather than marker, but it was not successful.
Is there a way to do this? In Leaflet, you can make an icon with L.icon() which has attributes like size and color, but how do you do that with rMaps?
something like
map$marker( c(35.4, -80), color = 'orange', bindPopup = 'this is an orange marker' )
?
How can I control the color and size of markers after following the example code? Or in general customize the icons by passing an L.icon object when creating markers?
Thanks!
L2 <- Leaflet$new() L2$setView(c(40.7569,-73.9544), 13) L2$tileLayer(provider = "MapQuestOpen.OSM") L2$marker(c(40.7569,-73.9544)) L2$marker(c(40.7669,-73.9544))