I am trying to load OpenSeaMap
as a provider tile in leaflet
in R
.
leaflet() %>% addProviderTiles(providers$OpenSeaMap) %>% addMarkers(lng = df$Lon,
lat=df$Lat,
label=lapply(labs2, HTML))
However, the tiles are not getting loaded and I get an empty map. No errors, just an empty map with no tiles and my markers correctly plotted. Any idea what the problem could be?