-
Notifications
You must be signed in to change notification settings - Fork 33
🐛 [BUG] #238
Copy link
Copy link
Open
Description
PolygonLayerProps 配置 raisingHeight高度无效
const layerOptions: Omit<PolygonLayerProps, 'source'> = {
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
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 or GitHub repo, a minimal reproduction.
- Required Link to minimal reproduction:
📷 Step to reproduce
🏞 Expected result
🚑 Any additional [like screenshots]
- LarkMap Version:
- Platform:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels