-
Notifications
You must be signed in to change notification settings - Fork 12
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
Adding the setting button tab #6
Comments
@ilyabo and @e-kotov I really wish that you could add the setting tab and also add where you can change the map style as this on: https://app.flowmap.city/public/1681e562-8d37-4dcf-b088-8a6ab41884b9 I really hope that you will answer on whether this is something you will consider to implement in the package cause I really waited for this for a long time! :) |
@rhs94 I believe this fork actually has the map style argument. You can try it https://github.com/JohMast/flowmapblue.R |
Hi @e-kotov, I tried with this code: if (!requireNamespace("devtools", quietly = TRUE)) { flowmapblue <- function( x <- list( htmlwidgets::createWidget( mapboxAccessToken <- 'pk.mytokenhere' (flowmap <- flowmapblue( But the map does not change. Can you help me? I also tried to "make my own" map style and make it public and use the url instead but it doesn't work. What I wanted to use was actually mapbox://styles/mapbox/navigation-day-v1 from https://docs.mapbox.com/api/maps/styles/ |
@rhs94 I did not test this fork https://github.com/JohMast/flowmapblue.R myself. If if does not work, then very probably the version of the flowmapblue TypeScript widget shipped with the package does not actually support changing the mapbox style url. Also, I would suggest to ask the fork author @JohMast rather than here, as he would know better if it should work, and if so, why it does not work. |
Hi all! |
Hi
Is there a way to add the setting button to the htmlwidget (created/coded in RStudio) that are in the web version, as this one?
https://www.flowmap.blue/1ndHiKo8z2B99ZQpToSfoIhI0RCbUsPZhqwNT0-U-TMk?v=14.163209%2C1.373237%2C1.65%2C0%2C0&a=0&as=1&b=1&bo=100&c=1&ca=1&d=1&fe=1<=1&lfm=ALL&col=Mint&f=60
The text was updated successfully, but these errors were encountered: