Last data update: 2014.03.03
|
R: Extra options for map elements and layers
tileOptions | R Documentation |
Extra options for map elements and layers
Description
The rest of all possible options for map elements and layers that are not
listed in the layer functions.
Usage
tileOptions(minZoom = 0, maxZoom = 18, maxNativeZoom = NULL, tileSize = 256,
subdomains = "abc", errorTileUrl = "", tms = FALSE, continuousWorld = FALSE,
noWrap = FALSE, zoomOffset = 0, zoomReverse = FALSE, opacity = 1, zIndex = NULL,
unloadInvisibleTiles = NULL, updateWhenIdle = NULL, detectRetina = FALSE,
reuseTiles = FALSE)
WMSTileOptions(styles = "", format = "image/jpeg", transparent = FALSE,
version = "1.1.1", crs = NULL, ...)
popupOptions(maxWidth = 300, minWidth = 50, maxHeight = NULL, autoPan = TRUE,
keepInView = FALSE, closeButton = TRUE, zoomAnimation = TRUE, closeOnClick = NULL,
className = "")
markerOptions(clickable = TRUE, draggable = FALSE, keyboard = TRUE, title = "",
alt = "", zIndexOffset = 0, opacity = 1, riseOnHover = FALSE, riseOffset = 250)
markerClusterOptions(showCoverageOnHover = TRUE, zoomToBoundsOnClick = TRUE,
spiderfyOnMaxZoom = TRUE, removeOutsideVisibleBounds = TRUE, ...)
pathOptions(lineCap = NULL, lineJoin = NULL, clickable = TRUE, pointerEvents = NULL,
className = "")
Arguments
minZoom, maxZoom, maxNativeZoom, tileSize, subdomains, errorTileUrl, tms, continuousWorld, noWrap, zoomOffset, zoomReverse, zIndex, unloadInvisibleTiles, updateWhenIdle, detectRetina, reuseTiles |
the tile layer options; see
http://leafletjs.com/reference.html#tilelayer
|
styles |
comma-separated list of WMS styles
|
format |
WMS image format (use 'image/png' for layers with
transparency)
|
transparent |
if TRUE , the WMS service will return images with
transparency
|
version |
version of the WMS service to use
|
crs |
Coordinate Reference System to use for the WMS requests, defaults
to map CRS (don't change this if you're not sure what it means)
|
... |
other tile options for WMSTileOptions() (all arguments of
tileOptions() can be used)
|
maxWidth, minWidth, maxHeight, autoPan, keepInView, closeButton, zoomAnimation, closeOnClick |
popup options; see http://leafletjs.com/reference.html#popup
|
className |
a CSS class name set on an element
|
clickable |
whether the element emits mouse events
|
draggable, keyboard, title, alt, zIndexOffset, opacity, riseOnHover, riseOffset |
marker options; see http://leafletjs.com/reference.html#marker
|
showCoverageOnHover |
when you mouse over a cluster it shows the bounds
of its markers
|
zoomToBoundsOnClick |
when you click a cluster we zoom to its bounds
|
spiderfyOnMaxZoom |
when you click a cluster at the bottom zoom level we
spiderfy it so you can see all of its markers
|
removeOutsideVisibleBounds |
clusters and markers too far from the
viewport are removed from the map for performance
|
lineCap |
a string that defines
shape
to be used at the end of the stroke
|
lineJoin |
a string that defines
shape
to be used at the corners of the stroke
|
pointerEvents |
sets the pointer-events attribute on the path if
SVG backend is used
|
Functions
-
tileOptions : Options for tile layers
-
WMSTileOptions : Options for WMS tile layers
-
popupOptions : Options for popups
-
markerOptions : Options for markers
-
markerClusterOptions : Options for marker clusters
-
pathOptions : Options for vector layers (polylines, polygons,
rectangles, and circles, etc)
Results
|