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

Updateable 'url hashes' #324

Closed
Robinlovelace opened this issue Sep 20, 2020 · 2 comments
Closed

Updateable 'url hashes' #324

Robinlovelace opened this issue Sep 20, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@Robinlovelace
Copy link

What do you want the feature to do?

Enable users of the mapdeck package to share a url zoomed into a specific place of interest.

Similar examples

http://spenser.geoplumber.com/?lat=53.813&lng=-1.506&zoom=13.72&bea=-3&pit=5.858695652173914&alt=1.5 in project led by Layik Hama.

Just an idea. We'll most likely go with a 'geoplumber' approach but wondering what shiny + mapdeck and possibly other R based solutions in this space can do...

@Robinlovelace Robinlovelace added the enhancement New feature or request label Sep 20, 2020
@dcooley
Copy link
Collaborator

dcooley commented Sep 20, 2020

That's an interesting question. Do you have any idea how this would work through shiny?

@Robinlovelace
Copy link
Author

Shiny's URL updating capabilities are surprisingly good. Here's an example with working 'save state' and bookmark observers. Looking at recent fixes in mapdeck I'm now sure that this could be done in this package which would be amazing.

Reproducible stand-alone example: https://github.com/saferactive/saferactive/blob/master/code/tests/shiny-bookmark-minimal.R

I'm closing because nothing needs to be done in your package as far as I'm aware, but documentation of a working example could be very useful to show it's possible so if you do get a minimal example please post here (and I suggest put in a unevaluated example somewhere in the docs, e.g. in the shiny section which could deserve being an article in its own right IMO).

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

No branches or pull requests

2 participants