-
Notifications
You must be signed in to change notification settings - Fork 4
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
Strange behavior of slideView() within rmarkdown #5
Comments
…olling when zooming. addresses #5
@aloboa should be fixed now. Can you please check with the latest version from here... |
Yes, many thanks for the fast fix. but it does as soon as I hit esc or return. Also, the HTML is right now: I think the labels' visibility must be increased, perhaps in bold? |
It does in Firefox (but not in Chromium). However, if there is no tabset, it also renders fine in Chromium...
Yes, I'll open another issue regarding this. This is controlled via CSS, so should be easy to implement.
Also, another issue. I'll look into this when I consolidate the methods (raster to terra internally). |
Using the last version (slideview_0.2.0.9000), https://diapiro.geo3bcn.csic.es/alobo/blog/test_slideView_v4.html
|
Just to make sure it's still an issue, can you try with the latest version ( |
Yes, identical html with the same Rmd and:
|
Did it work before to set |
Do not know, I had not used fig.align with this function before. I reported as soon as I detected the issue. |
Does it work for e.g. a leaflet map? |
I have not tried and my leaflet abilities are rusty. I should be able to try in a few days, I have to take some days off |
Oh, I wish a good recovery. Maybe I will be able to try. Will post here if I do |
It seems I can do some work...
|
Following tje documentation and using the following chunk in the Rmd file:
I get: |
If we write the code of the example in the doc ?slideView within a Rmarkdown notebook
https://www.dropbox.com/scl/fi/xgdo0aouymnmscecqsa82/test_slideView_nb.Rmd?rlkey=sbfh741vpsewk4cxwc0yqmlv9&dl=0
We get an HTML with:
https://diapiro.geo3bcn.csic.es/alobo/blog/test_slideView_nb.nb.html
Also, the size of the plot is different than in plotRGB(), which is inconvenient if we use tabs:
https://www.dropbox.com/scl/fi/5qme5pj4lzz73dglvg2sf/test_slideView_v2_nb.Rmd?rlkey=wqgkg5r9oivl6e5jd0po5cbe4&dl=0
https://diapiro.geo3bcn.csic.es/alobo/blog/test_slideView_v2_nb.nb.html
I observe that in your README.Rmd you actually show a gif:
![](man/figures/slideview.gif)
and not the actual result of
slideView(img2000, img2013, label1 = "before", label2 = "after")
Are you doing this precisely because of the problem I am notifying?
How are you creating the gif? Is there an option within slideView() to create it?
The text was updated successfully, but these errors were encountered: