# S4 method for RasterLayer
mapView(x, map = NULL,
maxpixels = mapviewGetOption("mapview.maxpixels"),
col.regions = mapviewGetOption("raster.palette")(256), at = NULL,
na.color = mapviewGetOption("na.color"), use.layer.names = FALSE,
values = NULL, map.types = mapviewGetOption("basemaps"),
alpha.regions = 0.8, legend = mapviewGetOption("legend"),
legend.opacity = 1, trim = TRUE,
verbose = mapviewGetOption("verbose"), layer.name = NULL,
homebutton = TRUE, native.crs = FALSE, method = c("bilinear",
"ngb"), label = TRUE, query.type = c("mousemove", "click"),
query.digits, query.position = "topright", query.prefix = "Layer",
...)# S4 method for stars
mapView(x, band = 1, map = NULL,
maxpixels = mapviewGetOption("mapview.maxpixels"),
col.regions = mapviewGetOption("raster.palette")(256), at = NULL,
na.color = mapviewGetOption("na.color"), use.layer.names = FALSE,
values = NULL, map.types = mapviewGetOption("basemaps"),
alpha.regions = 0.8, legend = mapviewGetOption("legend"),
legend.opacity = 1, trim = TRUE,
verbose = mapviewGetOption("verbose"), layer.name = NULL,
homebutton = TRUE, native.crs = FALSE, method = c("bilinear",
"ngb"), label = TRUE, query.type = c("mousemove", "click"),
query.digits, query.position = "topright", query.prefix = "Layer",
...)
# S4 method for RasterStackBrick
mapView(x, map = NULL,
maxpixels = mapviewGetOption("mapview.maxpixels"),
col.regions = mapviewGetOption("raster.palette")(256), at = NULL,
na.color = mapviewGetOption("na.color"), use.layer.names = TRUE,
values = NULL, map.types = mapviewGetOption("basemaps"),
legend = mapviewGetOption("legend"), legend.opacity = 1,
trim = TRUE, verbose = mapviewGetOption("verbose"),
homebutton = TRUE, method = c("bilinear", "ngb"), label = TRUE,
query.type = c("mousemove", "click"), query.digits,
query.position = "topright", query.prefix = "Layer", ...)
# S4 method for Satellite
mapView(x, map = NULL,
maxpixels = mapviewGetOption("mapview.maxpixels"),
col.regions = mapviewGetOption("raster.palette")(256), at = NULL,
na.color = mapviewGetOption("na.color"), values = NULL,
map.types = mapviewGetOption("basemaps"),
legend = mapviewGetOption("legend"), legend.opacity = 1,
trim = TRUE, verbose = mapviewGetOption("verbose"),
homebutton = TRUE, method = c("bilinear", "ngb"), label = TRUE,
...)
# S4 method for sf
mapView(x, map = NULL, pane = "auto",
canvas = useCanvas(x), zcol = NULL, burst = FALSE,
color = mapviewGetOption("vector.palette"),
col.regions = mapviewGetOption("vector.palette"), at = NULL,
na.color = mapviewGetOption("na.color"), cex = 6,
lwd = lineWidth(x), alpha = 0.9, alpha.regions = regionOpacity(x),
na.alpha = regionOpacity(x), map.types = NULL,
verbose = mapviewGetOption("verbose"), popup = popupTable(x),
layer.name = NULL, label = makeLabels(x, zcol),
legend = mapviewGetOption("legend"), legend.opacity = 1,
homebutton = TRUE, native.crs = FALSE,
highlight = mapviewHighlightOptions(x, alpha.regions, alpha, lwd),
maxpoints = getMaxFeatures(x), ...)
# S4 method for sfc
mapView(x, map = NULL, pane = "auto",
canvas = useCanvas(x), color = standardColor(x),
col.regions = standardColRegions(x), at = NULL,
na.color = mapviewGetOption("na.color"), cex = 6,
lwd = lineWidth(x), alpha = 0.9, alpha.regions = regionOpacity(x),
map.types = NULL, verbose = mapviewGetOption("verbose"),
popup = NULL, layer.name = deparse(substitute(x, env =
parent.frame())), label = makeLabels(x),
legend = mapviewGetOption("legend"), legend.opacity = 1,
homebutton = TRUE, native.crs = FALSE,
highlight = mapviewHighlightOptions(x, alpha.regions, alpha, lwd),
maxpoints = getMaxFeatures(x), ...)
# S4 method for numeric
mapView(x, y, type = "p", grid = TRUE, label, ...)
# S4 method for data.frame
mapView(x, xcol, ycol, grid = TRUE, aspect = 1,
popup = popupTable(x), label, crs = NA, ...)
# S4 method for XY
mapView(x, map = NULL, pane = "auto",
canvas = useCanvas(x), color = standardColor(x),
col.regions = standardColRegions(x), at = NULL,
na.color = mapviewGetOption("na.color"), cex = 6,
lwd = lineWidth(x), alpha = 0.9, alpha.regions = regionOpacity(x),
map.types = NULL, verbose = mapviewGetOption("verbose"),
popup = NULL, layer.name = deparse(substitute(x, env =
parent.frame(1))), label = makeLabels(x),
legend = mapviewGetOption("legend"), legend.opacity = 1,
homebutton = TRUE, native.crs = FALSE,
highlight = mapviewHighlightOptions(x, alpha.regions, alpha, lwd),
maxpoints = getMaxFeatures(x), ...)
# S4 method for XYZ
mapView(x, layer.name = deparse(substitute(x, env =
parent.frame(1))), ...)
# S4 method for XYM
mapView(x, layer.name = deparse(substitute(x, env =
parent.frame(1))), ...)
# S4 method for XYZM
mapView(x, layer.name = deparse(substitute(x, env =
parent.frame(1))), ...)
# S4 method for bbox
mapView(x, layer.name = deparse(substitute(x, env =
parent.frame(1))), alpha.regions = 0.2, ...)
# S4 method for missing
mapView(map.types = mapviewGetOption("basemaps"),
...)
# S4 method for list
mapView(x, map = NULL, zcol = NULL, burst = FALSE,
color = mapviewGetOption("vector.palette"),
col.regions = mapviewGetOption("vector.palette"), at = NULL,
na.color = mapviewGetOption("na.color"), cex = 6, lwd = lapply(x,
lineWidth), alpha = lapply(seq(x), function(i) 0.9),
alpha.regions = lapply(seq(x), function(i) 0.6),
map.types = mapviewGetOption("basemaps"),
verbose = mapviewGetOption("verbose"), popup = lapply(seq(x),
function(i) { popupTable(x[[i]]) }),
layer.name = deparse(substitute(x, env = parent.frame())),
label = lapply(seq(x), function(i) { makeLabels(x[[i]], zcol =
zcol[[i]]) }), legend = mapviewGetOption("legend"),
legend.opacity = 1, homebutton = TRUE, native.crs = FALSE,
maxpoints = NULL, ...)
# S4 method for ANY
mapview(...)
# S4 method for SpatialPixelsDataFrame
mapView(x, map = NULL, zcol = NULL,
maxpixels = mapviewGetOption("mapview.maxpixels"),
col.regions = mapviewGetOption("raster.palette")(256), at = NULL,
na.color = mapviewGetOption("na.color"), use.layer.names = FALSE,
values = NULL, map.types = mapviewGetOption("basemaps"),
alpha.regions = 0.8, legend = mapviewGetOption("legend"),
legend.opacity = 1, trim = TRUE,
verbose = mapviewGetOption("verbose"), layer.name = NULL,
homebutton = TRUE, native.crs = FALSE, method = c("bilinear",
"ngb"), label = TRUE, query.type = c("mousemove", "click"),
query.digits, query.position = "topright", query.prefix = "Layer",
...)
# S4 method for SpatialGridDataFrame
mapView(x, map = NULL, zcol = NULL,
maxpixels = mapviewGetOption("mapview.maxpixels"),
col.regions = mapviewGetOption("raster.palette")(256), at = NULL,
na.color = mapviewGetOption("na.color"), use.layer.names = FALSE,
values = NULL, map.types = mapviewGetOption("basemaps"),
alpha.regions = 0.8, legend = mapviewGetOption("legend"),
legend.opacity = 1, trim = TRUE,
verbose = mapviewGetOption("verbose"), layer.name = NULL,
homebutton = TRUE, native.crs = FALSE, method = c("bilinear",
"ngb"), label = TRUE, query.type = c("mousemove", "click"),
query.digits, query.position = "topright", query.prefix = "Layer",
...)
# S4 method for SpatialPointsDataFrame
mapView(x, zcol = NULL,
layer.name = NULL, ...)
# S4 method for SpatialPoints
mapView(x, zcol = NULL, layer.name = NULL,
...)
# S4 method for SpatialPolygonsDataFrame
mapView(x, zcol = NULL,
layer.name = NULL, ...)
# S4 method for SpatialPolygons
mapView(x, zcol = NULL, layer.name = NULL,
...)
# S4 method for SpatialLinesDataFrame
mapView(x, zcol = NULL,
layer.name = NULL, ...)
# S4 method for SpatialLines
mapView(x, zcol = NULL, layer.name = NULL,
...)