Skip to content
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

Wrong zoom level of tm_tiles() #1004

Closed
Nowosad opened this issue Dec 25, 2024 · 1 comment
Closed

Wrong zoom level of tm_tiles() #1004

Nowosad opened this issue Dec 25, 2024 · 1 comment
Labels
bug compat v3 to v4 transition tmap_v4

Comments

@Nowosad
Copy link
Member

Nowosad commented Dec 25, 2024

library(tmap)
data("NLD_prov")

tmap_mode("view")
tm_basemap("CartoDB.PositronNoLabels") +
  tm_shape(NLD_prov, crs = 4236) +
  tm_borders() +
  tm_tiles("CartoDB.PositronOnlyLabels")

image

@Nowosad Nowosad added bug tmap_v4 compat v3 to v4 transition labels Dec 25, 2024
@mtennekes
Copy link
Member

The default value of max.zoom.level was totally off: 1. It should be somewhere around 18, but ideally provider-specific. See #880

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug compat v3 to v4 transition tmap_v4
Projects
None yet
Development

No branches or pull requests

2 participants