Asks the tile server what the layer shows at a coordinate, instead of the app opening a raster itself. The pixels the user is looking at and the number in the popup then come from the SAME source, so they cannot disagree – and the app needs no local copy of the surface, which is the point of publishing COGs.
Usage
cog_point_value(
cog_url,
lon,
lat,
base = "https://titiler-v8.marinesensitivity.org",
timeout = 8
)