This repository has been archived by the owner on Jun 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.d.ts
73 lines (61 loc) · 1.86 KB
/
index.d.ts
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/// <reference types="Leaflet" />
declare namespace L {
namespace Control {
export interface SearchConstuctorOptions {
url?: string;
layer?: LayerGroup;
sourceData?: string;
jsonpParam?: string;
propertyLoc?: [string];
propertyName?: string;
formatData?: any;
filterData?: any;
moveToLocation?: any;
buildTip?: any;
container?: string;
zoom?: number;
minLength?: number;
initial?: boolean;
casesensitive?: boolean;
autoType?: boolean;
delayType?: number;
tooltipLimit?: number;
tipAutoSubmit?: boolean;
firstTipSubmit?: boolean;
autoResize?: boolean;
collapsed?: true;
autoCollapse?: boolean;
autoCollapseTime?: number;
textErr?: string;
textCancel?: string;
textPlaceholder?: string;
position?: string;
hideMarkerOnCollapse?: boolean;
marker?: Search.Marker;
}
export interface setLayer{
layers?: LayerGroup;
}
export interface showAlert{
message?: string;
}
export interface searchText{
text?: string;
}
namespace Search {
export interface SearchMarkerConstructorOptions {
icon?: Icon;
animate?: boolean;
circle?: Circle;
}
export class Marker {
constructor(options?: SearchMarkerConstructorOptions);
}
}
export interface Search extends Control {
}
export class Search {
constructor(options?: SearchConstuctorOptions);
}
}
}