-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Description
Hi,
I am using tmap 4.1, with R 4.4.1 and Rstudio 2025.05.
I want to use GeoportailFrance.orthos and GeoportailFrance.plan to produce maps in plot mode.
The maps produced (in plot or view mode) don't have any background and no error is returned.
Here is a small eg.
tmap_mode("plot")
tm_basemap(server = providers$GeoportailFrance.orthos) +
tm_shape(World |> dplyr::filter(name == "France")) +
tm_polygons(
"HPI",
fill.scale = tm_scale(values = "reds"),
fill_alpha.scale = 0.5)
I tried the same code with tm_tiles() without success.
I checked the leaflet repo (both original and r versions) and no issue has been posted on this.
On the leaflet provider preview, it seems that the GeoportailFrance layers are working : https://leaflet-extras.github.io/leaflet-providers/preview/index.html
So, I assume the error comes from me ?
Thanks
Metadata
Metadata
Assignees
Labels
No labels