Issue in html rendering when using pipe?
Hi there, Congrats on an awesome package! I have encountered a small issue when rendering the output of an interactive map with R Markdown and xaringan in html. I think it is due to the use of the pipe operator with mapview, which screws things up. Here is a reproducible example, with the slides there. In https://github.com/oliviergimenez/reprex_mapview/tree/master/libs, the directory corresponding to the pipe is "_-founded" whereas that of the non-pipe call to mapview, "breweries-founded", seems more legit. Cheers, Olivier
Thanks! Very useful. The problem is this line in leafem. Given that we attach the data to the html, we need to take care about naming. I think we will need to get away from using LayerId as the filename. Then things should work.
Hope to have a fix soon.
Wow, you're fast ! Glad you've located the issue.