UNPKG

@nativescript-community/ui-carto

Version:

NativeScript plugin for CARTO Mobile SDK

23 lines (22 loc) 1.06 kB
import { Color, Font } from '@nativescript/core'; import { MapPos } from '../core'; import { BaseNative } from '../BaseNative'; import { BaseVectorElement, VectorElementVector } from '../vectorelements'; import { ClusterElementBuilderOptions } from './cluster'; export declare class ClusterElementBuilderImpl extends AkClusterElementBuilder { private _owner; static initWithOwner(owner: WeakRef<ClusterElementBuilder>): ClusterElementBuilderImpl; buildClusterElementElements(position: NTMapPos, nElements: NTVectorElementVector | number): any; } export declare class ClusterElementBuilder extends BaseNative<NTClusterElementBuilder, ClusterElementBuilderOptions> { bitmap: string; color: string | Color; size: number; shape: string; textSize: number; textColor: string | Color; font: Font; bbox: boolean; createNative(options: any): ClusterElementBuilderImpl | NTClusterElementBuilder; buildClusterElement?: (position: MapPos, elements: VectorElementVector) => BaseVectorElement<any, any> | NTVectorElement; }