1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| export default class Feature implements IFeature { id: number; geometry: Geometry; properties: Map<string, any>;
constructor(geom: Geometry | IGeoJSON, properties?: Map<string, any> | any, id?: number); get type(): string; toJSON(): { id: number; type: string; geometry: IGeoJSON; properties: any; }; envelope(): import("./Envelope").default; clone(fields?: 'none' | 'all' | string[]): Feature; static create(feature: IFeature): Feature; static create(json: IGeoJSON): Feature; static parseJSON(json: IGeoJSON): Feature; }
|