Skip to content

Commit 84dc4cf

Browse files
committed
fix: missing font typing for ClusterElementBuilderOptions
1 parent 6ee80e7 commit 84dc4cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/layers/cluster.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { Font } from '@nativescript/core';
12
import { Color } from '@nativescript/core/color';
23
import { ImageAsset } from '@nativescript/core/image-asset';
34
import { ImageSource } from '@nativescript/core/image-source';
@@ -12,6 +13,7 @@ export interface ClusterElementBuilderOptions {
1213
shape?: string;
1314
textColor?: string | Color;
1415
textSize?: number;
16+
font?: Font;
1517
bbox?: boolean;
1618

1719
buildClusterElement?: (position: MapPos, elements: VectorElementVector) => BaseVectorElement<any, any>;
@@ -26,5 +28,6 @@ export class ClusterElementBuilder<T, U extends ClusterElementBuilderOptions> ex
2628
shape?: string;
2729
textColor?: string | Color;
2830
textSize?: number;
31+
font?: Font;
2932
bbox?: boolean;
3033
}

0 commit comments

Comments
 (0)