view_tiles {tiler} | R Documentation |
View map tiles with Leaflet
Description
View map tiles in the browser using leaflet.
Usage
view_tiles(tiles)
Arguments
tiles |
character, directory where tiles are stored. |
Details
This function opens preview.html
in a web browser. This file displays
map tiles in a Leaflet widget. The file is created when tile()
is called to
generate the map tiles, unless viewer = FALSE
. Alternatively, it is created
(or re-created) subsequent to tile creation using tile_viewer()
.
Value
nothing is returned, but the default browser is launched.
See Also
Examples
# launches browser; requires an existing tile set
## Not run: view_tiles(file.path(tempdir(), "tiles"))
[Package tiler version 0.3.1 Index]