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
使用GeoJSONVectorTileLayer绘制道路面,使用threeLayer.toLine绘制线段,在完全俯视的情况下,线段和道路面重合的部分会看不见。 `const geo = new GeoJSONVectorTileLayer("geo", { data: toWgs84(data) });
geo.setStyle({ style: [ { renderPlugin: { dataConfig: { type: "fill", }, sceneConfig: null, type: "fill", }, symbol: { polygonBloom: false, polygonFill: "#999999", polygonOpacity: 1, polygonPatternFile: null, }, } ] });
const groupLayer = new GroupGLLayer("group", [geo]); groupLayer.addTo(map);
const mesh = threeLayer.toLine(line, { interactive: false, altitude: 3, minZoom: 10, maxZoom: 20 }, material.clone()); threeLayer.addMesh(mesh);`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
使用GeoJSONVectorTileLayer绘制道路面,使用threeLayer.toLine绘制线段,在完全俯视的情况下,线段和道路面重合的部分会看不见。
`const geo = new GeoJSONVectorTileLayer("geo", {
data: toWgs84(data)
});
geo.setStyle({
style: [
{
renderPlugin: {
dataConfig: {
type: "fill",
},
sceneConfig: null,
type: "fill",
},
symbol: {
polygonBloom: false,
polygonFill: "#999999",
polygonOpacity: 1,
polygonPatternFile: null,
},
}
]
});
const groupLayer = new GroupGLLayer("group", [geo]);
groupLayer.addTo(map);
const mesh = threeLayer.toLine(line, { interactive: false, altitude: 3, minZoom: 10, maxZoom: 20 }, material.clone());
threeLayer.addMesh(mesh);`
The text was updated successfully, but these errors were encountered: