FlowmapBlue / flowmapblue.R

Flowmap.blue widget for R
https://flowmapblue.github.io/flowmapblue.R/
Other
52 stars 9 forks source link

how to get a basemap under the flowmap ? #4

Open sriramab opened 1 year ago

sriramab commented 1 year ago

Hi,

Is it possible to add a base-map under the flowmap ? I cannot find any option or function to define the basemap ?

thank you

rhs94 commented 2 weeks ago

@sriramab What worked for me was to save the htmlwidget, open the htmlwidget in R, and then editting the code by search after mapbox://styles/mapbox/ and then paste with for instance mapbox://styles/mapbox/streets-v12 If your htmlwdiget too big to open in R you can of course use any text editor, word, notepad etc. Other maps are here: https://docs.mapbox.com/api/maps/styles/

You still need to have your token.