-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.d.ts
40 lines (39 loc) · 951 Bytes
/
plugin.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
type PluginName =
| 'AMap.ElasticMarker'
| 'AMap.ToolBar'
| 'AMap.Scale'
| 'AMap.OverView'
| 'AMap.MapType'
| 'AMap.Geolocation'
| 'AMap.AdvancedInfoWindow'
| 'AMap.Autocomplete'
| 'AMap.PlaceSearch'
| 'AMap.PlaceSearchLayer'
| 'AMap.DistrictSearch'
| 'AMap.LineSearch'
| 'AMap.StationSearch'
| 'AMap.Driving'
| 'AMap.TruckDriving'
| 'AMap.Transfer'
| 'AMap.Walking'
| 'AMap.Riding'
| 'AMap.DragRoute'
| 'AMap.ArrivalRange'
| 'AMap.Geocoder'
| 'AMap.CitySearch'
| 'AMap.IndoorMap'
| 'AMap.MouseTool'
| 'AMap.CircleEditor'
| 'AMap.PolyEditor'
| 'AMap.MarkerClusterer'
| 'AMap.RangingTool'
| 'AMap.CloudDataLayer'
| 'AMap.CloudDataSearch'
| 'AMap.Weather'
| 'AMap.RoadInfoSearch'
| 'AMap.Hotspot'
| 'AMap.Heatmap'
export function plugin(
pluginNames: PluginName | PluginName[],
callback: () => void
): void