Skip to content
New issue

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

LineLayer flowline 单箭头文档缺失 #2375

Open
zyl-fz opened this issue Apr 2, 2024 · 1 comment
Open

LineLayer flowline 单箭头文档缺失 #2375

zyl-fz opened this issue Apr 2, 2024 · 1 comment
Assignees

Comments

@zyl-fz
Copy link

zyl-fz commented Apr 2, 2024

翻看issues列表时发现可通过flowline绘制单箭头,地址为:https://github.com/antvis/L7/issues/2159, 但目前官网缺少该文档,尤其style中的symbol完全无任何信息可检索

@lvisei
Copy link
Member

lvisei commented Apr 2, 2024

TODO: Docs #2159

export type ArrowType =
| 'circle'
| 'triangle'
| 'rect'
| 'diamond'
| 'classic'
| 'halfTriangle'
| 'none';
export interface IArrowOptions {
type: ArrowType;
width?: number;
height?: number;
radius?: number;
}
export interface ILineSymbol {
source: ArrowType | IArrowOptions;
target: ArrowType | IArrowOptions;
}
export interface IFlowLineStyleOptions extends IBaseLayerStyleOptions {
gapWidth?: number;
offsets?: [number, number];
stroke?: string;
strokeOpacity?: number;
strokeWidth?: number;
symbol?: ILineSymbol;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants