🐛 [BUG]
- Dominant language
- TypeScript
- Stars
- 87
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
PolygonLayerProps 配置 raisingHeight高度无效
```typescript
const layerOptions: Omit = {
autoFit: true,
shape: 'fill',
color: "#0DCCFF",
state: {
active: true,
},
style: {
raisingHeight: 200000,
opacity: 0.5,
},
};
```
需要手动在源文件中增加才可以
/Users/canonls/Desktop/CanonLs/tempReact/node_modules/.pnpm/@antv+l7-composite-layers@0.17.1_@antv+l7@2.22.1/node_modules/@antv/l7-composite-layers/dist/lib/core-layers/polygon-layer/types.d.ts
```typescript
import { CoreLayerOptions } from '../../core/core-layer';
/**
* 面图层 图形形状
*/
export type PolygonShape = 'fill' | 'line' | 'extrude';
/**
* 面图层 图层样式
*/
export type PolygonLayerStyleOptions = {
opacity?: number;
/**
* !!!!!! 在这里手动添加⬇️
*/
raisingHeight?:number
};
/**
* 面图层配置
*/
export interface PolygonLayerOptions extends CoreLayerOptions {
/**
* 图形形状
*/
shape?: PolygonShape;
/**
* 图层样式
*/
style?: PolygonLayerStyleOptions;
}
```
### 🐛 Bug description [Please make everyone to understand it]
> Please provide a link by forking these links [LarkMap](https://codesandbox.io/s/larkmap-issue-template-c9m1hr) or GitHub repo, a minimal reproduction.
- _Required_ **Link to minimal reproduction**:
### 📷 Step to reproduce
### 🏞 Expected result
### 🚑 Any additional [like screenshots]
- **LarkMap Version**:
- **Platform**:
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing PolygonLayerProps to the PolygonLayerStyleOptions declaration; the report shows the generated polygon-layer/types.d.ts file where raisingHeight is missing. Check the corresponding source type rather than editing node_modules, then verify that the example configuration type-checks with raisingHeight and that the height is applied. No minimal reproduction or test file is provided.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100