@nativescript-community/ui-carto
Version:
NativeScript plugin for CARTO Mobile SDK
17 lines (14 loc) • 719 B
TypeScript
import { BasePointVectorElement, PointVectorElementOptions, VectorElement, VectorElementVector } from '.';
import { MapPos } from '../core';
import { Projection } from '../projections';
import { DefaultLatLonKeys, GenericMapPos } from '../core/index.common';
export class GroupOptions<T = DefaultLatLonKeys> extends PointVectorElementOptions<T> {
elements: { id: string; element: VectorElement<any, any> }[];
}
export class Group<T = DefaultLatLonKeys> extends VectorElementVector implements BasePointVectorElement<any, GroupOptions<T>, T> {
position: GenericMapPos<T>;
projection?: Projection;
getNativePos(pos: GenericMapPos<T>): any;
visible?: boolean;
metaData: { [k: string]: string };
}