maptalks / maptalks/maptalks.js
GeoJSONVectorTileLayer中渲染3D线时使用style内的配置文档如何查看
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 4.5k
- Forks
- 511
- Avg merge
- 3d 58m
- Merged PRs (30d)
- 1
Description
**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,
});
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the GeoJSONVectorTileLayer style configuration shown in the issue, especially renderPlugin.dataConfig and symbol fields. Document where the 3D line options such as round-tube, tube, radialSegments, metric, and line styling are defined and how to view or use them; done when users can find and understand these settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100