I wanna show generated tiles on my map. but it’s not working.
request : http://localhost:8000/api/projects/9/tasks/42ba3cb9-1dae-4f67-99e0-0f2d1212e4e9/orthophoto/tiles/{z}/{x}/{y}.png
response: 404 not found.
console.log(res.data);
const info = res.data;
const bounds = L.latLngBounds([
info.bounds.slice(0, 2).reverse(),
info.bounds.slice(2, 4).reverse(),
]);
const layer = L.tileLayer(info.tiles[0], {
bounds,
tms: info.scheme === ‘tms’,
detectRetina: true,
});
layer.addTo(map);