Displaying 3 results from an estimated 3 matches for "fillopac".
2018 Jan 19
1
Leaflet maps. Nudging co-incident markers
...et(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,
lng = g$x,
lat = g$y,
popup = g$n,
radius = 5,
stroke =FALSE,
fillOpacity = 0.75,...
2014 Oct 16
2
RCharts+Leaflet+Shiny
...return L.circleMarker(latlng, {
radius: 6,
fillColor: feature.properties.fillColor ||
'blue',
color: '#333',
weight: 1,
fillOpacity: 0.8
})
} !#")
Un head(data_) ahora muestra esto ->
> head(data_)[[1]]
[[1]]$latitude
[1] 40.386
[[1]]$longitude
[1] -3.725
[[1]]$fillColor
[1] "#D251F3"
Seguiré investigando pero parece un buen camino! ;-)
El 1...
2014 Oct 15
2
RCharts+Leaflet+Shiny
...return L.circleMarker(latlng, {
radius: 6,
fillColor: feature.properties.fillColor ||
'blue',
color: '#333',
weight: 1,
fillOpacity: 0.8
})
} !#")
donde mi variable data_, es la que contiene las coordenadas y una columna
con el supuesto color para el cĂrculo:
> head(data_) latitude longitude fillColor
1 40.386 -3.725 #FFFFBF
2 40.393 -3.715 #FFFF...