first of all thanks for reading me and for your help. I'm having trouble creating a choroplet map with mapboxer, I really don't know what I'm doing wrong. Any ideas or suggestions?
The code is the following:
library(tmap)
library(mapboxer)
data("World")
as_mapbox_source(World) %>%
mapboxer() %>%
set_view_state(
lng = 144.9624,
lat = -37.8105,
zoom = 1,
pitch = 35
) %>%
add_fill_layer(
fill_color = c("get", "fillColor"),
fill_opacity = 0.6,
popup = "area"
)