Add text to booklet map in rCharts

I am using rCharts

to create a brochure map in RStudio.

Does anyone know if it is possible to add text to the resulting map at a specific point ( for example )

I can't see this as a specific feature noted on the rCharts brochure sheets github page: https://github.com/ramnathv/rCharts/blob/master/R/Leaflet.R

Any suggestions are greatly appreciated,

Many thanks,

Ben

+3


source to share


1 answer


I might suggest the leaflet package as it is more actively supported:

library(leaflet)

content <- paste(sep = "<br/>",
  "I am some text"
)

leaflet() %>% addTiles() %>%
  addPopups(-122.327298, 47.597131, content,
    options = popupOptions(closeButton = FALSE)
  )

      



enter image description here

+2


source







All Articles