You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have encountered an issue with implementing mapboxer_proxy in a modularized app. Simply, after clicking a button I want points to be displayed on a map. Everything works smoothly in a non-modularized app but when I use modules then it doesn't work. Interestingly, leafletProxy works fine even in a modularized app, so I really don't know where the problem lies. Maybe there's some issue with mapboxer_proxy itself? Or maybe I make a mistake somewhere.
@Camil88 It is a problem with the namespace and more or less a bug in mapboxer_proxy.
I need to the change the line shinyId <- session$ns(shiny_id) to shiny_id <- session$ns(shiny_id) (happened when renaming var name).
For now you can solve the issue by providing the namespace in your server function:
Hello,
I have encountered an issue with implementing
mapboxer_proxy
in a modularized app. Simply, after clicking a button I want points to be displayed on a map. Everything works smoothly in a non-modularized app but when I use modules then it doesn't work. Interestingly,leafletProxy
works fine even in a modularized app, so I really don't know where the problem lies. Maybe there's some issue withmapboxer_proxy
itself? Or maybe I make a mistake somewhere.Here is a link to StackOverflow where I described my issue + added working app.R code (modularized and non-modularized): https://stackoverflow.com/questions/66509929/why-mapboxer-proxy-is-not-working-in-a-modularized-shiny-app
I also tried with
set_data
instead ofadd_circle_layer
but it doesn't solve the problem. Could you please advise me on that issue?The text was updated successfully, but these errors were encountered: