UNPKG

@nativescript-community/ui-carto

Version:
17 lines (16 loc) 746 B
import { Feature, FeatureCollection as IFeatureCollection, VectorTileFeature } from './feature'; import { MapBounds } from '../core'; import { BaseNative } from '../BaseNative'; export declare class FeatureCollection<T extends com.carto.geometry.FeatureCollection> 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]: /*elided*/ any; }>; } export declare class VectorTileFeatureCollection extends FeatureCollection<com.carto.geometry.VectorTileFeatureCollection> { getFeature(index: number): VectorTileFeature; }