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

Support for Crosstalk? #807

Open
mayeulk opened this issue Oct 30, 2023 · 2 comments
Open

Support for Crosstalk? #807

mayeulk opened this issue Oct 30, 2023 · 2 comments
Labels
view View mode issues

Comments

@mayeulk
Copy link

mayeulk commented Oct 30, 2023

Is there any support for interaction between various widgets with crosstalk? (one of these widgets being a tmap object.)
Given that tmap uses leaflet (which supports crosstalk), is it possible to use crosstalk right away with current version of tmap? If so, are there any examples available? Would using tmap_leaflet() be the way to do it?
If not, is there any plan to enable crosstalk with tmap?

For reference, the guide on how to modify an htmlwidget for crosstalk support: https://rstudio.github.io/crosstalk/authoring.html

@mtennekes
Copy link
Member

Great idea! Any volunteers to implement it? (Or at least show how it is done in leaflet)

@mayeulk
Copy link
Author

mayeulk commented Nov 23, 2023

Here is a link for users: tutorial on how to use leaflet and crosstalk:

https://www.zajichekstats.com/post/filterable-maps/

A nice example is here too: https://matt-dray.github.io/earl18-crosstalk/04_leaflet-flexdash-dt-crosstalk.html#interactives (with source code).

It does not explain how leaflet was modified to allow for crosstalk. I guess it requires looking at the commits in the R leaflet package, as well as looking at the guide on how to modify an htmlwidget for crosstalk support: https://rstudio.github.io/crosstalk/authoring.html
I've no idea on how to do this, though.

@olivroy olivroy added the view View mode issues label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
view View mode issues
Projects
None yet
Development

No branches or pull requests

3 participants