Skip to content

Commit

Permalink
Add a leaflet to avoid ugly failure with view mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy committed Mar 15, 2024
1 parent b0d68a2 commit d4e583c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ S3method(tmapLeafletCompWidth,tm_legend_standard_portrait)
S3method(tmapLeafletCompWidth,tm_mouse_coordinates)
S3method(tmapLeafletCompWidth,tm_scalebar)
S3method(tmapLeafletCompWidth,tm_title)
S3method(tmapLeafletLegPlot,tm_chart)
S3method(tmapLeafletLegPlot,tm_chart_histogram)
S3method(tmapLeafletLegPlot,tm_compass)
S3method(tmapLeafletLegPlot,tm_credits)
Expand Down
5 changes: 5 additions & 0 deletions R/tmapLeafletComp_charts.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,8 @@ tmapLeafletCompHeight.tm_chart = function(comp, o) {
tmapLeafletLegPlot.tm_chart_histogram = function(comp, lf, o) {
lf
}
#' @method tmapLeafletLegPlot tm_chart
#' @export
tmapLeafletLegPlot.tm_chart = function(comp, lf, o) {
lf
}

0 comments on commit d4e583c

Please sign in to comment.