Skip to content

Commit

Permalink
feat(Polygon): 完善文档中未提及的可配置项 zooms
Browse files Browse the repository at this point in the history
  • Loading branch information
xyy94813 committed Mar 13, 2024
1 parent c81d447 commit eea0961
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions types/overlays/Polygon.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ export type PolygonOptions<ExtraData = any> = {
* - 点画线:[10,2,10], [10,2,10] 表示10个像素的实线和2个像素的空白 + 10个像素的实线和10个像素的空白 (如此反复)组成的虚线
*/
strokeDasharray?: Array<number>;
/**
* @warning 文档未提及,但是有效
*/
zooms?: [number, number];

// 以下为 3D mode 下生效
/** 设置 polygon 是否离地绘制,默认值为0 。 */
Expand Down

0 comments on commit eea0961

Please sign in to comment.