1.4.30 • Published 1 year ago
@types/rtree v1.4.30
Installation
npm install --save @types/rtree
Summary
This package contains type definitions for rtree (https://github.com/leaflet-extras/RTree).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rtree.
index.d.ts
// Type definitions for rtree 1.4.0
// Project: https://github.com/leaflet-extras/RTree
// Definitions by: Omede Firouz <https://github.com/oefirouz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface Rectangle {
x: number;
y: number;
w: number;
h: number;
}
declare class RTree {
insert(bounds: Rectangle, element: Object): boolean;
remove(area: Rectangle, element?: Object): any[];
geoJSON(geoJSON: any): void;
bbox(arg1: any, arg2?: any, arg3?: number, arg4?: number): any[];
search(area: Rectangle, return_node?: boolean, return_array?: any[]): any[];
toJSON(printing?: string | number): string;
}
declare const rtreeLib: {
(max_node_width?: number): RTree;
fromJSON(json: string): RTree;
};
export = rtreeLib;
Additional Details
- Last updated: Tue, 01 Feb 2022 22:01:28 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Omede Firouz.
1.4.30
1 year ago
1.4.29
1 year ago
1.4.28
3 years ago
1.4.27
8 years ago
1.4.26
8 years ago
1.4.25-alpha
8 years ago
1.4.24-alpha
8 years ago
1.4.23-alpha
8 years ago
1.4.22-alpha
8 years ago
1.4.21-alpha
8 years ago
1.4.20-alpha
9 years ago
1.4.19-alpha
9 years ago
1.4.14-alpha
9 years ago
1.4.13-alpha
9 years ago