mapview_ext | R Documentation |
A wrapper for mapview::mapview. x can be an sf object or sf list. If nm is NULL and x is an sf list the first item in the list is used.
mapview_col(x, col = NULL, nm = "data", na.rm = TRUE, ...) mapview_yn(x, col = NULL, no.rm = TRUE, ...) mapview_exif(path = NULL, filetype = "jpeg", popup = TRUE, ...) mapview_flickr( x = NULL, user_id = NULL, tags = NULL, api_key = NULL, img_size = "s", num = 25, popup = TRUE, ... ) make_img_leafpop(images, popup = TRUE)
x |
a |
col |
Column name passed to zcol parameter, Default: |
nm |
Character vector. If x is a sf list, filter the mapview data to
those named in nm. If |
na.rm |
If TRUE and col is not NULL, filter NA values from the col before passing to mapview::mapview |
... |
Arguments passed on to |
path |
A path to folder of one or more files with EXIF location metadata. |
filetype |
The file extension or file type; defaults to |
popup |
If |
user_id |
The NSID of the user with photos to search. If this parameter is NULL passed then all public photos will be searched. |
tags |
Optional list of EXIF tags to read from files. Must include GPS tags to create an sf object. |
api_key |
Flickr API key. If api_key is 'NULL', the function uses [getFlickrAPIKey()] to use the environment variable "FLICKR_API_KEY" as the key. |
img_size |
Defaults to "s" (small). Options ranging from smallest to largest include "sq", "t", "s", "q", "m", "n", "z", "c", "l", and "o" |
num |
Number of images to display; defaults to 25. 250 is maximum using |
images |
A simple feature object with columns for the image path/url, image width, and image height. |
mapview::mapView()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.