get_bounds(): the view's extent,c(xmin, ymin, xmax, ymax)in EPSG:3857 metres, or degrees withlonlat = TRUE.get_center():c(longitude, latitude)of the centre.get_zoom(): the MapLibre zoom.get_size():c(width, height)of rendered images in device pixels.
Arguments
- m
A
basemap()object.- lonlat
Return degrees (EPSG:4326) instead of EPSG:3857 metres.