forked from rice-crc/voyages-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.d.ts
More file actions
33 lines (31 loc) · 784 Bytes
/
index.d.ts
File metadata and controls
33 lines (31 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Type definitions for leaflet-curve 0.1
// Project: https://github.com/onikiienko/Leaflet.curve
// Definitions by: Onikiienko <https://github.com/onikiienko>
// Andrea <https://github.com/AndreaCimini>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
import * as L from 'leaflet';
declare module 'leaflet' {
class Curve extends Path {
/*
* Return path
*/
getPath(): Array<string | Array<[]>>;
/*
* Set path
*/
setPath(): Curve;
/*
* Get bounds
*/
getBounds(): LatLngBounds;
/*
* Get center
*/
getCenter(): LatLng;
}
/*
* Drawing Bezier curves and other complex shapes.
*/
function curve(path: any[], options?: PathOptions): Curve;
}