-
Notifications
You must be signed in to change notification settings - Fork 8
/
types.d.ts
34 lines (31 loc) · 888 Bytes
/
types.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
declare const name = 'echarts-extension-gmap'
declare const version = '1.7.0'
interface InnerGoogleMapComponentOption {
/**
* The zIndex of echarts layer for Google Map.
* @default 2000
*/
echartsLayerZIndex?: number
/**
* Whether echarts layer should be rendered when the map is moving.
* if `false`, it will only be re-rendered after the map `moveend`.
* It's better to set this option to false if data is large.
* @default true
*/
renderOnMoving?: boolean
/**
* Whether to enable gesture handling.
* @default true
* @since v1.4.0
*/
roam?: boolean
}
/**
* Extended Google Map component option
*/
interface GoogleMapComponentOption<GoogleMapOption> {
gmap?: GoogleMapOption extends never
? InnerGoogleMapComponentOption
: InnerGoogleMapComponentOption & GoogleMapOption
}
export { name, version, GoogleMapComponentOption }