Open rnuske opened 5 years ago
Yes, but it would require some refactoring. The ggspatial package will be getting some updates in the next two months, and I'll keep this issue open as a reminder to make this a thing.
As a side note, have you considered using the patchwork package to combine plots?
Haven't looked at patchwork yet. Will give a try tonight. Thanks.
Just working on this now! As you suggested, annotation_scale(..., text_cex=0.5)
should definitely be refactored to use font_size
, and the text_cex
should be deprecated.
For putting multiple maps on one page with
gridExtra::arrangeGrob()
I had to fiddle with all units and the text sizes.The parameter controlling the size of the text is named differently and has different effects at least across
annotation_scale(..., text_cex=0.5)
andannotation_north_arrow(..., style=north_arrow_orienteering(text_size=4)
.Would it be possible to harmonize the way the text size works?