export interface IGroupedFeatureCollection { Point: IPointFeatureCollection; Polygon: IPolygonFeatureCollection; } export interface IFeatureCollection { type: string; features: IGeoJSONFeature[]; } export interface IPointFeatureCollection { type: string; features: IPointFeature[]; } export interface IPolygonFeatureCollection { type: string; features: IPolygonFeature[]; } export interface IGeoJSONFeature { type: string; id?: string; geometry: {}; properties: any; } export interface IPointFeature extends IGeoJSONFeature { geometry: {type: string, coordinates: number[]}; } export interface IPolygonFeature extends IGeoJSONFeature { geometry: {type: string, coordinates: number[][][]}; }