wraymond
wraymond

Reputation: 325

NOAA nautical chart tileset integration with leaflet in R

I am hoping to use the NOAA nautical charts tileset as a base map in a leaflet map made with R.

library(leaflet)
leaflet() %>% 
addTiles() #use NOAA chart tiles here 

I am hopeful that one can just use the tile URL as suggested by leaflet. I am just not sure how to do that.

Thanks

Upvotes: 3

Views: 1285

Answers (1)

ned
ned

Reputation: 538

library(leaflet)
leaflet() %>% 
   addTiles(urlTemplate = '//tileservice.charts.noaa.gov/tiles/50000_1/{z}/{x}/{y}.png')  #use NOAA chart tiles here

Upvotes: 4

Related Questions