这是indexloc提供的服务,不要输入任何密码
Skip to content

Update documentation + support title.color in tm_legend() in view mode + add news items #985

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 13, 2024

Conversation

olivroy
Copy link
Contributor

@olivroy olivroy commented Dec 13, 2024

  • Support title.bg.color in tm_legend()
  • Misc doc updates (get rid of duplicate @keywords internal
  • Create NEWS items with some highlights
  • Update some tm_legend() docs
  • Corrections in some messages

Used this idiomatic example to test some things (but that's when I ran into #984.

World |> 
    tm_shape() +
    tm_polygons(
        fill = "HPI", fill.legend = tm_legend(title = "xa", design = "standard", title.color = "orange", bg.color = "purple", show = T), id = "name",
        fill.scale = tm_scale_intervals(label.format = scales::label_dollar()),
    )

NLD_muni |>
	tm_shape() +
	tm_polygons(
		fill = "population", id = "name", fill.legend = tm_legend(title = "bel", show = T, design = "standard", title.color = "orange", bg.color = "purple"))
@olivroy olivroy requested a review from mtennekes December 13, 2024 16:10
@olivroy olivroy changed the title Misc changes Update documentation + support title.color in tm_legend() in view mode + add news items Dec 13, 2024
@mtennekes mtennekes merged commit 1b3dca9 into master Dec 13, 2024
9 checks passed
@mtennekes
Copy link
Member

Awesome, thx!

@olivroy olivroy deleted the misc-changes branch December 13, 2024 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants