prg_tile | R Documentation |
Include raster tiles for Prague in ggplot2
prg_tile( data, tile_service = "orto", zoom = 6, alpha = 1, buffer = 0, verbose = F )
data |
sf data frame from which to extract the bounding box |
tile_service |
map service from which to draw the map (see |
zoom |
zoom level, from 0 to the service's limit |
alpha |
transparency of the tiles. |
buffer |
distance between feature end and tile end; for EPSG 5514 in meters. |
verbose |
display information on tile URLs and image processing. |
list including raster annotation layers for ggplot2
Other Mapping:
district_geofacet
,
district_hexogram
,
district_names
,
district_tilegram
,
prg_basemap()
,
prg_endpoints
## Not run: praha1 <- CzechData::load_RUIAN_settlement(prg_kod, "MOMC_P", WGS84 = F) %>% filter(nazev == 'Praha 1') ggplot() + prg_tile(data = praha1, zoom = 10, alpha = .7, buffer = 200, tile_service = 'orto') + geom_sf(data = praha1, fill = alpha("red", 0.6), colour = NA) + theme_void() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.