This function is deprecated.
Please use leafem::addLogo
instead.
addLogo(
map,
img,
alpha = 1,
src = c("remote", "local"),
url,
position = c("topleft", "topright", "bottomleft", "bottomright"),
offset.x = 50,
offset.y = 13,
width = 60,
height = 60
)
a mapview or leaflet object.
the image to be added to the map.
opacity of the added image.
character specifying the source location ("local" for images from the disk, "remote" for web image sources).
an optional URL to be opened when clicking on the image (e.g. company's homepage).
one of "topleft", "topright", "bottomleft", "bottomright".
the offset in x direction from the chosen position (in pixels).
the offset in y direction from the chosen position (in pixels).
width of the rendered image in pixels.
height of the rendered image in pixels.