rgdal
. #446mapshot2()
which uses webshot2
package for screenshots.burst = TRUE
popups were not correct. #396 & #408
sf::st_crs()
to avoid warnings ('old-style crs object detected; please recreate object with a recent sf::st_crs()'). #411RasterBrick
method now returns correct @object
slot.new features:
hide
argument to hide layers at the first render.new features:
bugfixes:
new features:
basemaps.color.shuffle
to control if basemaps should automatically adjust to colors of overlays (i.e. use black basemap as default for very light colors). #377miscellaneous:
mapviewGetOption()
is now vectorised.bugfixes:
hide
to hide all but the first layer of a RasterStackBrick. #374new features:
leafem::addGeoRaster()
. https://github.com/r-spatial/leafem/issues/25leafem::addCopyExtent()
now included in all methods.leafem::addFgb()
if GDAL >= 3.1.miscellaneous:
mapview-defunct
.base::hcl.colors()
instead. We now depend on R >= 3.6.new features:
miscellaneous:
bugfixes:
miscellaneous:
addFeatures
, garnishMap
, addHomeButton
, addImageQuery
, addLogo
, addMouseCoordinates
.bugfixes:
miscellaneous:
new features:
bugfixes:
mapview:::nrings
now calculates number of polygon rings correctly. #181new features:
bugfixes:
leaflet::addScalebar()
would prevent Raster* method from rendering correctly for multiple layers.popupTable()
no longer causes a stack overflow with large point data. #154popupGraph()
no longer relies on png files on disk but embeds graphs via base64. #156removeMouseCoordinates()
should work properly now (also exported). #145miscellaneous:
new features:
bugfixes:
new features:
method
to specify the method used for resampling of raster data. #123bugfixes:
zcol
was supplied. #124misc:
new features:
mapview(st_bbox(x))
is equivalent to viewExtent(x)
enhancements:
bugfixes:
new features:
bugfixes:
na.alpha
caused list/burst methods to fail.new features:
na.color
.addFeatures()
: one function to add them all. Type agnostic version of leaflet::add* functions for simple features objects.bugfixes:
new features:
addMouseCoordinates has gained argument 'style' to specify whether to show 'basic' (lat, lon, zoom) or 'detailed' (x, y, epsg, proj4, lat, lon, zoom) information. Factory-fresh default is 'detailed'.
addLogo has gained argument 'alpha' to set the opacity of the image.
Someone draws quickest...
added new method for list of objects so that we can do mapview(list(x, y, z)) which is great for computational outputs such as lapply.
slideView has gained arguments 'label1' and 'label2' to supply slider names for the respective images, img1 and img2.
new popup layout (making more use of the space available).
added new function addLargeFeatures to render large datasets of up to ~100k features which is used automatically. To lower/elevate the threshold use maxpoints = ... (See ?mapview for details).
mapview methods for all basic sf classes (XY/sfg, sfc, sf)
added support for sf to "+"
we can now render features/objects with arbitrary CRS (without map background) by setting 'native.crs = TRUE'.
mapview will now decide which default base map to use based on average luminence of rendered colors.
mapview now provides subtle highlighting of polygons (changing opacity slightly) and lines (changing thickness).
plainView, slideView and cubeView have gained argument legend. default is TRUE. Legends only available for non-RGB methods!
new data sets:
data sets 'breweries91', 'gadmCHE' and 'atlStorms2005' have been deleted and moved to leaflet.
bugfixes:
changes:
@object
will be of class sf (regardless of input class).new features:
bugfixes:
new features:
changes:
bugfixes: