Blame view

components/vue-baidu-map/types/index.d.ts 3.28 KB
290144e9   易尊强   第一次
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
  import * as Vue from 'vue'
  
  import { Map } from './map'
  import { MapView } from './map-view'
  import { Scale } from './scale'
  import { Navigation } from './navigation'
  import { MapType } from './map-type'
  import { OverviewMap } from './overview-map'
  import { Geolocation } from './geolocation'
  import { Copyright } from './copyright'
  import { CityList } from './city-list'
  import { Panorama } from './panorama'
  import { Control } from './control'
  import { Marker } from './marker'
  import { PointCollection } from './point-collection'
  import { Polyline } from './polyline'
  import { Polygon } from './polygon'
  import { Circle } from './circle'
  import { Ground } from './ground'
  import { Label } from './label'
  import { InfoWindow } from './info-window'
  import { Overlay } from './overlay'
  import { Menu } from './menu'
  import { Item } from './item'
  import { LocalSearch } from './local-search'
  import { Transit } from './transit'
  import { Walking } from './walking'
  import { Driving } from './driving'
  import { Bus } from './bus'
  import { Tile } from './tile'
  import { Traffic } from './traffic'
  import { Boundary } from './boundary'
  import { AutoComplete } from './auto-complete'
  import { MarkerClusterer } from './marker-clusterer'
  import { Heatmap } from './heatmap'
  import { Lushu } from './lushu'
  import { CurveLine } from './curve-line'
  
  export interface InstallationOptions {
    /**
     * Baidu map developer platform application key.
     * Visit http://lbsyun.baidu.com/apiconsole/key for details
     */
    ak: string
  }
  
  /**
   * Install all vue-baidu-map components into Vue.
   * Please do not invoke this method directly.
   * Call `Vue.use(BaiduMap)` to install.
   */
  declare function install (vue: typeof Vue, options: InstallationOptions): void
  
  declare const _default: {
    install: typeof install
  }
  export default _default
  
  export class BaiduMap  extends Map {}
  export class BmView extends MapView {}
  export class BmScale extends Scale {}
  export class BmNavigation extends Navigation {}
  export class BmMapType extends MapType {}
  export class BmOverviewMap extends OverviewMap {}
  export class BmGeolocation extends Geolocation {}
  export class BmCopyright extends Copyright {}
  export class BmCityList extends CityList {}
  export class BmPanorama extends Panorama {}
  export class BmControl extends Control {}
  export class BmMarker extends Marker {}
  export class BmPointCollection extends PointCollection {}
  export class BmPolyline extends Polyline {}
  export class BmPolygon extends Polygon {}
  export class BmCircle extends Circle {}
  export class BmGround extends Ground {}
  export class BmLabel extends Label {}
  export class BmInfoWindow extends InfoWindow {}
  export class BmOverlay extends Overlay {}
  export class BmContextMenu extends Menu {}
  export class BmContextMenuItem extends Item {}
  export class BmLocalSearch extends LocalSearch {}
  export class BmTransit extends Transit {}
  export class BmWalking extends Walking {}
  export class BmDriving extends Driving {}
  export class BmBus extends Bus {}
  export class BmTile extends Tile {}
  export class BmTraffic extends Traffic {}
  export class BmBoundary extends Boundary {}
  export class BmAutoComplete extends AutoComplete {}
  export class BmlMarkerClusterer extends MarkerClusterer {}
  export class BmlLushu extends Lushu {}
  export class BmlHeatmap extends Heatmap {}
  export class BmlCurveLine extends CurveLine {}