UNPKG

@nativescript-community/ui-carto

Version:

NativeScript plugin for CARTO Mobile SDK

17 lines (16 loc) 701 B
import { BaseNative } from '../BaseNative'; import { MapBounds } from '../core'; import { Feature, FeatureCollection as IFeatureCollection, VectorTileFeature } from './feature'; export declare class FeatureCollection<T extends NTFeatureCollection> extends BaseNative<T, {}> implements IFeatureCollection { constructor(native: any); getFeature(index: number): Feature; getGeometry(index: number): any; getFeatureCount(): number; get featureCount(): number; getBounds(): MapBounds<{ [x: string]: any; }>; } export declare class VectorTileFeatureCollection extends FeatureCollection<NTVectorTileFeatureCollection> { getFeature(index: number): VectorTileFeature; }