Debian Codegraph @

contrib/externs/google_maps_api_v2.js

raw symbols SCIP
1 /*
2 * Copyright 2010 The Closure Compiler Authors.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 /**
18 * @fileoverview Externs for the Google Maps V2 API.
19 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html
20 * @externs
21 */
22
23 google.maps = {};
24
25 /**
26 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMap2.GMap2
27 * @constructor
28 * @param {Node} container
29 * @param {Object.<string, *>=} opts
30 */
31 function GMap2(container, opts) {}
32
33 /** @typedef {GMap2} */
34 google.maps.Map2;
35
36 /** @return {undefined} */
37 GMap2.prototype.enableDragging = function() {};
38
39 /** @return {undefined} */
40 GMap2.prototype.disableDragging = function() {};
41
42 /**
43 * @nosideeffects
44 * @return {boolean}
45 */
46 GMap2.prototype.draggingEnabled = function() {};
47
48 /** @return {undefined} */
49 GMap2.prototype.enableInfoWindow = function() {};
50
51 /** @return {undefined} */
52 GMap2.prototype.disableInfoWindow = function() {};
53
54 /**
55 * @nosideeffects
56 * @return {boolean}
57 */
58 GMap2.prototype.infoWindowEnabled = function() {};
59
60 /** @return {undefined} */
61 GMap2.prototype.enableDoubleClickZoom = function() {};
62
63 /** @return {undefined} */
64 GMap2.prototype.disableDoubleClickZoom = function() {};
65
66 /**
67 * @nosideeffects
68 * @return {boolean}
69 */
70 GMap2.prototype.doubleClickZoomEnabled = function() {};
71
72 /** @return {undefined} */
73 GMap2.prototype.enableContinuousZoom = function() {};
74
75 /** @return {undefined} */
76 GMap2.prototype.disableContinuousZoom = function() {};
77
78 /**
79 * @nosideeffects
80 * @return {boolean}
81 */
82 GMap2.prototype.continuousZoomEnabled = function() {};
83
84 /** @return {undefined} */
85 GMap2.prototype.enableGoogleBar = function() {};
86
87 /** @return {undefined} */
88 GMap2.prototype.disableGoogleBar = function() {};
89
90 /** @return {undefined} */
91 GMap2.prototype.enableScrollWheelZoom = function() {};
92
93 /** @return {undefined} */
94 GMap2.prototype.disableScrollWheelZoom = function() {};
95
96 /**
97 * @nosideeffects
98 * @return {boolean}
99 */
100 GMap2.prototype.scrollWheelZoomEnabled = function() {};
101
102 /** @return {undefined} */
103 GMap2.prototype.enablePinchToZoom = function() {};
104
105 /** @return {undefined} */
106 GMap2.prototype.disablePinchToZoom = function() {};
107
108 /**
109 * @nosideeffects
110 * @return {boolean}
111 */
112 GMap2.prototype.pinchToZoomEnabled = function() {};
113
114 /**
115 * @nosideeffects
116 * @return {Object}
117 */
118 GMap2.prototype.getDefaultUI = function() {};
119
120 /** @return {undefined} */
121 GMap2.prototype.setUIToDefault = function() {};
122
123 /** @param {GMapUIOptions} ui */
124 GMap2.prototype.setUI = function(ui) {};
125
126 /**
127 * @param {GControl} control
128 * @param {GControlPosition=} position
129 */
130 GMap2.prototype.addControl = function(control, position) {};
131
132 /** @param {GControl} control */
133 GMap2.prototype.removeControl = function(control) {};
134
135 /**
136 * @nosideeffects
137 * @return {Node}
138 */
139 GMap2.prototype.getContainer = function() {};
140
141 /**
142 * @nosideeffects
143 * @return {Array.<GMapType>}
144 */
145 GMap2.prototype.getMapTypes = function() {};
146
147 /**
148 * @nosideeffects
149 * @return {GMapType}
150 */
151 GMap2.prototype.getCurrentMapType = function() {};
152
153 /** @param {GMapType} type */
154 GMap2.prototype.setMapType = function(type) {};
155
156 /** @param {GMapType} type */
157 GMap2.prototype.addMapType = function(type) {};
158
159 /** @param {GMapType} type */
160 GMap2.prototype.removeMapType = function(type) {};
161
162 /**
163 * @nosideeffects
164 * @return {boolean}
165 */
166 GMap2.prototype.isLoaded = function() {};
167
168 /**
169 * @nosideeffects
170 * @return {GLatLng}
171 */
172 GMap2.prototype.getCenter = function() {};
173
174 /**
175 * @nosideeffects
176 * @return {GLatLngBounds}
177 */
178 GMap2.prototype.getBounds = function() {};
179
180 /**
181 * @nosideeffects
182 * @param {GLatLngBounds} bounds
183 * @return {number}
184 */
185 GMap2.prototype.getBoundsZoomLevel = function(bounds) {};
186
187 /**
188 * @nosideeffects
189 * @return {GSize}
190 */
191 GMap2.prototype.getSize = function() {};
192
193 /**
194 * @nosideeffects
195 * @return {number}
196 */
197 GMap2.prototype.getZoom = function() {};
198
199 /**
200 * @nosideeffects
201 * @return {GDraggableObject}
202 */
203 GMap2.prototype.getDragObject = function() {};
204
205 /** @param {function(Object)} callback */
206 GMap2.prototype.getEarthInstance = function(callback) {};
207
208 /**
209 * @param {GLatLng} center
210 * @param {number=} zoom
211 * @param {GMapType=} type
212 */
213 GMap2.prototype.setCenter = function(center, zoom, type) {};
214
215 /** @param {GLatLng} center */
216 GMap2.prototype.panTo = function(center) {};
217
218 /** @param {GSize} distance */
219 GMap2.prototype.panBy = function(distance) {};
220
221 /**
222 * @param {number} dx
223 * @param {number} dy
224 */
225 GMap2.prototype.panDirection = function(dx, dy) {};
226
227 /** @param {number} level */
228 GMap2.prototype.setZoom = function(level) {};
229
230 /**
231 * @param {GLatLng=} latlng
232 * @param {boolean=} doCenter
233 * @param {boolean=} doContinuousZoom
234 */
235 GMap2.prototype.zoomIn = function(latlng, doCenter, doContinuousZoom) {};
236
237 /**
238 * @param {GLatLng=} latlng
239 * @param {boolean=} doContinuousZoom
240 */
241 GMap2.prototype.zoomOut = function(latlng, doContinuousZoom) {};
242
243 /** @return {undefined} */
244 GMap2.prototype.savePosition = function() {};
245
246 /** @return {undefined} */
247 GMap2.prototype.returnToSavedPosition = function() {};
248
249 /** @return {undefined} */
250 GMap2.prototype.checkResize = function() {};
251
252 /** @param {GOverlay} overlay */
253 GMap2.prototype.addOverlay = function(overlay) {};
254
255 /** @param {GOverlay} overlay */
256 GMap2.prototype.removeOverlay = function(overlay) {};
257
258 /** @return {undefined} */
259 GMap2.prototype.clearOverlays = function() {};
260
261 /**
262 * @nosideeffects
263 * @param {GMapPane} pane
264 * @return {Node}
265 */
266 GMap2.prototype.getPane = function(pane) {};
267
268 /**
269 * @param {GLatLng} latlng
270 * @param {Node} node
271 * @param {Object.<string, *>=} opts
272 */
273 GMap2.prototype.openInfoWindow = function(latlng, node, opts) {};
274
275 /**
276 * @param {GLatLng} latlng
277 * @param {string} html
278 * @param {Object.<string, *>=} opts
279 */
280 GMap2.prototype.openInfoWindowHtml = function(latlng, html, opts) {};
281
282 /**
283 * @param {GLatLng} latlng
284 * @param {Array.<GInfoWindowTab>} tabs
285 * @param {Object.<string,*>=} opts
286 */
287 GMap2.prototype.openInfoWindowTabs = function(latlng, tabs, opts) {};
288
289 /**
290 * @param {GLatLng} latlng
291 * @param {Array.<GInfoWindowTab>} tabs
292 * @param {Object.<string, *>=} opts
293 */
294 GMap2.prototype.openInfoWindowTabsHtml = function(latlng, tabs, opts) {};
295
296 /**
297 * @param {GLatLng} latlng
298 * @param {Object.<string, *>=} opts
299 */
300 GMap2.prototype.showMapBlowup = function(latlng, opts) {};
301
302 /**
303 * @param {Array.<GInfoWindowTab>} tabs
304 * @param {function()=} onupdate
305 */
306 GMap2.prototype.updateInfoWindow = function(tabs, onupdate) {};
307
308 /**
309 * @param {function(GInfoWindowTab)} modifier
310 * @param {function()=} onupdate
311 */
312 GMap2.prototype.updateCurrentTab = function(modifier, onupdate) {};
313
314 /** @return {undefined} */
315 GMap2.prototype.closeInfoWindow = function() {};
316
317 /**
318 * @nosideeffects
319 * @return {GInfoWindow}
320 */
321 GMap2.prototype.getInfoWindow = function() {};
322
323 /**
324 * @nosideeffects
325 * @param {GPoint} pixel
326 * @return {GLatLng}
327 */
328 GMap2.prototype.fromContainerPixelToLatLng = function(pixel) {};
329
330 /**
331 * @nosideeffects
332 * @param {GLatLng} latlng
333 * @return {GPoint}
334 */
335 GMap2.prototype.fromLatLngToContainerPixel = function(latlng) {};
336
337 /**
338 * @nosideeffects
339 * @param {GLatLng} latlng
340 * @return {GPoint}
341 */
342 GMap2.prototype.fromLatLngToDivPixel = function(latlng) {};
343
344 /**
345 * @nosideeffects
346 * @param {GPoint} pixel
347 * @return {GLatLng}
348 */
349 GMap2.prototype.fromDivPixelToLatLng = function(pixel) {};
350
351 /** @param {number=} level */
352 GMap2.prototype.enableRotation = function(level) {};
353
354 /** @return {undefined} */
355 GMap2.prototype.disableRotation = function() {};
356
357 /**
358 * @nosideeffects
359 * @return {boolean}
360 */
361 GMap2.prototype.rotationEnabled = function() {};
362
363 /**
364 * @nosideeffects
365 * @return {boolean}
366 */
367 GMap2.prototype.isRotatable = function() {};
368
369 /** @param {number} heading */
370 GMap2.prototype.changeHeading = function(heading) {};
371
372 /**
373 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GBounds.GBounds
374 * @constructor
375 * @param {Array.<GPoint>} points
376 */
377 function GBounds(points) {}
378
379 /** @typedef {GBounds} */
380 google.maps.Bounds;
381
382 /**
383 * @nosideeffects
384 * @return {string}
385 */
386 GBounds.prototype.toString = function() {};
387
388 /**
389 * @nosideeffects
390 * @param {GBounds} other
391 * @return {boolean}
392 */
393 GBounds.prototype.equals = function(other) {};
394
395 /** @return {GPoint} */
396 GBounds.prototype.mid = function() {};
397
398 /**
399 * @nosideeffects
400 * @return {GPoint}
401 */
402 GBounds.prototype.min = function() {};
403
404 /**
405 * @nosideeffects
406 * @return {GPoint}
407 */
408 GBounds.prototype.max = function() {};
409
410 /**
411 * @nosideeffects
412 * @param {GBounds} other
413 * @return {boolean}
414 */
415 GBounds.prototype.containsBounds = function(other) {};
416
417 /**
418 * @nosideeffects
419 * @param {GPoint} point
420 * @return {boolean}
421 */
422 GBounds.prototype.containsPoint = function(point) {};
423
424 /** @param {GPoint} point */
425 GBounds.prototype.extend = function(point) {};
426
427 /** @type {number} */
428 GBounds.prototype.minX;
429
430 /** @type {number} */
431 GBounds.prototype.minY;
432
433 /** @type {number} */
434 GBounds.prototype.maxX;
435
436 /** @type {number} */
437 GBounds.prototype.maxY;
438
439 /**
440 * @nosideeffects
441 * @return {boolean}
442 */
443 function GBrowserIsCompatible() {};
444
445 /**
446 * @nosideeffects
447 * @return {boolean}
448 */
449 google.maps.BrowserIsCompatible = function() {};
450
451 /**
452 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GDraggableObject.GDraggableObject
453 * @constructor
454 * @param {Node} src
455 * @param {Object.<string, *>=} opts
456 */
457 function GDraggableObject(src, opts) {}
458
459 /** @typedef {GDraggableObject} */
460 google.maps.DraggableObject;
461
462 /** @param {string} cursor */
463 GDraggableObject.setDraggableCursor = function(cursor) {};
464
465 /** @param {string} cursor */
466 GDraggableObject.setDraggingCursor = function(cursor) {};
467
468 /**
469 * @nosideeffects
470 * @return {string}
471 * @deprecated
472 */
473 GDraggableObject.getDraggingCursor = function() {};
474
475 /**
476 * @nosideeffects
477 * @return {string}
478 * @deprecated
479 */
480 GDraggableObject.getDraggableCursor = function() {};
481
482 /** @param {string} cursor */
483 GDraggableObject.prototype.setDraggableCursor = function(cursor) {};
484
485 /** @param {string} cursor */
486 GDraggableObject.prototype.setDraggingCursor = function(cursor) {};
487
488 /** @param {GPoint} point */
489 GDraggableObject.prototype.moveTo = function(point) {};
490
491 /** @param {GSize} size */
492 GDraggableObject.prototype.moveBy = function(size) {};
493
494 /**
495 * @constructor
496 * @private
497 */
498 function GInfoWindow() {};
499
500 /** @param {number} index */
501 GInfoWindow.prototype.selectTab = function(index) {};
502
503 /** @return {undefined} */
504 GInfoWindow.prototype.hide = function() {};
505
506 /** @return {undefined} */
507 GInfoWindow.prototype.show = function() {};
508
509 /**
510 * @nosideeffects
511 * @return {boolean}
512 */
513 GInfoWindow.prototype.isHidden = function() {};
514
515 /**
516 * @param {GLatLng} latlng
517 * @param {Array.<GInfoWindowTab>} tabs
518 * @param {GSize} size
519 * @param {GSize=} offset
520 * @param {number=} selectedTab
521 */
522 GInfoWindow.prototype.reset =
523 function(latlng, tabs, size, offset, selectedTab) {};
524
525 /**
526 * @nosideeffects
527 * @return {GLatLng}
528 */
529 GInfoWindow.prototype.getPoint = function() {};
530
531 /**
532 * @nosideeffects
533 * @return {GSize}
534 */
535 GInfoWindow.prototype.getPixelOffset = function() {};
536
537 /**
538 * @nosideeffects
539 * @return {number}
540 */
541 GInfoWindow.prototype.getSelectedTab = function() {};
542
543 /**
544 * @nosideeffects
545 * @return {Array.<GInfoWindowTab>}
546 */
547 GInfoWindow.prototype.getTabs = function() {};
548
549 /**
550 * @nosideeffects
551 * @return {Array.<Node>}
552 */
553 GInfoWindow.prototype.getContentContainers = function() {};
554
555 /** @return {undefined} */
556 GInfoWindow.prototype.enableMaximize = function() {};
557
558 /** @return {undefined} */
559 GInfoWindow.prototype.disableMaximize = function() {};
560
561 /**
562 * @nosideeffects
563 */
564 GInfoWindow.prototype.maximize = function() {};
565
566 /** @return {undefined} */
567 GInfoWindow.prototype.restore = function() {};
568
569 /**
570 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GInfoWindowTab.GInfoWindowTab
571 * @constructor
572 * @param {string} label
573 * @param {Node|string} content
574 */
575 function GInfoWindowTab(label, content) {}
576
577 /** @typedef {GInfoWindowTab} */
578 google.maps.InfoWindowTab;
579
580 /**
581 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GKeyboardHandler.GKeyboardHandler
582 * @constructor
583 * @param {GMap2} map
584 */
585 function GKeyboardHandler(map) {}
586
587 /** @typedef {GKeyboardHandler} */
588 google.maps.KeyboardHandler;
589
590 var GLanguage = {};
591
592 google.maps.Language = {};
593
594 /**
595 * @nosideeffects
596 * @return {string}
597 */
598 GLanguage.getLanguageCode = function() {};
599
600 /**
601 * @nosideeffects
602 * @return {boolean}
603 */
604 GLanguage.isRtl = function() {};
605
606 /**
607 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GLatLng.GLatLng
608 * @constructor
609 * @param {number} lat
610 * @param {number} lng
611 * @param {boolean=} unbounded
612 */
613 function GLatLng(lat, lng, unbounded) {}
614
615 /** @typedef {GLatLng} */
616 google.maps.LatLng;
617
618 /**
619 * @nosideeffects
620 * @return {number}
621 */
622 GLatLng.prototype.lat = function() {};
623
624 /**
625 * @nosideeffects
626 * @return {number}
627 */
628 GLatLng.prototype.lng = function() {};
629
630 /**
631 * @nosideeffects
632 * @return {number}
633 */
634 GLatLng.prototype.latRadians = function() {};
635
636 /**
637 * @nosideeffects
638 * @return {number}
639 */
640 GLatLng.prototype.lngRadians = function() {};
641
642 /**
643 * @nosideeffects
644 * @param {GLatLng} other
645 * @return {boolean}
646 */
647 GLatLng.prototype.equals = function(other) {};
648
649 /**
650 * @nosideeffects
651 * @param {GLatLng} other
652 * @param {number=} radius
653 * @return {number}
654 */
655 GLatLng.prototype.distanceFrom = function(other, radius) {};
656
657 /**
658 * @nosideeffects
659 * @param {number=} precision
660 * @return {string}
661 */
662 GLatLng.prototype.toUrlValue = function(precision) {};
663
664 /**
665 * @nosideeffects
666 * @param {string} latlng
667 * @return {GLatLng}
668 */
669 GLatLng.fromUrlValue = function(latlng) {};
670
671 /** @type {number} */
672 GLatLng.prototype.x;
673
674 /** @type {number} */
675 GLatLng.prototype.y;
676
677 /**
678 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GLatLngBounds.GLatLngBounds
679 * @constructor
680 * @param {GLatLng=} sw
681 * @param {GLatLng=} ne
682 */
683 function GLatLngBounds(sw, ne) {}
684
685 /** @typedef {GLatLngBounds} */
686 google.maps.LatLngBounds;
687
688 /**
689 * @nosideeffects
690 * @param {GLatLngBounds} other
691 * @return {boolean}
692 */
693 GLatLngBounds.prototype.equals = function(other) {};
694
695 /**
696 * @nosideeffects
697 * @param {GLatLng} latlng
698 * @return {boolean}
699 */
700 GLatLngBounds.prototype.containsLatLng = function(latlng) {};
701
702 /**
703 * @nosideeffects
704 * @param {GLatLngBounds} other
705 * @return {boolean}
706 */
707 GLatLngBounds.prototype.intersects = function(other) {};
708
709 /**
710 * @nosideeffects
711 * @param {GLatLngBounds} other
712 * @return {boolean}
713 */
714 GLatLngBounds.prototype.containsBounds = function(other) {};
715
716 /** @param {GLatLng} latlng */
717 GLatLngBounds.prototype.extend = function(latlng) {};
718
719 /**
720 * @nosideeffects
721 * @return {GLatLng}
722 */
723 GLatLngBounds.prototype.getSouthWest = function() {};
724
725 /**
726 * @nosideeffects
727 * @return {GLatLng}
728 */
729 GLatLngBounds.prototype.getNorthEast = function() {};
730
731 /**
732 * @nosideeffects
733 * @return {GLatLng}
734 */
735 GLatLngBounds.prototype.toSpan = function() {};
736
737 /**
738 * @nosideeffects
739 * @return {boolean}
740 */
741 GLatLngBounds.prototype.isFullLat = function() {};
742
743 /**
744 * @nosideeffects
745 * @return {boolean}
746 */
747 GLatLngBounds.prototype.isFullLng = function() {};
748
749 /**
750 * @nosideeffects
751 * @return {boolean}
752 */
753 GLatLngBounds.prototype.isEmpty = function() {};
754
755 /**
756 * @nosideeffects
757 * @return {GLatLng}
758 */
759 GLatLngBounds.prototype.getCenter = function() {};
760
761 var GLog = {};
762
763 google.maps.Log = {};
764
765 /**
766 * @param {string} message
767 * @param {string=} color
768 */
769 GLog.write = function(message, color) {};
770
771 /** @param {string} url */
772 GLog.writeUrl = function(url) {};
773
774 /** @param {string} html */
775 GLog.writeHtml = function(html) {};
776
777 /**
778 * @constructor
779 * @private
780 */
781 function GMapPane() {};
782
783 /** @typedef {GMapPane} */
784 google.maps.MapPane;
785
786 /**
787 * @const
788 * @type {GMapPane}
789 */
790 var G_MAP_MAP_PANE;
791
792 /**
793 * @const
794 * @type {google.maps.MapPane}
795 */
796 google.maps.MAP_MAP_PANE;
797
798 /**
799 * @const
800 * @type {GMapPane}
801 */
802 var G_MAP_OVERLAY_LAYER_PANE;
803
804 /**
805 * @const
806 * @type {google.maps.MapPane}
807 */
808 google.maps.MAP_OVERLAY_LAYER_PANE;
809
810 /**
811 * @const
812 * @type {GMapPane}
813 */
814 var G_MAP_MARKER_SHADOW_PANE;
815
816 /**
817 * @const
818 * @type {google.maps.MapPane}
819 */
820 google.maps.MAP_MARKER_SHADOW_PANE;
821
822 /**
823 * @const
824 * @type {GMapPane}
825 */
826 var G_MAP_MARKER_PANE;
827
828 /**
829 * @const
830 * @type {google.maps.MapPane}
831 */
832 google.maps.MAP_MARKER_PANE;
833
834 /**
835 * @const
836 * @type {GMapPane}
837 */
838 var G_MAP_FLOAT_SHADOW_PANE;
839
840 /**
841 * @const
842 * @type {google.maps.MapPane}
843 */
844 google.maps.MAP_FLOAT_SHADOW_PANE;
845
846 /**
847 * @const
848 * @type {GMapPane}
849 */
850 var G_MAP_MARKER_MOUSE_TARGET_PANE;
851
852 /**
853 * @const
854 * @type {google.maps.MapPane}
855 */
856 google.maps.MAP_MARKER_MOUSE_TARGET_PANE;
857
858 /**
859 * @const
860 * @type {GMapPane}
861 */
862 var G_MAP_FLOAT_PANE;
863
864 /**
865 * @const
866 * @type {google.maps.MapPane}
867 */
868 google.maps.MAP_FLOAT_PANE;
869
870 /**
871 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GPoint.GPoint
872 * @constructor
873 * @param {number} x
874 * @param {number} y
875 */
876 function GPoint(x, y) {}
877
878 /** @typedef {GPoint} */
879 google.maps.Point;
880
881 /**
882 * @nosideeffects
883 * @param {GPoint} other
884 * @return {boolean}
885 */
886 GPoint.prototype.equals = function(other) {};
887
888 /**
889 * @nosideeffects
890 * @return {string}
891 */
892 GPoint.prototype.toString = function() {};
893
894 /** @type {number} */
895 GPoint.prototype.x;
896
897 /** @type {number} */
898 GPoint.prototype.y;
899
900 /**
901 * @const
902 * @type {GPoint}
903 */
904 GPoint.ORIGIN;
905
906 /**
907 * @const
908 * @type {google.maps.Point}
909 */
910 google.maps.Point.ORIGIN;
911
912 /**
913 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GSize.GSize
914 * @constructor
915 * @param {number} width
916 * @param {number} height
917 */
918 function GSize(width, height) {}
919
920 /** @typedef {GSize} */
921 google.maps.Size;
922
923 /**
924 * @nosideeffects
925 * @param {GSize} other
926 * @return {boolean}
927 */
928 GSize.prototype.equals = function(other) {};
929
930 /**
931 * @nosideeffects
932 * @return {string}
933 */
934 GSize.prototype.toString = function() {};
935
936 /** @type {number} */
937 GSize.prototype.width;
938
939 /** @type {number} */
940 GSize.prototype.height;
941
942 /**
943 * @const
944 * @type {GSize}
945 */
946 GSize.ZERO;
947
948 /**
949 * @const
950 * @type {google.maps.Size}
951 */
952 google.maps.Size.ZERO;
953
954 /** @return {undefined} */
955 function GUnload() {};
956
957 /** @return {undefined} */
958 google.maps.Unload = function() {};
959
960 /**
961 * @const
962 * @type {string}
963 */
964 var G_API_VERSION;
965
966 /**
967 * @const
968 * @type {string}
969 */
970 google.maps.API_VERSION;
971
972 var GEvent = {};
973
974 google.maps.Event = {};
975
976 /**
977 * @param {Object} source
978 * @param {string} event
979 * @param {function(*=)} handler
980 * @return {GEventListener}
981 */
982 GEvent.addListener = function(source, event, handler) {};
983
984 /**
985 * @param {Node} source
986 * @param {string} event
987 * @param {function(*=)} handler
988 * @return {GEventListener}
989 */
990 GEvent.addDomListener = function(source, event, handler) {};
991
992 /** @param {GEventListener} handle */
993 GEvent.removeListener = function(handle) {};
994
995 /**
996 * @param {Object|Node} source
997 * @param {string} event
998 */
999 GEvent.clearListeners = function(source, event) {};
1000
1001 /** @param {Object|Node} source */
1002 GEvent.clearInstanceListeners = function(source) {};
1003
1004 /** @param {Node} source */
1005 GEvent.clearNode = function(source) {};
1006
1007 /**
1008 * @param {Object} source
1009 * @param {string} event
1010 * @param {...[*]} var_args
1011 */
1012 GEvent.trigger = function(source, event, var_args) {};
1013
1014 /**
1015 * @param {Object} source
1016 * @param {string} event
1017 * @param {Object} object
1018 * @param {function(*=)} method
1019 * @return {GEventListener}
1020 */
1021 GEvent.bind = function(source, event, object, method) {};
1022
1023 /**
1024 * @param {Node} source
1025 * @param {string} event
1026 * @param {Object} object
1027 * @param {function(*=)} method
1028 * @return {GEventListener}
1029 */
1030 GEvent.bindDom = function(source, event, object, method) {};
1031
1032 /**
1033 * @param {Object} object
1034 * @param {function(*=)} method
1035 * @return {function()}
1036 */
1037 GEvent.callback = function(object, method) {};
1038
1039 /**
1040 * @param {Object} object
1041 * @param {function(...[*])} method
1042 * @param {...[*]} var_args
1043 * @return {function(...[*])}
1044 */
1045 GEvent.callbackArgs = function(object, method, var_args) {};
1046
1047 /**
1048 * @constructor
1049 * @private
1050 */
1051 function GEventListener() {};
1052
1053 /**
1054 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GControl.GControl
1055 * @constructor
1056 * @param {boolean=} printable
1057 * @param {boolean=} selectable
1058 */
1059 function GControl(printable, selectable) {}
1060
1061 /** @typedef {GControl} */
1062 google.maps.Control;
1063
1064 /**
1065 * @nosideeffects
1066 * @return {boolean}
1067 */
1068 GControl.prototype.printable = function() {};
1069
1070 /**
1071 * @nosideeffects
1072 * @return {boolean}
1073 */
1074 GControl.prototype.selectable = function() {};
1075
1076 /**
1077 * @param {GMap2} map
1078 * @return {Node}
1079 */
1080 GControl.prototype.initialize = function(map) {};
1081
1082 /**
1083 * @nosideeffects
1084 * @return {GControlPosition}
1085 */
1086 GControl.prototype.getDefaultPosition = function() {};
1087
1088 /**
1089 * @nosideeffects
1090 * @return {boolean}
1091 */
1092 GControl.prototype.allowSetVisibility = function() {};
1093
1094 /**
1095 * @constructor
1096 * @private
1097 */
1098 function GControlAnchor() {};
1099
1100 /** @typedef {GControlAnchor} */
1101 google.maps.ControlAnchor;
1102
1103 /**
1104 * @const
1105 * @type {GControlAnchor}
1106 */
1107 var G_ANCHOR_TOP_RIGHT;
1108
1109 /**
1110 * @const
1111 * @type {google.maps.ControlAnchor}
1112 */
1113 google.maps.ANCHOR_TOP_RIGHT;
1114
1115 /**
1116 * @const
1117 * @type {GControlAnchor}
1118 */
1119 var G_ANCHOR_TOP_LEFT;
1120
1121 /**
1122 * @const
1123 * @type {google.maps.ControlAnchor}
1124 */
1125 google.maps.ANCHOR_TOP_LEFT;
1126
1127 /**
1128 * @const
1129 * @type {GControlAnchor}
1130 */
1131 var G_ANCHOR_BOTTOM_RIGHT;
1132
1133 /**
1134 * @const
1135 * @type {google.maps.ControlAnchor}
1136 */
1137 google.maps.ANCHOR_BOTTOM_RIGHT;
1138
1139 /**
1140 * @const
1141 * @type {GControlAnchor}
1142 */
1143 var G_ANCHOR_BOTTOM_LEFT;
1144
1145 /**
1146 * @const
1147 * @type {google.maps.ControlAnchor}
1148 */
1149 google.maps.ANCHOR_BOTTOM_LEFT;
1150
1151 /**
1152 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GControlImpl.GSmallMapControl
1153 * @constructor
1154 * @extends {GControl}
1155 */
1156 function GSmallMapControl() {}
1157
1158 /** @typedef {GSmallMapControl} */
1159 google.maps.SmallMapControl;
1160
1161 /**
1162 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GControlImpl.GLargeMapControl
1163 * @constructor
1164 * @extends {GControl}
1165 */
1166 function GLargeMapControl() {}
1167
1168 /** @typedef {GLargeMapControl} */
1169 google.maps.LargeMapControl;
1170
1171 /**
1172 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GControlImpl.GSmallZoomControl
1173 * @constructor
1174 * @extends {GControl}
1175 */
1176 function GSmallZoomControl() {}
1177
1178 /** @typedef {GSmallZoomControl} */
1179 google.maps.SmallZoomControl;
1180
1181 /**
1182 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GControlImpl.GLargeMapControl3D
1183 * @constructor
1184 * @extends {GControl}
1185 */
1186 function GLargeMapControl3D() {}
1187
1188 /** @typedef {GLargeMapControl3D} */
1189 google.maps.LargeMapControl3D;
1190
1191 /**
1192 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GControlImpl.GSmallZoomControl3D
1193 * @constructor
1194 * @extends {GControl}
1195 */
1196 function GSmallZoomControl3D() {}
1197
1198 /** @typedef {GSmallZoomControl3D} */
1199 google.maps.SmallZoomControl3D;
1200
1201 /**
1202 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GControlImpl.GScaleControl
1203 * @constructor
1204 * @extends {GControl}
1205 */
1206 function GScaleControl() {}
1207
1208 /** @typedef {GScaleControl} */
1209 google.maps.ScaleControl;
1210
1211 /**
1212 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GControlImpl.GOverviewMapControl
1213 * @constructor
1214 * @extends {GControl}
1215 */
1216 function GOverviewMapControl() {}
1217
1218 /** @typedef {GOverviewMapControl} */
1219 google.maps.OverviewMapControl;
1220
1221 /**
1222 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GControlPosition.GControlPosition
1223 * @constructor
1224 * @param {GControlAnchor} anchor
1225 * @param {GSize} offset
1226 */
1227 function GControlPosition(anchor, offset) {}
1228
1229 /** @typedef {GControlPosition} */
1230 google.maps.ControlPosition;
1231
1232 /**
1233 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GHierarchicalMapTypeControl.GHierarchicalMapTypeControl
1234 * @constructor
1235 * @extends {GControl}
1236 */
1237 function GHierarchicalMapTypeControl() {}
1238
1239 /** @typedef {GHierarchicalMapTypeControl} */
1240 google.maps.HierarchicalMapTypeControl;
1241
1242 /**
1243 * @param {GMapType} parentType
1244 * @param {GMapType} childType
1245 * @param {string=} childText
1246 * @param {boolean=} isDefault
1247 */
1248 GHierarchicalMapTypeControl.prototype.addRelationship =
1249 function(parentType, childType, childText, isDefault) {};
1250
1251 /** @param {GMapType} mapType */
1252 GHierarchicalMapTypeControl.prototype.removeRelationship =
1253 function(mapType) {};
1254
1255 /** @return {undefined} */
1256 GHierarchicalMapTypeControl.prototype.clearRelationships = function() {};
1257
1258 /**
1259 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMapType.GMapType
1260 * @constructor
1261 * @param {Array.<GTileLayer>} layers
1262 * @param {GProjection} projection
1263 * @param {string} name
1264 * @param {Object.<string, *>=} opts
1265 */
1266 function GMapType(layers, projection, name, opts) {}
1267
1268 /** @typedef {GMapType} */
1269 google.maps.MapType;
1270
1271 /**
1272 * @nosideeffects
1273 * @param {GLatLng} center
1274 * @param {GLatLng} span
1275 * @param {GSize} viewSize
1276 * @return {number}
1277 */
1278 GMapType.prototype.getSpanZoomLevel = function(center, span, viewSize) {};
1279
1280 /**
1281 * @nosideeffects
1282 * @param {GLatLngBounds} bounds
1283 * @param {GSize} viewSize
1284 */
1285 GMapType.prototype.getBoundsZoomLevel = function(bounds, viewSize) {};
1286
1287 /**
1288 * @nosideeffects
1289 * @param {boolean=} short_name
1290 * @return {string}
1291 */
1292 GMapType.prototype.getName = function(short_name) {};
1293
1294 /**
1295 * @nosideeffects
1296 * @return {GProjection}
1297 */
1298 GMapType.prototype.getProjection = function() {};
1299
1300 /**
1301 * @nosideeffects
1302 * @return {number}
1303 */
1304 GMapType.prototype.getTileSize = function() {};
1305
1306 /**
1307 * @nosideeffects
1308 * @return {Array.<GTileLayer>}
1309 */
1310 GMapType.prototype.getTileLayers = function() {};
1311
1312 /**
1313 * @nosideeffects
1314 * @return {number}
1315 */
1316 GMapType.prototype.getMinimumResolution = function() {};
1317
1318 /**
1319 * @nosideeffects
1320 * @return {number}
1321 */
1322 GMapType.prototype.getMaximumResolution = function() {};
1323
1324 /**
1325 * @param {GLatLng} latlng
1326 * @param {function(Object.<string,*>)} callback
1327 * @param {number=} opt_targetZoom
1328 */
1329 GMapType.prototype.getMaxZoomAtLatLng =
1330 function(latlng, callback, opt_targetZoom) {};
1331
1332 /**
1333 * @nosideeffects
1334 * @return {string}
1335 */
1336 GMapType.prototype.getTextColor = function() {};
1337
1338 /**
1339 * @nosideeffects
1340 * @return {string}
1341 */
1342 GMapType.prototype.getLinkColor = function() {};
1343
1344 /**
1345 * @nosideeffects
1346 * @return {string}
1347 */
1348 GMapType.prototype.getErrorMessage = function() {};
1349
1350 /**
1351 * @nosideeffects
1352 * @param {GLatLngBounds} bounds
1353 * @param {number} zoom
1354 * @return {Array.<string>}
1355 */
1356 GMapType.prototype.getCopyrights = function(bounds, zoom) {};
1357
1358 /**
1359 * @nosideeffects
1360 * @return {string}
1361 * @deprecated
1362 */
1363 GMapType.prototype.getUrlArg = function() {};
1364
1365 /**
1366 * @nosideeffects
1367 * @return {string}
1368 */
1369 GMapType.prototype.getAlt = function() {};
1370
1371 /**
1372 * @nosideeffects
1373 * @return {number}
1374 */
1375 GMapType.prototype.getHeading = function() {};
1376
1377 /**
1378 * @const
1379 * @type {GMapType}
1380 */
1381 var G_NORMAL_MAP;
1382
1383 /**
1384 * @const
1385 * @type {google.maps.MapType}
1386 */
1387 google.maps.NORMAL_MAP;
1388
1389 /**
1390 * @const
1391 * @type {GMapType}
1392 */
1393 var G_SATELLITE_MAP;
1394
1395 /**
1396 * @const
1397 * @type {google.maps.MapType}
1398 */
1399 google.maps.SATELLITE_MAP;
1400
1401 /**
1402 * @const
1403 * @type {GMapType}
1404 */
1405 var G_AERIAL_MAP;
1406
1407 /**
1408 * @const
1409 * @type {google.maps.MapType}
1410 */
1411 google.maps.AERIAL_MAP;
1412
1413 /**
1414 * @const
1415 * @type {GMapType}
1416 */
1417 var G_HYBRID_MAP;
1418
1419 /**
1420 * @const
1421 * @type {google.maps.MapType}
1422 */
1423 google.maps.HYBRID_MAP;
1424
1425 /**
1426 * @const
1427 * @type {GMapType}
1428 */
1429 var G_AERIAL_HYBRID_MAP;
1430
1431 /**
1432 * @const
1433 * @type {google.maps.MapType}
1434 */
1435 google.maps.AERIAL_HYBRID_MAP;
1436
1437 /**
1438 * @const
1439 * @type {GMapType}
1440 */
1441 var G_PHYSICAL_MAP;
1442
1443 /**
1444 * @const
1445 * @type {google.maps.MapType}
1446 */
1447 google.maps.PHYSICAL_MAP;
1448
1449 /**
1450 * @const
1451 * @type {GMapType}
1452 */
1453 var G_MAPMAKER_NORMAL_MAP;
1454
1455 /**
1456 * @const
1457 * @type {google.maps.MapType}
1458 */
1459 google.maps.MAPMAKER_NORMAL_MAP;
1460
1461 /**
1462 * @const
1463 * @type {GMapType}
1464 */
1465 var G_MAPMAKER_HYBRID_MAP;
1466
1467 /**
1468 * @const
1469 * @type {google.maps.MapType}
1470 */
1471 google.maps.MAPMAKER_HYBRID_MAP;
1472
1473 /**
1474 * @const
1475 * @type {GMapType}
1476 */
1477 var G_MOON_ELEVATION_MAP;
1478
1479 /**
1480 * @const
1481 * @type {google.maps.MapType}
1482 */
1483 google.maps.MOON_ELEVATION_MAP;
1484
1485 /**
1486 * @const
1487 * @type {GMapType}
1488 */
1489 var G_MOON_VISIBLE_MAP;
1490
1491 /**
1492 * @const
1493 * @type {google.maps.MapType}
1494 */
1495 google.maps.MOON_VISIBLE_MAP;
1496
1497 /**
1498 * @const
1499 * @type {GMapType}
1500 */
1501 var G_MARS_ELEVATION_MAP;
1502
1503 /**
1504 * @const
1505 * @type {google.maps.MapType}
1506 */
1507 google.maps.MARS_ELEVATION_MAP;
1508
1509 /**
1510 * @const
1511 * @type {GMapType}
1512 */
1513 var G_MARS_VISIBLE_MAP;
1514
1515 /**
1516 * @const
1517 * @type {google.maps.MapType}
1518 */
1519 google.maps.MARS_VISIBLE_MAP;
1520
1521 /**
1522 * @const
1523 * @type {GMapType}
1524 */
1525 var G_MARS_INFRARED_MAP;
1526
1527 /**
1528 * @const
1529 * @type {google.maps.MapType}
1530 */
1531 google.maps.MARS_INFRARED_MAP;
1532
1533 /**
1534 * @const
1535 * @type {GMapType}
1536 */
1537 var G_SKY_VISIBLE_MAP;
1538
1539 /**
1540 * @const
1541 * @type {google.maps.MapType}
1542 */
1543 google.maps.SKY_VISIBLE_MAP;
1544
1545 /**
1546 * @const
1547 * @type {GMapType}
1548 */
1549 var G_SATELLITE_3D_MAP;
1550
1551 /**
1552 * @const
1553 * @type {google.maps.MapType}
1554 */
1555 google.maps.SATELLITE_3D_MAP;
1556
1557 /**
1558 * @const
1559 * @type {GMapType}
1560 */
1561 var G_DEFAULT_MAP_TYPES;
1562
1563 /**
1564 * @const
1565 * @type {google.maps.MapType}
1566 */
1567 google.maps.DEFAULT_MAP_TYPES;
1568
1569 /**
1570 * @const
1571 * @type {GMapType}
1572 */
1573 var G_MAPMAKER_MAP_TYPES;
1574
1575 /**
1576 * @const
1577 * @type {google.maps.MapType}
1578 */
1579 google.maps.MAPMAKER_MAP_TYPES;
1580
1581 /**
1582 * @const
1583 * @type {GMapType}
1584 */
1585 var G_MOON_MAP_TYPES;
1586
1587 /**
1588 * @const
1589 * @type {google.maps.MapType}
1590 */
1591 google.maps.MOON_MAP_TYPES;
1592
1593 /**
1594 * @const
1595 * @type {GMapType}
1596 */
1597 var G_MARS_MAP_TYPES;
1598
1599 /**
1600 * @const
1601 * @type {google.maps.MapType}
1602 */
1603 google.maps.MARS_MAP_TYPES;
1604
1605 /**
1606 * @const
1607 * @type {GMapType}
1608 */
1609 var G_SKY_MAP_TYPES;
1610
1611 /**
1612 * @const
1613 * @type {google.maps.MapType}
1614 */
1615 google.maps.SKY_MAP_TYPES;
1616
1617 /**
1618 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMapTypeControl.GMapTypeControl
1619 * @constructor
1620 * @extends {GControl}
1621 * @param {boolean=} useShortNames
1622 */
1623 function GMapTypeControl(useShortNames) {}
1624
1625 /** @typedef {GMapTypeControl} */
1626 google.maps.MapTypeControl;
1627
1628 /**
1629 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMapUIOptions.GMapUIOptions
1630 * @constructor
1631 * @param {GSize=} opt_size
1632 */
1633 function GMapUIOptions(opt_size) {}
1634
1635 /** @typedef {GMapUIOptions} */
1636 google.maps.MapUIOptions;
1637
1638 /**
1639 * This type is not in the API reference. We use it purely to
1640 * help specify GMapUIOptions.
1641 * @constructor
1642 * @private
1643 */
1644 GMapUIOptions.MapTypes_ = function() {};
1645
1646 /** @type {boolean} */
1647 GMapUIOptions.MapTypes_.prototype.normal;
1648
1649 /** @type {boolean} */
1650 GMapUIOptions.MapTypes_.prototype.satellite;
1651
1652 /** @type {boolean} */
1653 GMapUIOptions.MapTypes_.prototype.hybrid;
1654
1655 /** @type {boolean} */
1656 GMapUIOptions.MapTypes_.prototype.physical;
1657
1658 /**
1659 * This type is not in the API reference. We use it purely to
1660 * help specify GMapUIOptions.
1661 * @constructor
1662 * @private
1663 */
1664 GMapUIOptions.Zoom_ = function() {};
1665
1666 /** @type {boolean} */
1667 GMapUIOptions.Zoom_.prototype.scrollwheel;
1668
1669 /** @type {boolean} */
1670 GMapUIOptions.Zoom_.prototype.doubleclick;
1671
1672 /**
1673 * This type is not in the API reference. We use it purely to
1674 * help specify GMapUIOptions.
1675 * @constructor
1676 * @private
1677 */
1678 GMapUIOptions.Controls_ = function() {};
1679
1680 /** @type {boolean} */
1681 GMapUIOptions.Controls_.prototype.largemapcontrol3d;
1682
1683 /** @type {boolean} */
1684 GMapUIOptions.Controls_.prototype.smallzoomcontrol3d;
1685
1686 /** @type {boolean} */
1687 GMapUIOptions.Controls_.prototype.maptypecontrol;
1688
1689 /** @type {boolean} */
1690 GMapUIOptions.Controls_.prototype.menumaptypecontrol;
1691
1692 /** @type {boolean} */
1693 GMapUIOptions.Controls_.prototype.scalecontrol;
1694
1695 /** @type {GMapUIOptions.MapTypes_} */
1696 GMapUIOptions.prototype.maptypes;
1697
1698 /** @type {GMapUIOptions.Zoom_} */
1699 GMapUIOptions.prototype.zoom;
1700
1701 /** @type {GMapUIOptions.Controls_} */
1702 GMapUIOptions.prototype.controls;
1703
1704 /** @type {boolean} */
1705 GMapUIOptions.prototype.keyboard;
1706
1707 /**
1708 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMenuMapTypeControl.GMenuMapTypeControl
1709 * @constructor
1710 * @extends {GControl}
1711 * @param {boolean=} useShortNames
1712 */
1713 function GMenuMapTypeControl(useShortNames) {}
1714
1715 /** @typedef {GMenuMapTypeControl} */
1716 google.maps.MenuMapTypeControl;
1717
1718 /**
1719 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GNavLabelControl.GNavLabelControl
1720 * @constructor
1721 * @extends {GControl}
1722 */
1723 function GNavLabelControl() {}
1724
1725 /** @typedef {GNavLabelControl} */
1726 google.maps.NavLabelControl;
1727
1728 /** @param {number} level */
1729 GNavLabelControl.prototype.setMinAddressLinkLevel = function(level) {};
1730
1731 /**
1732 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GCopyright.GCopyright
1733 * @constructor
1734 * @param {number} id
1735 * @param {GLatLngBounds} bounds
1736 * @param {number} minZoom
1737 * @param {string} text
1738 */
1739 function GCopyright(id, bounds, minZoom, text) {}
1740
1741 /** @typedef {GCopyright} */
1742 google.maps.Copyright;
1743
1744 /** @type {number} */
1745 GCopyright.prototype.id;
1746
1747 /** @type {number} */
1748 GCopyright.prototype.minZoom;
1749
1750 /** @type {GLatLngBounds} */
1751 GCopyright.prototype.bounds;
1752
1753 /** @type {string} */
1754 GCopyright.prototype.text;
1755
1756 /**
1757 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GCopyrightCollection.GCopyrightCollection
1758 * @constructor
1759 * @param {string=} prefix
1760 */
1761 function GCopyrightCollection(prefix) {}
1762
1763 /** @typedef {GCopyrightCollection} */
1764 google.maps.CopyrightCollection;
1765
1766 /** @param {GCopyright} copyright */
1767 GCopyrightCollection.prototype.addCopyright = function(copyright) {};
1768
1769 /**
1770 * @nosideeffects
1771 * @param {GLatLngBounds} bounds
1772 * @param {number} zoom
1773 * @return {Array.<string>}
1774 */
1775 GCopyrightCollection.prototype.getCopyrights = function(bounds, zoom) {};
1776
1777 /**
1778 * @nosideeffects
1779 * @param {GLatLngBounds} bounds
1780 * @param {number} zoom
1781 * @return {string}
1782 */
1783 GCopyrightCollection.prototype.getCopyrightNotice = function(bounds, zoom) {};
1784
1785 /**
1786 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GGroundOverlay.GGroundOverlay
1787 * @constructor
1788 * @extends {GOverlay}
1789 * @param {string} imageUrl
1790 * @param {GLatLngBounds} bounds
1791 */
1792 function GGroundOverlay(imageUrl, bounds) {}
1793
1794 /** @typedef {GGroundOverlay} */
1795 google.maps.GroundOverlay;
1796
1797 /** @return {undefined} */
1798 GGroundOverlay.prototype.hide = function() {};
1799
1800 /**
1801 * @nosideeffects
1802 * @return {boolean}
1803 */
1804 GGroundOverlay.prototype.isHidden = function() {};
1805
1806 /** @return {undefined} */
1807 GGroundOverlay.prototype.show = function() {};
1808
1809 /**
1810 * @nosideeffects
1811 * @return {boolean}
1812 */
1813 GGroundOverlay.prototype.supportsHide = function() {};
1814
1815 /**
1816 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GIcon.GIcon
1817 * @constructor
1818 * @param {GIcon=} copy
1819 * @param {string=} image
1820 */
1821 function GIcon(copy, image) {}
1822
1823 /** @typedef {GIcon} */
1824 google.maps.Icon;
1825
1826 /** @type {string} */
1827 GIcon.prototype.image;
1828
1829 /** @type {string} */
1830 GIcon.prototype.shadow;
1831
1832 /** @type {GSize} */
1833 GIcon.prototype.iconSize;
1834
1835 /** @type {GSize} */
1836 GIcon.prototype.shadowSize;
1837
1838 /** @type {GPoint} */
1839 GIcon.prototype.iconAnchor;
1840
1841 /** @type {GPoint} */
1842 GIcon.prototype.infoWindowAnchor;
1843
1844 /** @type {string} */
1845 GIcon.prototype.printImage;
1846
1847 /** @type {string} */
1848 GIcon.prototype.mozPrintImage;
1849
1850 /** @type {string} */
1851 GIcon.prototype.printShadow;
1852
1853 /** @type {string} */
1854 GIcon.prototype.transparent;
1855
1856 /** @type {Array.<number>} */
1857 GIcon.prototype.imageMap;
1858
1859 /** @type {number} */
1860 GIcon.prototype.maxHeight;
1861
1862 /** @type {string} */
1863 GIcon.prototype.dragCrossImage;
1864
1865 /** @type {GSize} */
1866 GIcon.prototype.dragCrossSize;
1867
1868 /** @type {GPoint} */
1869 GIcon.prototype.dragCrossAnchor;
1870
1871 /**
1872 * @const
1873 * @type {GIcon}
1874 */
1875 var G_DEFAULT_ICON;
1876
1877 /**
1878 * @const
1879 * @type {google.maps.Icon}
1880 */
1881 google.maps.DEFAULT_ICON;
1882
1883 /**
1884 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GLayer.GLayer
1885 * @constructor
1886 * @param {string} layerId
1887 */
1888 function GLayer(layerId) {}
1889
1890 /** @typedef {GLayer} */
1891 google.maps.Layer;
1892
1893 /** @return {undefined} */
1894 GLayer.prototype.hide = function() {};
1895
1896 /** @return {undefined} */
1897 GLayer.prototype.show = function() {};
1898
1899 /**
1900 * @nosideeffects
1901 * @param {string} layerId
1902 */
1903 GLayer.isHidden = function(layerId) {};
1904
1905 /**
1906 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMarker.GMarker
1907 * @constructor
1908 * @extends {GOverlay}
1909 * @param {GLatLng} latlng
1910 * @param {Object.<string, *>=} opts
1911 */
1912 function GMarker(latlng, opts) {}
1913
1914 /** @typedef {GMarker} */
1915 google.maps.Marker;
1916
1917 /**
1918 * @param {Node} content
1919 * @param {Object.<string, *>=} opts
1920 */
1921 GMarker.prototype.openInfoWindow = function(content, opts) {};
1922
1923 /**
1924 * @param {string} content
1925 * @param {Object.<string, *>=} opts
1926 */
1927 GMarker.prototype.openInfoWindowHtml = function(content, opts) {};
1928
1929 /**
1930 * @param {Array.<GInfoWindowTab>} tabs
1931 * @param {Object.<string, *>=} opts
1932 */
1933 GMarker.prototype.openInfoWindowTabs = function(tabs, opts) {};
1934
1935 /**
1936 * @param {Array.<GInfoWindowTab>} tabs
1937 * @param {Object.<string, *>=} opts
1938 */
1939 GMarker.prototype.openInfoWindowTabsHtml = function(tabs, opts) {};
1940
1941 /**
1942 * @param {Node} content
1943 * @param {Object.<string, *>=} opts
1944 */
1945 GMarker.prototype.bindInfoWindow = function(content, opts) {};
1946
1947 /**
1948 * @param {string} content
1949 * @param {Object.<string, *>=} opts
1950 */
1951 GMarker.prototype.bindInfoWindowHtml = function(content, opts) {};
1952
1953 /**
1954 * @param {Array.<GInfoWindowTab>} tabs
1955 * @param {Object.<string, *>=} opts
1956 */
1957 GMarker.prototype.bindInfoWindowTabs = function(tabs, opts) {};
1958
1959 /**
1960 * @param {Array.<GInfoWindowTab>} tabs
1961 * @param {Object.<string, *>=} opts
1962 */
1963 GMarker.prototype.bindInfoWindowTabsHtml = function(tabs, opts) {};
1964
1965 /** @return {undefined} */
1966 GMarker.prototype.closeInfoWindow = function() {};
1967
1968 /** @param {Object.<string, *>=} opts */
1969 GMarker.prototype.showMapBlowup = function(opts) {};
1970
1971 /**
1972 * @nosideeffects
1973 * @return {GIcon}
1974 */
1975 GMarker.prototype.getIcon = function() {};
1976
1977 /**
1978 * @nosideeffects
1979 * @return {string}
1980 */
1981 GMarker.prototype.getTitle = function() {};
1982
1983 /**
1984 * @nosideeffects
1985 * @return {GLatLng}
1986 */
1987 GMarker.prototype.getLatLng = function() {};
1988
1989 /** @param {GLatLng} latlng */
1990 GMarker.prototype.setLatLng = function(latlng) {};
1991
1992 /** @return {undefined} */
1993 GMarker.prototype.enableDragging = function() {};
1994
1995 /** @return {undefined} */
1996 GMarker.prototype.disableDragging = function() {};
1997
1998 /**
1999 * @nosideeffects
2000 * @return {boolean}
2001 */
2002 GMarker.prototype.draggable = function() {};
2003
2004 /**
2005 * @nosideeffects
2006 * @return {boolean}
2007 */
2008 GMarker.prototype.draggingEnabled = function() {};
2009
2010 /** @param {string} url */
2011 GMarker.prototype.setImage = function(url) {};
2012
2013 /** @return {undefined} */
2014 GMarker.prototype.hide = function() {};
2015
2016 /** @return {undefined} */
2017 GMarker.prototype.show = function() {};
2018
2019 /**
2020 * @nosideeffects
2021 * @return {boolean}
2022 */
2023 GMarker.prototype.isHidden = function() {};
2024
2025 /**
2026 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMercatorProjection.GMercatorProjection
2027 * @constructor
2028 * @implements {GProjection}
2029 * @param {number} zoomlevels
2030 */
2031 function GMercatorProjection(zoomlevels) {}
2032
2033 /** @typedef {GMercatorProjection} */
2034 google.maps.MercatorProjection;
2035
2036 /**
2037 * @nosideeffects
2038 * @param {GLatLng} latlng
2039 * @param {number} zoom
2040 * @return {GPoint}
2041 */
2042 GMercatorProjection.prototype.fromLatLngToPixel = function(latlng, zoom) {};
2043
2044 /**
2045 * @nosideeffects
2046 * @param {GPoint} pixel
2047 * @param {number} zoom
2048 * @param {boolean=} unbounded
2049 * @return {GLatLng}
2050 */
2051 GMercatorProjection.prototype.fromPixelToLatLng =
2052 function(pixel, zoom, unbounded) {};
2053
2054 /**
2055 * @param {GPoint} tile
2056 * @param {number} zoom
2057 * @param {number} tilesize
2058 * @return {boolean}
2059 */
2060 GMercatorProjection.prototype.tileCheckRange =
2061 function(tile, zoom, tilesize) {};
2062
2063 /**
2064 * @nosideeffects
2065 * @param {number} zoom
2066 */
2067 GMercatorProjection.prototype.getWrapWidth = function(zoom) {};
2068
2069 /**
2070 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GObliqueMercator.GObliqueMercator
2071 * @constructor
2072 * @param {number} zoomlevels
2073 * @param {number} heading
2074 */
2075 function GObliqueMercator(zoomlevels, heading) {}
2076
2077 /** @typedef {GObliqueMercator} */
2078 google.maps.ObliqueMercator;
2079
2080 /**
2081 * @nosideeffects
2082 * @param {GLatLng} latlng
2083 * @param {number} zoom
2084 * @return {GPoint}
2085 */
2086 GObliqueMercator.prototype.fromLatLngToPixel = function(latlng, zoom) {};
2087
2088 /**
2089 * @nosideeffects
2090 * @param {GPoint} pixel
2091 * @param {number} zoom
2092 * @param {boolean=} unbounded
2093 * @return {GLatLng}
2094 */
2095 GObliqueMercator.prototype.fromPixelToLatLng =
2096 function(pixel, zoom, unbounded) {};
2097
2098 /**
2099 * @param {GPoint} tile
2100 * @param {number} zoom
2101 * @param {number} tilesize
2102 * @return {boolean}
2103 */
2104 GObliqueMercator.prototype.tileCheckRange = function(tile, zoom, tilesize) {};
2105
2106 /**
2107 * @nosideeffects
2108 * @param {number} zoom
2109 */
2110 GObliqueMercator.prototype.getWrapWidth = function(zoom) {};
2111
2112 /**
2113 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GOverlay.GOverlay
2114 * @constructor
2115 */
2116 function GOverlay() {}
2117
2118 /** @typedef {GOverlay} */
2119 google.maps.Overlay;
2120
2121 /**
2122 * @nosideeffects
2123 * @param {number} latitude
2124 * @return {number}
2125 */
2126 GOverlay.getZIndex = function(latitude) {};
2127
2128 /** @param {GMap2} map */
2129 GOverlay.prototype.initialize = function(map) {};
2130
2131 /** @return {undefined} */
2132 GOverlay.prototype.remove = function() {};
2133
2134 /** @return {GOverlay} */
2135 GOverlay.prototype.copy = function() {};
2136
2137 /** @param {boolean} force */
2138 GOverlay.prototype.redraw = function(force) {};
2139
2140 /** @param {function(string)} callback */
2141 GOverlay.prototype.getKml = function(callback) {};
2142
2143 /**
2144 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GPolygon.GPolygon
2145 * @constructor
2146 * @extends {GOverlay}
2147 * @param {Array.<GLatLng>} latlngs
2148 * @param {string=} strokeColor
2149 * @param {number=} strokeWeight
2150 * @param {number=} strokeOpacity
2151 * @param {number=} fillColor
2152 * @param {number=} fillOpacity
2153 * @param {Object.<string, *>=} opts
2154 */
2155 function GPolygon(latlngs, strokeColor, strokeWeight, strokeOpacity, fillColor,
2156 fillOpacity, opts) {}
2157
2158 /** @typedef {GPolygon} */
2159 google.maps.Polygon;
2160
2161 /** @param {number} index */
2162 GPolygon.prototype.deleteVertex = function(index) {};
2163
2164 /** @return {undefined} */
2165 GPolygon.prototype.disableEditing = function() {};
2166
2167 /** @param {Object.<string, *>=} opts */
2168 GPolygon.prototype.enableDrawing = function(opts) {};
2169
2170 /** @param {Object.<string, *>=} opts */
2171 GPolygon.prototype.enableEditing = function(opts) {};
2172
2173 /**
2174 * @nosideeffects
2175 * @return {number}
2176 */
2177 GPolygon.prototype.getVertexCount = function() {};
2178
2179 /**
2180 * @nosideeffects
2181 * @param {number} index
2182 * @return {GLatLng}
2183 */
2184 GPolygon.prototype.getVertex = function(index) {};
2185
2186 /**
2187 * @nosideeffects
2188 * @return {number}
2189 */
2190 GPolygon.prototype.getArea = function() {};
2191
2192 /**
2193 * @nosideeffects
2194 * @return {GLatLngBounds}
2195 */
2196 GPolygon.prototype.getBounds = function() {};
2197
2198 /** @return {undefined} */
2199 GPolygon.prototype.hide = function() {};
2200
2201 /**
2202 * @param {number} index
2203 * @param {GLatLng} latlng
2204 */
2205 GPolygon.prototype.insertVertex = function(index, latlng) {};
2206
2207 /**
2208 * @nosideeffects
2209 * @return {boolean}
2210 */
2211 GPolygon.prototype.isHidden = function() {};
2212
2213 /** @return {undefined} */
2214 GPolygon.prototype.show = function() {};
2215
2216 /**
2217 * @nosideeffects
2218 * @return {boolean}
2219 */
2220 GPolygon.prototype.supportsHide = function() {};
2221
2222 /** @param {Object.<string, *>} style */
2223 GPolygon.prototype.setFillStyle = function(style) {};
2224
2225 /** @param {Object.<string, *>} style */
2226 GPolygon.prototype.setStrokeStyle = function(style) {};
2227
2228 /**
2229 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GPolyline.GPolyline
2230 * @constructor
2231 * @extends {GOverlay}
2232 * @param {Array.<GLatLng>} latlngs
2233 * @param {string=} color
2234 * @param {number=} weight
2235 * @param {number=} opacity
2236 * @param {Object.<string, *>=} opts
2237 */
2238 function GPolyline(latlngs, color, weight, opacity, opts) {}
2239
2240 /** @typedef {GPolyline} */
2241 google.maps.Polyline;
2242
2243 /** @param {number} index */
2244 GPolyline.prototype.deleteVertex = function(index) {};
2245
2246 /** @return {undefined} */
2247 GPolyline.prototype.disableEditing = function() {};
2248
2249 /** @param {Object.<string, *>=} opts */
2250 GPolyline.prototype.enableDrawing = function(opts) {};
2251
2252 /** @param {Object.<string, *>=} opts */
2253 GPolyline.prototype.enableEditing = function(opts) {};
2254
2255 /**
2256 * @nosideeffects
2257 * @return {number}
2258 */
2259 GPolyline.prototype.getVertexCount = function() {};
2260
2261 /**
2262 * @nosideeffects
2263 * @param {number} index
2264 * @return {GLatLng}
2265 */
2266 GPolyline.prototype.getVertex = function(index) {};
2267
2268 /**
2269 * @nosideeffects
2270 * @return {number}
2271 */
2272 GPolyline.prototype.getLength = function() {};
2273
2274 /**
2275 * @nosideeffects
2276 * @return {GLatLngBounds}
2277 */
2278 GPolyline.prototype.getBounds = function() {};
2279
2280 /** @return {undefined} */
2281 GPolyline.prototype.hide = function() {};
2282
2283 /**
2284 * @param {number} index
2285 * @param {GLatLng} latlng
2286 */
2287 GPolyline.prototype.insertVertex = function(index, latlng) {};
2288
2289 /**
2290 * @nosideeffects
2291 * @return {boolean}
2292 */
2293 GPolyline.prototype.isHidden = function() {};
2294
2295 /** @return {undefined} */
2296 GPolyline.prototype.show = function() {};
2297
2298 /**
2299 * @nosideeffects
2300 * @return {boolean}
2301 */
2302 GPolyline.prototype.supportsHide = function() {};
2303
2304 /** @param {Object.<string, *>} style */
2305 GPolyline.prototype.setStrokeStyle = function(style) {};
2306
2307 /**
2308 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GProjection
2309 * @interface
2310 */
2311 function GProjection() {};
2312
2313 /** @typedef {GProjection} */
2314 google.maps.Projection;
2315
2316 /**
2317 * @nosideeffects
2318 * @param {GLatLng} latlng
2319 * @param {number} zoom
2320 * @return {GPoint}
2321 */
2322 GProjection.prototype.fromLatLngToPixel = function(latlng, zoom) {};
2323
2324 /**
2325 * @nosideeffects
2326 * @param {GPoint} pixel
2327 * @param {number} zoom
2328 * @param {boolean=} unbounded
2329 * @return {GLatLng}
2330 */
2331 GProjection.prototype.fromPixelToLatLng = function(pixel, zoom, unbounded) {};
2332
2333 /**
2334 * @param {GPoint} tile
2335 * @param {number} zoom
2336 * @param {number} tilesize
2337 * @return {boolean}
2338 */
2339 GProjection.prototype.tileCheckRange = function(tile, zoom, tilesize) {};
2340
2341 /**
2342 * @nosideeffects
2343 * @param {number} zoom
2344 * @return {number}
2345 */
2346 GProjection.prototype.getWrapWidth = function(zoom) {};
2347
2348 /**
2349 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GScreenOverlay.GScreenOverlay
2350 * @constructor
2351 * @extends {GOverlay}
2352 * @param {string} imageUrl
2353 * @param {GScreenPoint} screenXY
2354 * @param {GScreenPoint} overlayXY
2355 * @param {GScreenSize} size
2356 */
2357 function GScreenOverlay(imageUrl, screenXY, overlayXY, size) {}
2358
2359 /** @typedef {GScreenOverlay} */
2360 google.maps.ScreenOverlay;
2361
2362 /** @return {undefined} */
2363 GScreenOverlay.prototype.hide = function() {};
2364
2365 /**
2366 * @nosideeffects
2367 * @return {boolean}
2368 */
2369 GScreenOverlay.prototype.isHidden = function() {};
2370
2371 /** @return {undefined} */
2372 GScreenOverlay.prototype.show = function() {};
2373
2374 /**
2375 * @nosideeffects
2376 * @return {boolean}
2377 */
2378 GScreenOverlay.prototype.supportsHide = function() {};
2379
2380 /**
2381 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GScreenPoint.GScreenPoint
2382 * @constructor
2383 * @param {number} x
2384 * @param {number} y
2385 * @param {string=} xunits
2386 * @param {string=} yunits
2387 */
2388 function GScreenPoint(x, y, xunits, yunits) {}
2389
2390 /** @typedef {GScreenPoint} */
2391 google.maps.ScreenPoint;
2392
2393 /** @type {number} */
2394 GScreenPoint.prototype.x;
2395
2396 /** @type {number} */
2397 GScreenPoint.prototype.y;
2398
2399 /** @type {string} */
2400 GScreenPoint.prototype.xunits;
2401
2402 /** @type {string} */
2403 GScreenPoint.prototype.yunits;
2404
2405 /**
2406 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GScreenSize.GScreenSize
2407 * @constructor
2408 * @param {number} width
2409 * @param {number} height
2410 * @param {string=} xunits
2411 * @param {string=} yunits
2412 */
2413 function GScreenSize(width, height, xunits, yunits) {}
2414
2415 /** @typedef {GScreenSize} */
2416 google.maps.ScreenSize;
2417
2418 /** @type {number} */
2419 GScreenSize.prototype.width;
2420
2421 /** @type {number} */
2422 GScreenSize.prototype.height;
2423
2424 /** @type {string} */
2425 GScreenSize.prototype.xunits;
2426
2427 /** @type {string} */
2428 GScreenSize.prototype.yunits;
2429
2430 /**
2431 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GTileLayer.GTileLayer
2432 * @constructor
2433 * @param {GCopyrightCollection} copyrights
2434 * @param {number} minResolution
2435 * @param {number} maxResolution
2436 * @param {Object.<string, *>=} options
2437 */
2438 function GTileLayer(copyrights, minResolution, maxResolution, options) {}
2439
2440 /** @typedef {GTileLayer} */
2441 google.maps.TileLayer;
2442
2443 /**
2444 * @nosideeffects
2445 * @return {number}
2446 */
2447 GTileLayer.prototype.minResolution = function() {};
2448
2449 /**
2450 * @nosideeffects
2451 * @return {number}
2452 */
2453 GTileLayer.prototype.maxResolution = function() {};
2454
2455 /**
2456 * @nosideeffects
2457 * @param {GPoint} tile
2458 * @param {number} zoom
2459 * @return {string}
2460 */
2461 GTileLayer.prototype.getTileUrl = function(tile, zoom) {};
2462
2463 /**
2464 * @nosideeffects
2465 * @return {boolean}
2466 */
2467 GTileLayer.prototype.isPng = function() {};
2468
2469 /**
2470 * @nosideeffects
2471 * @return {number}
2472 */
2473 GTileLayer.prototype.getOpacity = function() {};
2474
2475 /**
2476 * @nosideeffects
2477 * @param {GLatLngBounds} bounds
2478 * @param {number} zoom
2479 * @return {string}
2480 */
2481 GTileLayer.prototype.getCopyright = function(bounds, zoom) {};
2482
2483 /**
2484 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GTileLayerOverlay.GTileLayerOverlay
2485 * @constructor
2486 * @extends {GOverlay}
2487 * @param {GTileLayer} tileLayer
2488 * @param {Object.<string, *>=} opts
2489 */
2490 function GTileLayerOverlay(tileLayer, opts) {}
2491
2492 /** @typedef {GTileLayerOverlay} */
2493 google.maps.TileLayerOverlay;
2494
2495 /** @return {undefined} */
2496 GTileLayerOverlay.prototype.hide = function() {};
2497
2498 /**
2499 * @nosideeffects
2500 * @return {boolean}
2501 */
2502 GTileLayerOverlay.prototype.isHidden = function() {};
2503
2504 /** @return {undefined} */
2505 GTileLayerOverlay.prototype.show = function() {};
2506
2507 /** @return {undefined} */
2508 GTileLayerOverlay.prototype.refresh = function() {};
2509
2510 /**
2511 * @nosideeffects
2512 * @return {boolean}
2513 */
2514 GTileLayerOverlay.prototype.supportsHide = function() {};
2515
2516 /**
2517 * @nosideeffects
2518 * @return {GTileLayer}
2519 */
2520 GTileLayerOverlay.prototype.getTileLayer = function() {};
2521
2522 /**
2523 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GAdsManager.GAdsManager
2524 * @constructor
2525 * @param {GMap2} map
2526 * @param {string} publisherId
2527 * @param {Object.<string, *>=} adsManagerOptions
2528 */
2529 function GAdsManager(map, publisherId, adsManagerOptions) {}
2530
2531 /** @typedef {GAdsManager} */
2532 google.maps.AdsManager;
2533
2534 /** @return {undefined} */
2535 GAdsManager.prototype.enable = function() {};
2536
2537 /** @return {undefined} */
2538 GAdsManager.prototype.disable = function() {};
2539
2540 /**
2541 * @constructor
2542 * @private
2543 */
2544 function GAdsManagerStyle() {};
2545
2546 /** @typedef {GAdsManagerStyle} */
2547 google.maps.AdsManagerStyle;
2548
2549 /**
2550 * @const
2551 * @type {GAdsManagerStyle}
2552 */
2553 var G_ADSMANAGER_STYLE_ADUNIT;
2554
2555 /**
2556 * @const
2557 * @type {google.maps.AdsManagerStyle}
2558 */
2559 google.maps.ADSMANAGER_STYLE_ADUNIT;
2560
2561 /**
2562 * @const
2563 * @type {GAdsManagerStyle}
2564 */
2565 var G_ADSMANAGER_STYLE_ICON;
2566
2567 /**
2568 * @const
2569 * @type {google.maps.AdsManagerStyle}
2570 */
2571 google.maps.ADSMANAGER_STYLE_ICON;
2572
2573 /**
2574 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GClientGeocoder.GClientGeocoder
2575 * @constructor
2576 * @param {GGeocodeCache=} cache
2577 */
2578 function GClientGeocoder(cache) {}
2579
2580 /** @typedef {GClientGeocoder} */
2581 google.maps.ClientGeocoder;
2582
2583 /**
2584 * @param {string} address
2585 * @param {function(GLatLng)} callback
2586 */
2587 GClientGeocoder.prototype.getLatLng = function(address, callback) {};
2588
2589 /**
2590 * @param {string|GLatLng} query
2591 * @param {function((string|GLatLng))} callback
2592 */
2593 GClientGeocoder.prototype.getLocations = function(query, callback) {};
2594
2595 /**
2596 * @nosideeffects
2597 * @return {GGeocodeCache}
2598 */
2599 GClientGeocoder.prototype.getCache = function() {};
2600
2601 /** @param {GGeocodeCache} cache */
2602 GClientGeocoder.prototype.setCache = function(cache) {};
2603
2604 /** @param {GLatLngBounds} bounds */
2605 GClientGeocoder.prototype.setViewport = function(bounds) {};
2606
2607 /**
2608 * @nosideeffects
2609 * @return {GLatLngBounds}
2610 */
2611 GClientGeocoder.prototype.getViewport = function() {};
2612
2613 /** @param {string} countryCode */
2614 GClientGeocoder.prototype.setBaseCountryCode = function(countryCode) {};
2615
2616 /**
2617 * @nosideeffects
2618 * @return {string}
2619 */
2620 GClientGeocoder.prototype.getBaseCountryCode = function() {};
2621
2622 /** @return {undefined} */
2623 GClientGeocoder.prototype.reset = function() {};
2624
2625 /**
2626 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GDirections.GDirections
2627 * @constructor
2628 * @param {GMap2=} map
2629 * @param {Node=} panel
2630 */
2631 function GDirections(map, panel) {}
2632
2633 /** @typedef {GDirections} */
2634 google.maps.Directions;
2635
2636 /**
2637 * @param {string} query
2638 * @param {Object.<string, *>=} queryOpts
2639 */
2640 GDirections.prototype.load = function(query, queryOpts) {};
2641
2642 /**
2643 * @param {Array} waypoints
2644 * @param {Object.<string, *>=} queryOpts
2645 */
2646 GDirections.prototype.loadFromWaypoints = function(waypoints, queryOpts) {};
2647
2648 /** @return {undefined} */
2649 GDirections.prototype.clear = function() {};
2650
2651 /**
2652 * @nosideeffects
2653 * @return {Object}
2654 */
2655 GDirections.prototype.getStatus = function() {};
2656
2657 /**
2658 * @nosideeffects
2659 * @return {GLatLngBounds}
2660 */
2661 GDirections.prototype.getBounds = function() {};
2662
2663 /**
2664 * @nosideeffects
2665 * @return {number}
2666 */
2667 GDirections.prototype.getNumRoutes = function() {};
2668
2669 /**
2670 * @nosideeffects
2671 * @param {number} i
2672 * @return {GRoute}
2673 */
2674 GDirections.prototype.getRoute = function(i) {};
2675
2676 /**
2677 * @nosideeffects
2678 * @return {number}
2679 */
2680 GDirections.prototype.getNumGeocodes = function() {};
2681
2682 /**
2683 * @nosideeffects
2684 * @param {number} i
2685 * @return {Object}
2686 */
2687 GDirections.prototype.getGeocode = function(i) {};
2688
2689 /**
2690 * @nosideeffects
2691 * @return {string}
2692 */
2693 GDirections.prototype.getCopyrightsHtml = function() {};
2694
2695 /**
2696 * @nosideeffects
2697 * @return {string}
2698 */
2699 GDirections.prototype.getSummaryHtml = function() {};
2700
2701 /**
2702 * @nosideeffects
2703 * @return {Object}
2704 */
2705 GDirections.prototype.getDistance = function() {};
2706
2707 /**
2708 * @nosideeffects
2709 * @return {Object}
2710 */
2711 GDirections.prototype.getDuration = function() {};
2712
2713 /**
2714 * @nosideeffects
2715 * @return {GPolyline}
2716 */
2717 GDirections.prototype.getPolyline = function() {};
2718
2719 /**
2720 * @nosideeffects
2721 * @param {number} i
2722 * @return {GMarker}
2723 */
2724 GDirections.prototype.getMarker = function(i) {};
2725
2726 /**
2727 * @param {string} url
2728 * @param {function(string,number)} onload
2729 * @param {string=} postBody
2730 * @param {string=} postContentType
2731 */
2732 function GDownloadUrl(url, onload, postBody, postContentType) {};
2733
2734 /**
2735 * @param {string} url
2736 * @param {function(string,number)} onload
2737 * @param {string=} postBody
2738 * @param {string=} postContentType
2739 */
2740 google.maps.DownloadUrl = function(url, onload, postBody, postContentType) {};
2741
2742 /**
2743 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GFactualGeocodeCache.GFactualGeocodeCache
2744 * @constructor
2745 */
2746 function GFactualGeocodeCache() {}
2747
2748 /** @typedef {GFactualGeocodeCache} */
2749 google.maps.FactualGeocodeCache;
2750
2751 /**
2752 * @nosideeffects
2753 * @param {Object} reply
2754 * @return {boolean}
2755 */
2756 GFactualGeocodeCache.prototype.isCachable = function(reply) {};
2757
2758 /**
2759 * @constructor
2760 * @private
2761 */
2762 function GGeoStatusCode() {};
2763
2764 /** @typedef {GGeoStatusCode} */
2765 google.maps.GeoStatusCode;
2766
2767 /**
2768 * @const
2769 * @type {GGeoStatusCode}
2770 */
2771 var G_GEO_SUCCESS;
2772
2773 /**
2774 * @const
2775 * @type {google.maps.GeoStatusCode}
2776 */
2777 google.maps.GEO_SUCCESS;
2778
2779 /**
2780 * @const
2781 * @type {GGeoStatusCode}
2782 */
2783 var G_GEO_BAD_REQUEST;
2784
2785 /**
2786 * @const
2787 * @type {google.maps.GeoStatusCode}
2788 */
2789 google.maps.GEO_BAD_REQUEST;
2790
2791 /**
2792 * @const
2793 * @type {GGeoStatusCode}
2794 */
2795 var G_GEO_SERVER_ERROR;
2796
2797 /**
2798 * @const
2799 * @type {google.maps.GeoStatusCode}
2800 */
2801 google.maps.GEO_SERVER_ERROR;
2802
2803 /**
2804 * @const
2805 * @type {GGeoStatusCode}
2806 */
2807 var G_GEO_MISSING_QUERY;
2808
2809 /**
2810 * @const
2811 * @type {google.maps.GeoStatusCode}
2812 */
2813 google.maps.GEO_MISSINQUERY;
2814
2815 /**
2816 * @const
2817 * @type {GGeoStatusCode}
2818 */
2819 var G_GEO_MISSING_ADDRESS;
2820
2821 /**
2822 * @const
2823 * @type {google.maps.GeoStatusCode}
2824 */
2825 google.maps.GEO_MISSINADDRESS;
2826
2827 /**
2828 * @const
2829 * @type {GGeoStatusCode}
2830 */
2831 var G_GEO_UNKNOWN_ADDRESS;
2832
2833 /**
2834 * @const
2835 * @type {google.maps.GeoStatusCode}
2836 */
2837 google.maps.GEO_UNKNOWN_ADDRESS;
2838
2839 /**
2840 * @const
2841 * @type {GGeoStatusCode}
2842 */
2843 var G_GEO_UNAVAILABLE_ADDRESS;
2844
2845 /**
2846 * @const
2847 * @type {google.maps.GeoStatusCode}
2848 */
2849 google.maps.GEO_UNAVAILABLE_ADDRESS;
2850
2851 /**
2852 * @const
2853 * @type {GGeoStatusCode}
2854 */
2855 var G_GEO_UNKNOWN_DIRECTIONS;
2856
2857 /**
2858 * @const
2859 * @type {google.maps.GeoStatusCode}
2860 */
2861 google.maps.GEO_UNKNOWN_DIRECTIONS;
2862
2863 /**
2864 * @const
2865 * @type {GGeoStatusCode}
2866 */
2867 var G_GEO_BAD_KEY;
2868
2869 /**
2870 * @const
2871 * @type {google.maps.GeoStatusCode}
2872 */
2873 google.maps.GEO_BAD_KEY;
2874
2875 /**
2876 * @const
2877 * @type {GGeoStatusCode}
2878 */
2879 var G_GEO_TOO_MANY_QUERIES;
2880
2881 /**
2882 * @const
2883 * @type {google.maps.GeoStatusCode}
2884 */
2885 google.maps.GEO_TOO_MANY_QUERIES;
2886
2887 /**
2888 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GGeoXml.GGeoXml
2889 * @constructor
2890 * @extends {GOverlay}
2891 * @param {string} urlOfXml
2892 */
2893 function GGeoXml(urlOfXml) {}
2894
2895 /** @typedef {GGeoXml} */
2896 google.maps.GeoXml;
2897
2898 /**
2899 * @nosideeffects
2900 * @return {GTileLayerOverlay}
2901 * @deprecated
2902 */
2903 GGeoXml.prototype.getTileLayerOverlay = function() {};
2904
2905 /**
2906 * @nosideeffects
2907 * @return {GLatLng}
2908 */
2909 GGeoXml.prototype.getDefaultCenter = function() {};
2910
2911 /**
2912 * @nosideeffects
2913 * @return {GLatLng}
2914 */
2915 GGeoXml.prototype.getDefaultSpan = function() {};
2916
2917 /**
2918 * @nosideeffects
2919 * @return {GLatLngBounds}
2920 */
2921 GGeoXml.prototype.getDefaultBounds = function() {};
2922
2923 /** @param {GMap2} map */
2924 GGeoXml.prototype.gotoDefaultViewport = function(map) {};
2925
2926 /**
2927 * @nosideeffects
2928 * @return {boolean}
2929 */
2930 GGeoXml.prototype.hasLoaded = function() {};
2931
2932 /** @return {undefined} */
2933 GGeoXml.prototype.hide = function() {};
2934
2935 /**
2936 * @nosideeffects
2937 * @return {boolean}
2938 */
2939 GGeoXml.prototype.isHidden = function() {};
2940
2941 /**
2942 * @return {boolean}
2943 * @deprecated
2944 */
2945 GGeoXml.prototype.loadedCorrectly = function() {};
2946
2947 /** @return {undefined} */
2948 GGeoXml.prototype.show = function() {};
2949
2950 /**
2951 * @nosideeffects
2952 * @return {boolean}
2953 */
2954 GGeoXml.prototype.supportsHide = function() {};
2955
2956 /**
2957 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GGeocodeCache.GGeocodeCache
2958 * @constructor
2959 */
2960 function GGeocodeCache() {}
2961
2962 /** @typedef {GGeocodeCache} */
2963 google.maps.GeocodeCache;
2964
2965 /**
2966 * @nosideeffects
2967 * @param {string} address
2968 * @return {Object}
2969 */
2970 GGeocodeCache.prototype.get = function(address) {};
2971
2972 /**
2973 * @nosideeffects
2974 * @param {Object} reply
2975 * @return {boolean}
2976 */
2977 GGeocodeCache.prototype.isCachable = function(reply) {};
2978
2979 /**
2980 * @param {string} address
2981 * @param {Object} reply
2982 */
2983 GGeocodeCache.prototype.put = function(address, reply) {};
2984
2985 /** @return {undefined} */
2986 GGeocodeCache.prototype.reset = function() {};
2987
2988 /**
2989 * @nosideeffects
2990 * @param {string} address
2991 * @return {string}
2992 */
2993 GGeocodeCache.prototype.toCanonical = function(address) {};
2994
2995 /**
2996 * @constructor
2997 * @private
2998 */
2999 function GGoogleBar() {};
3000
3001 /**
3002 * @constructor
3003 * @private
3004 */
3005 function GGoogleBarLinkTarget() {};
3006
3007 /** @typedef {GGoogleBarLinkTarget} */
3008 google.maps.GoogleBarLinkTarget;
3009
3010 /**
3011 * @const
3012 * @type {GGoogleBarLinkTarget}
3013 */
3014 var G_GOOGLEBAR_LINK_TARGET_BLANK;
3015
3016 /**
3017 * @const
3018 * @type {google.maps.GoogleBarLinkTarget}
3019 */
3020 google.maps.GOOGLEBAR_LINK_TARGET_BLANK;
3021
3022 /**
3023 * @const
3024 * @type {GGoogleBarLinkTarget}
3025 */
3026 var G_GOOGLEBAR_LINK_TARGET_PARENT;
3027
3028 /**
3029 * @const
3030 * @type {google.maps.GoogleBarLinkTarget}
3031 */
3032 google.maps.GOOGLEBAR_LINK_TARGET_PARENT;
3033
3034 /**
3035 * @const
3036 * @type {GGoogleBarLinkTarget}
3037 */
3038 var G_GOOGLEBAR_LINK_TARGET_SELF;
3039
3040 /**
3041 * @const
3042 * @type {google.maps.GoogleBarLinkTarget}
3043 */
3044 google.maps.GOOGLEBAR_LINK_TARGET_SELF;
3045
3046 /**
3047 * @const
3048 * @type {GGoogleBarLinkTarget}
3049 */
3050 var G_GOOGLEBAR_LINK_TARGET_TOP;
3051
3052 /**
3053 * @const
3054 * @type {google.maps.GoogleBarLinkTarget}
3055 */
3056 google.maps.GOOGLEBAR_LINK_TARGET_TOP;
3057
3058 /**
3059 * @constructor
3060 * @private
3061 */
3062 function GGoogleBarListingTypes() {};
3063
3064 /** @typedef {GGoogleBarListingTypes} */
3065 google.maps.GoogleBarListingTypes;
3066
3067 /**
3068 * @const
3069 * @type {GGoogleBarListingTypes}
3070 */
3071 var G_GOOGLEBAR_TYPE_BLENDED_RESULTS;
3072
3073 /**
3074 * @const
3075 * @type {google.maps.GoogleBarListingTypes}
3076 */
3077 google.maps.GOOGLEBAR_TYPE_BLENDED_RESULTS;
3078
3079 /**
3080 * @const
3081 * @type {GGoogleBarListingTypes}
3082 */
3083 var G_GOOGLEBAR_TYPE_KMLONLY_RESULTS;
3084
3085 /**
3086 * @const
3087 * @type {google.maps.GoogleBarListingTypes}
3088 */
3089 google.maps.GOOGLEBAR_TYPE_KMLONLY_RESULTS;
3090
3091 /**
3092 * @const
3093 * @type {GGoogleBarListingTypes}
3094 */
3095 var G_GOOGLEBAR_TYPE_LOCALONLY_RESULTS;
3096
3097 /**
3098 * @const
3099 * @type {google.maps.GoogleBarListingTypes}
3100 */
3101 google.maps.GOOGLEBAR_TYPE_LOCALONLY_RESULTS;
3102
3103 /**
3104 * @constructor
3105 * @private
3106 */
3107 function GGoogleBarResultList() {};
3108
3109 /** @typedef {GGoogleBarResultList} */
3110 google.maps.GoogleBarResultList;
3111
3112 /**
3113 * @const
3114 * @type {GGoogleBarResultList}
3115 */
3116 var G_GOOGLEBAR_RESULT_LIST_INLINE;
3117
3118 /**
3119 * @const
3120 * @type {google.maps.GoogleBarResultList}
3121 */
3122 google.maps.GOOGLEBAR_RESULT_LIST_INLINE;
3123
3124 /**
3125 * @const
3126 * @type {GGoogleBarResultList}
3127 */
3128 var G_GOOGLEBAR_RESULT_LIST_SUPPRESS;
3129
3130 /**
3131 * @const
3132 * @type {google.maps.GoogleBarResultList}
3133 */
3134 google.maps.GOOGLEBAR_RESULT_LIST_SUPPRESS;
3135
3136 /**
3137 * @constructor
3138 * @private
3139 */
3140 function GRoute() {};
3141
3142 /**
3143 * @nosideeffects
3144 * @return {number}
3145 */
3146 GRoute.prototype.getNumSteps = function() {};
3147
3148 /**
3149 * @nosideeffects
3150 * @param {number} i
3151 * @return {GStep}
3152 */
3153 GRoute.prototype.getStep = function(i) {};
3154
3155 /**
3156 * @nosideeffects
3157 * @return {Object}
3158 */
3159 GRoute.prototype.getStartGeocode = function() {};
3160
3161 /**
3162 * @nosideeffects
3163 * @return {Object}
3164 */
3165 GRoute.prototype.getEndGeocode = function() {};
3166
3167 /**
3168 * @nosideeffects
3169 * @return {GLatLng}
3170 */
3171 GRoute.prototype.getEndLatLng = function() {};
3172
3173 /**
3174 * @nosideeffects
3175 * @return {string}
3176 */
3177 GRoute.prototype.getSummaryHtml = function() {};
3178
3179 /**
3180 * @nosideeffects
3181 * @return {Object}
3182 */
3183 GRoute.prototype.getDistance = function() {};
3184
3185 /**
3186 * @nosideeffects
3187 * @return {Object}
3188 */
3189 GRoute.prototype.getDuration = function() {};
3190
3191 /**
3192 * @constructor
3193 * @private
3194 */
3195 function GStep() {};
3196
3197 /**
3198 * @nosideeffects
3199 * @return {GLatLng}
3200 */
3201 GStep.prototype.getLatLng = function() {};
3202
3203 /**
3204 * @nosideeffects
3205 * @return {number}
3206 */
3207 GStep.prototype.getPolylineIndex = function() {};
3208
3209 /**
3210 * @nosideeffects
3211 * @return {string}
3212 */
3213 GStep.prototype.getDescriptionHtml = function() {};
3214
3215 /**
3216 * @nosideeffects
3217 * @return {Object}
3218 */
3219 GStep.prototype.getDistance = function() {};
3220
3221 /**
3222 * @nosideeffects
3223 * @return {Object}
3224 */
3225 GStep.prototype.getDuration = function() {};
3226
3227 /**
3228 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GStreetviewClient.GStreetviewClient
3229 * @constructor
3230 */
3231 function GStreetviewClient() {}
3232
3233 /** @typedef {GStreetviewClient} */
3234 google.maps.StreetviewClient;
3235
3236 /**
3237 * @param {GLatLng} latlng
3238 * @param {function(GLatLng)} callback
3239 */
3240 GStreetviewClient.prototype.getNearestPanoramaLatLng =
3241 function(latlng, callback) {};
3242
3243 /**
3244 * @param {GLatLng} latlng
3245 * @param {function(GStreetviewData)} callback
3246 */
3247 GStreetviewClient.prototype.getNearestPanorama = function(latlng, callback) {};
3248
3249 /**
3250 * @param {string} panoId
3251 * @param {function(GStreetviewData)} callback
3252 */
3253 GStreetviewClient.prototype.getPanoramaById = function(panoId, callback) {};
3254
3255 /**
3256 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GStreetviewClient.ReturnValues
3257 * @enum
3258 */
3259 GStreetviewClient.ReturnValues = {
3260 SUCCESS: 200,
3261 SERVER_ERROR: 500,
3262 NO_NEARBY_PANO: 600
3263 };
3264
3265 /**
3266 * @constructor
3267 * @private
3268 */
3269 function GStreetviewData() {};
3270
3271 /** @type {Object.<string, *>} */
3272 GStreetviewData.prototype.location;
3273
3274 /** @type {string} */
3275 GStreetviewData.prototype.copyright;
3276
3277 /** @type {Array.<GStreetviewLink>} */
3278 GStreetviewData.prototype.links;
3279
3280 /** @type {GStreetviewClient.ReturnValues} */
3281 GStreetviewData.prototype.code;
3282
3283 /**
3284 * @constructor
3285 * @private
3286 */
3287 function GStreetviewLink() {};
3288
3289 /** @type {number} */
3290 GStreetviewLink.prototype.yaw;
3291
3292 /** @type {string} */
3293 GStreetviewLink.prototype.description;
3294
3295 /** @type {string} */
3296 GStreetviewLink.prototype.panoId;
3297
3298 /**
3299 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GStreetviewOverlay.GStreetviewOverlay
3300 * @constructor
3301 * @extends {GOverlay}
3302 */
3303 function GStreetviewOverlay() {}
3304
3305 /** @typedef {GStreetviewOverlay} */
3306 google.maps.StreetviewOverlay;
3307
3308 /**
3309 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GStreetviewPanorama.GStreetviewPanorama
3310 * @constructor
3311 * @param {Node} container
3312 * @param {Object.<string, *>=} opts
3313 */
3314 function GStreetviewPanorama(container, opts) {}
3315
3316 /** @typedef {GStreetviewPanorama} */
3317 google.maps.StreetviewPanorama;
3318
3319 /** @return {undefined} */
3320 GStreetviewPanorama.prototype.remove = function() {};
3321
3322 /** @param {Node} container */
3323 GStreetviewPanorama.prototype.setContainer = function(container) {};
3324
3325 /** @return {undefined} */
3326 GStreetviewPanorama.prototype.checkResize = function() {};
3327
3328 /** @return {undefined} */
3329 GStreetviewPanorama.prototype.hide = function() {};
3330
3331 /** @return {undefined} */
3332 GStreetviewPanorama.prototype.show = function() {};
3333
3334 /**
3335 * @nosideeffects
3336 * @return {boolean}
3337 */
3338 GStreetviewPanorama.prototype.isHidden = function() {};
3339
3340 /**
3341 * @nosideeffects
3342 * @return {GLatLng}
3343 */
3344 GStreetviewPanorama.prototype.getLatLng = function() {};
3345
3346 /**
3347 * @nosideeffects
3348 * @return {string}
3349 */
3350 GStreetviewPanorama.prototype.getPanoId = function() {};
3351
3352 /**
3353 * @nosideeffects
3354 * @return {Object.<string, *>}
3355 */
3356 GStreetviewPanorama.prototype.getPOV = function() {};
3357
3358 /** @param {Object.<string, *>} pov */
3359 GStreetviewPanorama.prototype.setPOV = function(pov) {};
3360
3361 /**
3362 * @param {Object.<string, *>} pov
3363 * @param {boolean=} opt_longRoute
3364 */
3365 GStreetviewPanorama.prototype.panTo = function(pov, opt_longRoute) {};
3366
3367 /**
3368 * @param {GLatLng} latlng
3369 * @param {Object.<string, *>=} opt_pov
3370 */
3371 GStreetviewPanorama.prototype.setLocationAndPOV = function(latlng, opt_pov) {};
3372
3373 /** @param {Object.<string, *>} photoSpec */
3374 GStreetviewPanorama.prototype.setUserPhoto = function(photoSpec) {};
3375
3376 /** @param {number} yaw */
3377 GStreetviewPanorama.prototype.followLink = function(yaw) {};
3378
3379 /**
3380 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GStreetviewPanorama.ErrorValues
3381 * @enum
3382 */
3383 GStreetviewPanorama.ErrorValues = {
3384 NO_NEARBY_PANO: 600,
3385 NO_PHOTO: 601,
3386 FLASH_UNAVAILABLE: 603
3387 };
3388
3389 /**
3390 * @see http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GTrafficOverlay.GTrafficOverlay
3391 * @constructor
3392 * @extends {GOverlay}
3393 * @param {Object.<string, *>=} opts
3394 */
3395 function GTrafficOverlay(opts) {}
3396
3397 /** @typedef {GTrafficOverlay} */
3398 google.maps.TrafficOverlay;
3399
3400 /** @return {undefined} */
3401 GTrafficOverlay.prototype.hide = function() {};
3402
3403 /** @return {undefined} */
3404 GTrafficOverlay.prototype.show = function() {};
3405
3406 /**
3407 * @constructor
3408 * @private
3409 */
3410 function GTravelModes() {};
3411
3412 /** @typedef {GTravelModes} */
3413 google.maps.TravelModes;
3414
3415 /**
3416 * @const
3417 * @type {GTravelModes}
3418 */
3419 var G_TRAVEL_MODE_WALKING;
3420
3421 /**
3422 * @const
3423 * @type {google.maps.TravelModes}
3424 */
3425 google.maps.TRAVEL_MODE_WALKING;
3426
3427 /**
3428 * @const
3429 * @type {GTravelModes}
3430 */
3431 var G_TRAVEL_MODE_DRIVING;
3432
3433 /**
3434 * @const
3435 * @type {google.maps.TravelModes}
3436 */
3437 google.maps.TRAVEL_MODE_DRIVING;
3438
3439 var GXml = {};
3440
3441 google.maps.Xml = {};
3442
3443 /**
3444 * @param {string} xmltext
3445 * @return {Node}
3446 */
3447 GXml.parse = function(xmltext) {};
3448
3449 /**
3450 * @param {Node} xmlnode
3451 * @return {string}
3452 */
3453 GXml.value = function(xmlnode) {};
3454
3455 var GXmlHttp = {};
3456
3457 google.maps.XmlHttp = {};
3458
3459 /** @return {XMLHttpRequest} */
3460 GXmlHttp.create = function() {};
3461
3462 /**
3463 * @constructor
3464 * @private
3465 */
3466 function GXslt() {};
3467
3468 /**
3469 * @param {Node} xsltnode
3470 * @return {GXslt}
3471 */
3472 GXslt.create = function(xsltnode) {};
3473
3474 /**
3475 * @param {Node} xmlnode
3476 * @param {Node} htmlnode
3477 * @return {boolean}
3478 */
3479 GXslt.transformToHtml = function(xmlnode, htmlnode) {};