Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get a basemap under the flowmap ? #4

Open
sriramab opened this issue Feb 18, 2023 · 1 comment
Open

how to get a basemap under the flowmap ? #4

sriramab opened this issue Feb 18, 2023 · 1 comment

Comments

@sriramab
Copy link

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
Copy link

rhs94 commented Aug 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants