使用的leaflet1.9 加载本地tif文件
const renderer = L.LeafletGeotiff.plotty({
displayMin: 0,
displayMax: 30,
clampLow: false,
clampHigh: true,
colorScale: "rainbow",
arrowSize: 20,
});
L.leafletGeotiff("./lib/geotiff/wind_speed.tif", {
band: 0,
renderer: renderer,
}).addTo(mymap);
控制台的请求tif和找的demo一样 但是项目中未看到叠加的图层