Displaying 2 results from an estimated 2 matches for "bindpopup".
2014 Oct 16
2
RCharts+Leaflet+Shiny
...json = F)
  map$geoJson(
#         leafletR::toGeoJSON(data_,
# #                             lat.lon = c('Lat', 'Long'),
#                             dest=output_geofile),
        data_,
        onEachFeature = '#! function(feature, layer){
                              layer.bindPopup(feature.properties.popup)
                            } !#',
        pointToLayer =  "#! function(feature, latlng){
                            return L.circleMarker(latlng, {
                              radius: 6,
                              fillColor: feature.properties.fillColor ||...
2014 Oct 15
2
RCharts+Leaflet+Shiny
...,
por si hay algún experto en el tema.
Pero aún así, adelanto que la chicha ocurre en esta función =>
 map$geoJson(
        leafletR::toGeoJSON(data_,
                            dest=output_geofile),
        onEachFeature = '#! function(feature, layer){
                              layer.bindPopup(feature.properties.popup)
                            } !#',
        pointToLayer =  "#! function(feature, latlng){
                            return L.circleMarker(latlng, {
                              radius: 6,
                              fillColor: feature.properties.fillColor ||...