-
Notifications
You must be signed in to change notification settings - Fork 2
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
Vertical scrollbar #6
Comments
Do you also have arguments to set the outer margins? |
(Also good the mention in the docs that "between" also can be set with other units like "em") |
Hi Martijn, I'll look into this soon. Currently you can't set anything but between, but we can surely make the adjustment to also be able to control the outer margins. And I guess it would also make sense to be able to adjust the outer div so that the vertical scrollbar can be avoided... |
@mtennekes I am currently planning on revising the package completely so that all styling can be set via css. That would make things a lot easier for everyone using the package (I hope). I also want to address the long standing issue of not being able to save a leafsync object with saveWidget. |
Great idea! And no, it doesn't interfere with tmap development schedule at all; I just use what is there, and besides, it still takes a while before it is stable. |
What is the status of the 'between margin'? I noticed that the syncing doesn't work (anymore?) with between margin enabled: library(leaflet)
library(leafsync)
m1 = leaflet() %>%
addTiles() %>%
addPolygons(data = gadmCHE)
latticeview(m1, m1, m1, between.margin = list(x = "1em", y = "1em"), sync = "all") (And the margins also remain unchanged). |
Oh, this fell off the table completely... Sorry. I haven't used it for more than a year. Not sure when I can look into this, but I'll put it on my to-do list |
No worries, same here:-) It has low priority for me |
Hi Tim,
Thanks for implementing the between argument! It works but I often got a vertical scrollbar:
It is browser dependent. For this specific tmap example the results are: in RStudio viewer pane, it is always there (even when between is set to 0px), in the stand-alone RStudio browser (when pressed on "zoom"), it only appears when between is set to 5 or 10px. In Firefox I got the scrollbar when between > 5px.
The text was updated successfully, but these errors were encountered: