1- import { Color } from '@nativescript/core' ;
1+ import { Color , ImageAsset , ImageSource } from '@nativescript/core' ;
22import { BasePointVectorElement , BillboardStyleBuilderOptions , PointVectorElementOptions } from '.' ;
33import { DefaultLatLonKeys } from '../core' ;
44import { BillboardStyleBuilder } from './index.ios' ;
@@ -12,9 +12,9 @@ export class BalloonPopupStyleBuilderOptions extends BillboardStyleBuilderOption
1212 descriptionFontSize ?: number ;
1313 descriptionWrap ?: boolean ;
1414 leftColor ?: string | Color ;
15- leftImage ?: string ;
15+ leftImage ?: string | ImageSource | ImageAsset ;
1616 rightColor ?: string | Color ;
17- rightImage ?: string ;
17+ rightImage ?: string | ImageSource | ImageAsset ;
1818 strokeColor ?: string | Color ;
1919 strokeWidth ?: number ;
2020 titleColor ?: string | Color ;
@@ -28,6 +28,7 @@ export class BalloonPopupStyleBuilder<T, U extends BalloonPopupStyleBuilderOptio
2828 constructor ( options : U ) ;
2929 size ?: number ;
3030 color ?: string | Color ;
31+ buildStyle ( ) ;
3132}
3233
3334export class BalloonPopupOptions < T = DefaultLatLonKeys > extends PointVectorElementOptions < T > {
@@ -47,9 +48,9 @@ export class BalloonPopup<T = DefaultLatLonKeys> extends BasePointVectorElement<
4748 description ?: string ;
4849 descriptionWrap ?: boolean ;
4950 leftColor ?: string | Color ;
50- leftImage ?: string ;
51+ leftImage ?: string | ImageSource | ImageAsset ;
5152 rightColor ?: string | Color ;
52- rightImage ?: string ;
53+ rightImage ?: string | ImageSource | ImageAsset ;
5354 strokeColor ?: string | Color ;
5455 strokeWidth ?: number ;
5556 titleColor ?: string | Color ;
0 commit comments