@@ -18,14 +18,23 @@ window.google = {
18
18
} ;
19
19
} ,
20
20
} ,
21
+ controls : {
22
+ "right_bottom" : EMPTY_ARRAY
23
+ } ,
21
24
22
25
Animation : EMPTY_OBJECT ,
23
26
Attribution : EMPTY_OBJECT ,
24
27
BicyclingLayer : noop ,
25
28
Circle : noop ,
26
- ControlPosition : EMPTY_OBJECT ,
29
+ ControlPosition : {
30
+ RIGHT_BOTTOM : "right_bottom"
31
+ } ,
27
32
Data : noop ,
28
- DirectionsRenderer : noop ,
33
+ DirectionsRenderer : function ( ) {
34
+ return {
35
+ setMap : noop
36
+ }
37
+ } ,
29
38
DirectionsService : noop ,
30
39
DirectionsStatus : EMPTY_OBJECT ,
31
40
DistanceMatrixElementStatus : EMPTY_OBJECT ,
@@ -39,7 +48,12 @@ window.google = {
39
48
GeocoderStatus : EMPTY_OBJECT ,
40
49
GroundOverlay : noop ,
41
50
ImageMapType : noop ,
42
- InfoWindow : fnEmptyObject ,
51
+ InfoWindow : function ( ) {
52
+ return {
53
+ addListener : noop ,
54
+ close : noop
55
+ }
56
+ } ,
43
57
KmlLayer : noop ,
44
58
KmlLayerStatus : EMPTY_OBJECT ,
45
59
LatLng : function ( lat , lng ) {
@@ -88,7 +102,9 @@ window.google = {
88
102
setStreetView : noop ,
89
103
setTilt : noop ,
90
104
setZoom : noop ,
91
- controls : EMPTY_OBJECT ,
105
+ controls : {
106
+ "right_bottom" : EMPTY_ARRAY
107
+ } ,
92
108
data : {
93
109
add : noop ,
94
110
addListener : noop ,
@@ -145,6 +161,9 @@ window.google = {
145
161
setTitle : noop ,
146
162
setVisible : noop ,
147
163
setZIndex : noop ,
164
+ setIcon : noop ,
165
+ addListener : noop ,
166
+ getPosition : noop
148
167
} ;
149
168
} ,
150
169
MarkerImage : fnEmptyObject ,
0 commit comments