Closed elisefilotas closed 2 years ago
Thanks for raising this. I'll try to look into this soon.
Hi @elisefilotas your first issue (line breaks not respected) should be solved with the latest commit. Note that I've changed a few things, including a small layout change: we now have an argument between
to control the space between panels rather than the hard coded grey boxes around the panels. This is closer to what individual leaflet maps would look like.
The caption issue is a long standing one and not exclusive to leafsync
. See e.g. https://github.com/r-spatial/mapview/issues/146 and all the issues linked there... I am not sure how to solve this unfortunately.
Hi @tim-salabim, thank you so much, it looks great now! Noted for the caption issue. This is less of a problem for me.
Sweet, I'll close the issue here. Feel free to reopen
Hi Tim,
I am having trouble displaying the caption of a figure produced with latticeView when I render an rmarkdown document. The caption does not show up.
I had a similar issue with mapview whenever I added multiple maps (
maps = m1 + m2
), but when I ask for the@map
component (maps@map
) the caption renders correctly.Hence, I suspect that if I could extract a
@map
component from a latticeView object I could solve this issue. Here is a reproducible example.", file = "reprex.Rmd") rmarkdown::render("reprex.Rmd")