We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const tiffdata = await vm.getTiffData(res.data); const layer = new RasterLayer({ zIndex: 10, }); layer.source(tiffdata, { parser: { type: 'ndi', width: tiffdata.width, height: tiffdata.height, extent:tiffdata.extent }, }).style({ opacity:1, domain: [-0.3, 0.5], rampColors: { colors: ['#ce4a2e', '#f0a875', '#fff8ba', '#bddd8a', '#5da73e', '#235117'], positions: [0, 0.2, 0.4, 0.6, 0.8, 1.0], }, clampLow: true, }); scene.addLayer(layer);
No response
The text was updated successfully, but these errors were encountered:
heiyexing
No branches or pull requests
问题描述
const tiffdata = await vm.getTiffData(res.data);
const layer = new RasterLayer({
zIndex: 10,
});
layer.source(tiffdata, {
parser: {
type: 'ndi',
width: tiffdata.width,
height: tiffdata.height,
extent:tiffdata.extent
},
}).style({
opacity:1,
domain: [-0.3, 0.5],
rampColors: {
colors: ['#ce4a2e', '#f0a875', '#fff8ba', '#bddd8a', '#5da73e', '#235117'],
positions: [0, 0.2, 0.4, 0.6, 0.8, 1.0],
},
clampLow: true,
});
scene.addLayer(layer);
重现链接
No response
重现步骤
No response
预期行为
No response
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: