Add leg_top parameter for the legend
rysebaert opened this issue · 2 comments
rysebaert commented
if leg_top = TRUE (default value), then the legend is displayed on top of the map. To avoid overlapping with layers used for the map layout.
neocarto commented
Ok. Thank you for the feed back. One solution might be to use the svg element. To be tested...
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use
Another solution would be to export the legend functions and make them accessible outside the cartographic representation function.