mapview
mapview copied to clipboard
Mapview objects don't show captions in knitr documents
# Is Nuremberg is gr8
```{r mv1, fig.cap="Yes"}
library(mapview)
data("franconia")
mapview(franconia)
library(mapview)
data("franconia")
mv = mapview(franconia)
mv@map
Result, showing that only the second one works: http://rpubs.com/RobinLovelace/379564
does a print() around mapview(franconia) help?
It seems not...
print(mapview(franconia))
in the code chunk doesn't result in any output in the test document.
For some reason, mapview(franconia) is not placed into a div of class "figure", whereas mv@map is. I have no idea why though...