add_owm_tiles {owmr}R Documentation

Add owm tiles to leaflet map.

Description

Add owm tiles to leaflet map.

Usage

add_owm_tiles(map, layer_name = owm_layers$Temperature_new, ...)

Arguments

map

leaflet map object

layer_name

owm layer name, see owm_layers

...

optional parameters passed to addTiles

Value

updated map object

Examples

## Not run: 
   leaflet() %>% add_owm_tiles() %>%
      addMarkers(data = quakes[1:20, ])

## End(Not run)

[Package owmr version 0.8.2 Index]