-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
13 lines (11 loc) · 902 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
/// <reference types="geojson" />
type Feature = GeoJSON.Feature<any> | GeoJSON.GeometryObject;
export declare function crosses(feature1: Feature, feature2: Feature): Promise<boolean>;
export declare function contains(feature1: Feature, feature2: Feature): Promise<boolean>;
export declare function within(feature1: Feature, feature2: Feature): Promise<boolean>;
export declare function equals(feature1: Feature, feature2: Feature): Promise<boolean>;
export declare function touches(feature1: Feature, feature2: Feature): Promise<boolean>;
export declare function disjoint(feature1: Feature, feature2: Feature): Promise<boolean>;
export declare function intersects(feature1: Feature, feature2: Feature): Promise<boolean>;
export declare function overlaps(feature1: Feature, feature2: Feature): Promise<boolean>;
export declare function covers(feature1: Feature, feature2: Feature): Promise<boolean>;