Usage
mapviewOptions(platform, basemaps, raster.size, maxpixels, maxpoints,
maxpolygons, maxlines, raster.palette, vector.palette, verbose, na.color,
layers.control.pos, default = FALSE, console = TRUE)mapviewGetOption(param)
Arguments
platform
character. The platform to be used (currently only "leaflet"
is allowed)
basemaps
character. The basemaps to be used for rendering data. See
http://leaflet-extras.github.io/leaflet-providers/preview/ for possible
values
maxpixels
numeric. The maximum amount of pixels allowed for Raster*
objects to be rendered. Defaults to 500000. Set this higher if you have a
potent machine or are patient enough to wait a little
maxpoints
numeric. Maximum number of points allowed for leaflet overlay
rendering. If this number is exceeded rendering will be done
using special functionality which will provide much more speed and better handling.
This means that standard functionality is reduce
maxpolygons
numeric. Maximum number of polygons allowed for leaflet overlay
rendering. If this number is exceeded rendering will be done
using special functionality which will provide much more speed and better handling.
This means that standard functionality is redu
maxlines
numeric. Maximum number of lines allowed for leaflet overlay
rendering. If this number is exceeded rendering will be done
using special functionality which will provide much more speed and better handling.
This means that standard functionality is reduced
raster.palette
a color palette function for raster visualisation.
Should be a function that takes an integer as input and returns a vector of colors.
See colorRampPalette for details. vector.palette
a color palette function for vector visualisation.
Should be a function that takes an integer as input and returns a vector of colors.
See colorRampPalette for details. verbose
logical. Many functions in mapview provide details about their
behaviour. Set this to TRUE if you want to see these printed to the console
na.color
character. The default color to be used for NA values.
This is relevant for Raster* objects
layers.control.pos
character. Where should the layer control be
placed? One of "topleft", "topright", "bottomleft", "bottomright".
default
logical. If TRUE all options are set to their default values
console
logical. Should the options be printed to the console
param
character. parameter to be queried.