Skip to content

GeoJSONVectorTileLayer中渲染3D线时使用style内的配置文档如何查看 #2040

Open
@1475142232

Description

@1475142232

maptalks's version and what browser you use?

v1.0.0-rc.23

Issue description

GeoJSONVectorTileLayer中渲染3D线时使用style内的配置文档如何查看

Please provide a reproduction URL (on any jsfiddle like site)

const style = {
style: [
{
filter: true,
renderPlugin: {
dataConfig: {
type: "round-tube",
radialSegments: 16,
metric: "cm",
},
sceneConfig: {},
type: "tube",
},
symbol: {
lineColor: [0.56, 0.75, 0.13, 1],
lineWidth: {
type: "identity",
property: "断面尺寸",
},
metallicFactor: 1,
roughnessFactor: 0.5,
},
},
],
};

const vt = new maptalks.GeoJSONVectorTileLayer("vt", {
data: "/geojson/tube.geojson",
style,
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions