## Determine resolution
r <- terra::rast(system.file("ex/elev.tif", package="terra"))
pixel_dim(r)
## More appropriate for projected coordinates
pixel_dim(r, projected = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.