Reputation: 417
I'm trying to create an openlayers application to show GeoTIFF stored in my R2 cloudflare.
I'm following same code as https://openlayers.org/en/latest/examples/cog-overviews.html with my R2 link.
my code looks like this
const source = new GeoTIFF({
sources: [
{
url: "https://<my-r2-domain>.r2.dev/airport.tif",
},
],
interpolate: false,
normalize: false,
});
const layer = new WebGLTileLayer({
source: source,
})
map.addLayer(layer)
I'm getting
Failed to load resource: net::ERR_INSUFFICIENT_RESOURCES
Upvotes: -2
Views: 40