Map.js
1.55 KB
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
import createClass from './create-class.js'
const instanceFunctions = [
'addContextMenu',
'addControl',
'addHotspot',
'addOverlay',
'addTileLayer',
'centerAndZoom',
'checkResize',
'clearHotspots',
'clearOverlays',
'closeInfoWindow',
'disable3DBuilding',
'disableAutoResize',
'disableContinuousZoom',
'disableDoubleClickZoom',
'disableDragging',
'disableInertialDragging',
'disableKeyboard',
'disablePinchToZoom',
'disableScrollWheelZoom',
'enable3DBuilding',
'enableAutoResize',
'enableContinuousZoom',
'enableDoubleClickZoom',
'enableDragging',
'enableInertialDragging',
'enableKeyboard',
'enablePinchToZoom',
'enableScrollWheelZoom',
'getBounds',
'getCenter',
'getContainer',
'getCurrentCity',
'getDefaultCursor',
'getDistance',
'getDraggingCursor',
'getInfoWindow',
'getKey',
'getMapType',
'getOverlays',
'getPanes',
'getPanorama',
'getSize',
'getViewport',
'getZoom',
'highResolutionEnabled',
'openInfoWindow',
'overlayPixelToPoint',
'panBy',
'panTo',
'pixelToPoint',
'pointToOverlayPixel',
'pointToPixel',
'pointToPixelFor3D',
'removeContextMenu',
'removeControl',
'removeHotspot',
'removeOverlay',
'removeTileLayer',
'reset',
'selectBaseElement',
'setCenter',
'setCurrentCity',
'setDefaultCursor',
'setDraggingCursor',
'setFeatureStyle',
'setMapStyle',
'setMapType',
'setMaxZoom',
'setMinZoom',
'setPanorama',
'setSize',
'setViewport',
'setZoom',
'zoomIn',
'zoomOut',
'zoomTo'
]
export default createClass(instanceFunctions)