flowmapblue.R icon indicating copy to clipboard operation
flowmapblue.R copied to clipboard

how to get a basemap under the flowmap ?

Open sriramab opened this issue 2 years ago • 1 comments

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

sriramab avatar Feb 18 '23 14:02 sriramab

@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.

rhs94 avatar Aug 24 '24 12:08 rhs94