UNPKG

google-closure-compiler

Version:

Check, compile, optimize and compress Javascript with Closure-Compiler

2,485 lines (2,035 loc) • 133 kB
/* * Copyright 2010 The Closure Compiler Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * @fileoverview Externs for the Google Maps v3 API. * @see https://developers.google.com/maps/documentation/javascript/reference * @externs */ /** * @const * @suppress {const,duplicate,strictMissingProperties} */ var google = {}; /** * @const * @suppress {const,duplicate,strictMissingProperties} */ google.maps = {}; /** * @enum {number} */ google.maps.Animation = { BOUNCE: 0, DROP: 1 }; /** * @extends {google.maps.MVCObject} * @constructor */ google.maps.BicyclingLayer = function() {}; /** * @return {google.maps.Map} */ google.maps.BicyclingLayer.prototype.getMap = function() {}; /** * @param {google.maps.Map} map * @return {undefined} */ google.maps.BicyclingLayer.prototype.setMap = function(map) {}; /** * @param {google.maps.CircleOptions=} opts * @extends {google.maps.MVCObject} * @constructor */ google.maps.Circle = function(opts) {}; /** * @return {google.maps.LatLngBounds} */ google.maps.Circle.prototype.getBounds = function() {}; /** * @return {google.maps.LatLng} */ google.maps.Circle.prototype.getCenter = function() {}; /** * @return {boolean} */ google.maps.Circle.prototype.getDraggable = function() {}; /** * @return {boolean} */ google.maps.Circle.prototype.getEditable = function() {}; /** * @return {google.maps.Map} */ google.maps.Circle.prototype.getMap = function() {}; /** * @return {number} */ google.maps.Circle.prototype.getRadius = function() {}; /** * @return {boolean} */ google.maps.Circle.prototype.getVisible = function() {}; /** * @param {google.maps.LatLng|google.maps.LatLngLiteral} center * @return {undefined} */ google.maps.Circle.prototype.setCenter = function(center) {}; /** * @param {boolean} draggable * @return {undefined} */ google.maps.Circle.prototype.setDraggable = function(draggable) {}; /** * @param {boolean} editable * @return {undefined} */ google.maps.Circle.prototype.setEditable = function(editable) {}; /** * @param {google.maps.Map} map * @return {undefined} */ google.maps.Circle.prototype.setMap = function(map) {}; /** * @param {google.maps.CircleOptions} options * @return {undefined} */ google.maps.Circle.prototype.setOptions = function(options) {}; /** * @param {number} radius * @return {undefined} */ google.maps.Circle.prototype.setRadius = function(radius) {}; /** * @param {boolean} visible * @return {undefined} */ google.maps.Circle.prototype.setVisible = function(visible) {}; /** * @extends {google.maps.CircleOptions} * @record */ google.maps.CircleLiteral = function() {}; /** * @type {!google.maps.LatLng|!google.maps.LatLngLiteral} */ google.maps.CircleLiteral.prototype.center; /** * @type {number} */ google.maps.CircleLiteral.prototype.radius; /** * @record */ google.maps.CircleOptions = function() {}; /** * @type {?google.maps.LatLng|?google.maps.LatLngLiteral|undefined} */ google.maps.CircleOptions.prototype.center; /** * @type {?boolean|undefined} */ google.maps.CircleOptions.prototype.clickable; /** * @type {?boolean|undefined} */ google.maps.CircleOptions.prototype.draggable; /** * @type {?boolean|undefined} */ google.maps.CircleOptions.prototype.editable; /** * @type {?string|undefined} */ google.maps.CircleOptions.prototype.fillColor; /** * @type {?number|undefined} */ google.maps.CircleOptions.prototype.fillOpacity; /** * @type {?google.maps.Map|undefined} */ google.maps.CircleOptions.prototype.map; /** * @type {?number|undefined} */ google.maps.CircleOptions.prototype.radius; /** * @type {?string|undefined} */ google.maps.CircleOptions.prototype.strokeColor; /** * @type {?number|undefined} */ google.maps.CircleOptions.prototype.strokeOpacity; /** * @type {?google.maps.StrokePosition|undefined} */ google.maps.CircleOptions.prototype.strokePosition; /** * @type {?number|undefined} */ google.maps.CircleOptions.prototype.strokeWeight; /** * @type {?boolean|undefined} */ google.maps.CircleOptions.prototype.visible; /** * @type {?number|undefined} */ google.maps.CircleOptions.prototype.zIndex; /** * @enum {number} */ google.maps.ControlPosition = { BOTTOM_CENTER: 0, BOTTOM_LEFT: 1, BOTTOM_RIGHT: 2, LEFT_BOTTOM: 3, LEFT_CENTER: 4, LEFT_TOP: 5, RIGHT_BOTTOM: 6, RIGHT_CENTER: 7, RIGHT_TOP: 8, TOP_CENTER: 9, TOP_LEFT: 10, TOP_RIGHT: 11 }; /** * @param {google.maps.Data.DataOptions=} options * @extends {google.maps.MVCObject} * @constructor */ google.maps.Data = function(options) {}; /** * @param {(google.maps.Data.Feature|google.maps.Data.FeatureOptions)=} feature * @return {!google.maps.Data.Feature} */ google.maps.Data.prototype.add = function(feature) {}; /** * @param {!Object} geoJson * @param {google.maps.Data.GeoJsonOptions=} options * @return {!Array<!google.maps.Data.Feature>} */ google.maps.Data.prototype.addGeoJson = function(geoJson, options) {}; /** * @param {!google.maps.Data.Feature} feature * @return {boolean} */ google.maps.Data.prototype.contains = function(feature) {}; /** * @param {function(!google.maps.Data.Feature)} callback * @return {undefined} */ google.maps.Data.prototype.forEach = function(callback) {}; /** * @return {google.maps.ControlPosition} */ google.maps.Data.prototype.getControlPosition = function() {}; /** * @return {Array<string>} */ google.maps.Data.prototype.getControls = function() {}; /** * @return {?string} */ google.maps.Data.prototype.getDrawingMode = function() {}; /** * @param {number|string} id * @return {google.maps.Data.Feature|undefined} */ google.maps.Data.prototype.getFeatureById = function(id) {}; /** * @return {google.maps.Map} */ google.maps.Data.prototype.getMap = function() {}; /** * @return {google.maps.Data.StylingFunction|google.maps.Data.StyleOptions} */ google.maps.Data.prototype.getStyle = function() {}; /** * @param {string} url * @param {google.maps.Data.GeoJsonOptions=} options * @param {function(!Array<!google.maps.Data.Feature>)=} callback * @return {undefined} */ google.maps.Data.prototype.loadGeoJson = function(url, options, callback) {}; /** * @param {!google.maps.Data.Feature} feature * @param {!google.maps.Data.StyleOptions} style * @return {undefined} */ google.maps.Data.prototype.overrideStyle = function(feature, style) {}; /** * @param {!google.maps.Data.Feature} feature * @return {undefined} */ google.maps.Data.prototype.remove = function(feature) {}; /** * @param {google.maps.Data.Feature=} feature * @return {undefined} */ google.maps.Data.prototype.revertStyle = function(feature) {}; /** * @param {google.maps.ControlPosition} controlPosition * @return {undefined} */ google.maps.Data.prototype.setControlPosition = function(controlPosition) {}; /** * @param {Array<string>} controls * @return {undefined} */ google.maps.Data.prototype.setControls = function(controls) {}; /** * @param {?string} drawingMode * @return {undefined} */ google.maps.Data.prototype.setDrawingMode = function(drawingMode) {}; /** * @param {google.maps.Map} map * @return {undefined} */ google.maps.Data.prototype.setMap = function(map) {}; /** * @param {google.maps.Data.StylingFunction|google.maps.Data.StyleOptions} style * @return {undefined} */ google.maps.Data.prototype.setStyle = function(style) {}; /** * @param {function(!Object)} callback * @return {undefined} */ google.maps.Data.prototype.toGeoJson = function(callback) {}; /** * @record */ google.maps.Data.AddFeatureEvent = function() {}; /** * @type {!google.maps.Data.Feature} */ google.maps.Data.AddFeatureEvent.prototype.feature; /** * @record */ google.maps.Data.DataOptions = function() {}; /** * @type {!google.maps.ControlPosition|undefined} */ google.maps.Data.DataOptions.prototype.controlPosition; /** * @type {?Array<string>|undefined} */ google.maps.Data.DataOptions.prototype.controls; /** * @type {?string|undefined} */ google.maps.Data.DataOptions.prototype.drawingMode; /** * @type {?(function(!google.maps.Data.Geometry): !google.maps.Data.Feature)|undefined} */ google.maps.Data.DataOptions.prototype.featureFactory; /** * @type {!google.maps.Map} */ google.maps.Data.DataOptions.prototype.map; /** * @type {!google.maps.Data.StylingFunction|!google.maps.Data.StyleOptions|undefined} */ google.maps.Data.DataOptions.prototype.style; /** * @param {google.maps.Data.FeatureOptions=} options * @constructor */ google.maps.Data.Feature = function(options) {}; /** * @param {function(*, string)} callback * @return {undefined} */ google.maps.Data.Feature.prototype.forEachProperty = function(callback) {}; /** * @return {google.maps.Data.Geometry} */ google.maps.Data.Feature.prototype.getGeometry = function() {}; /** * @return {number|string|undefined} */ google.maps.Data.Feature.prototype.getId = function() {}; /** * @param {string} name * @return {*} */ google.maps.Data.Feature.prototype.getProperty = function(name) {}; /** * @param {string} name * @return {undefined} */ google.maps.Data.Feature.prototype.removeProperty = function(name) {}; /** * @param {google.maps.Data.Geometry|google.maps.LatLng|google.maps.LatLngLiteral} newGeometry * @return {undefined} */ google.maps.Data.Feature.prototype.setGeometry = function(newGeometry) {}; /** * @param {string} name * @param {*} newValue * @return {undefined} */ google.maps.Data.Feature.prototype.setProperty = function(name, newValue) {}; /** * @param {function(!Object)} callback * @return {undefined} */ google.maps.Data.Feature.prototype.toGeoJson = function(callback) {}; /** * @record */ google.maps.Data.FeatureOptions = function() {}; /** * @type {?google.maps.Data.Geometry|?google.maps.LatLng|?google.maps.LatLngLiteral|undefined} */ google.maps.Data.FeatureOptions.prototype.geometry; /** * @type {number|string|undefined} */ google.maps.Data.FeatureOptions.prototype.id; /** * @type {?Object|undefined} */ google.maps.Data.FeatureOptions.prototype.properties; /** * @record */ google.maps.Data.GeoJsonOptions = function() {}; /** * @type {?string|undefined} */ google.maps.Data.GeoJsonOptions.prototype.idPropertyName; /** * @record */ google.maps.Data.Geometry = function() {}; /** * @param {function(!google.maps.LatLng)} callback * @return {undefined} */ google.maps.Data.Geometry.prototype.forEachLatLng = function(callback) {}; /** * @return {string} */ google.maps.Data.Geometry.prototype.getType = function() {}; /** * @param {!Array<!google.maps.Data.Geometry|!google.maps.LatLng|!google.maps.LatLngLiteral>} elements * @implements {google.maps.Data.Geometry} * @constructor */ google.maps.Data.GeometryCollection = function(elements) {}; /** * @param {function(!google.maps.LatLng)} callback * @return {undefined} * @override */ google.maps.Data.GeometryCollection.prototype.forEachLatLng = function(callback) {}; /** * @return {!Array<!google.maps.Data.Geometry>} */ google.maps.Data.GeometryCollection.prototype.getArray = function() {}; /** * @param {number} n * @return {!google.maps.Data.Geometry} */ google.maps.Data.GeometryCollection.prototype.getAt = function(n) {}; /** * @return {number} */ google.maps.Data.GeometryCollection.prototype.getLength = function() {}; /** * @return {string} * @override */ google.maps.Data.GeometryCollection.prototype.getType = function() {}; /** * @param {!Array<!google.maps.LatLng|!google.maps.LatLngLiteral>} elements * @implements {google.maps.Data.Geometry} * @constructor */ google.maps.Data.LineString = function(elements) {}; /** * @param {function(!google.maps.LatLng)} callback * @return {undefined} * @override */ google.maps.Data.LineString.prototype.forEachLatLng = function(callback) {}; /** * @return {!Array<!google.maps.LatLng>} */ google.maps.Data.LineString.prototype.getArray = function() {}; /** * @param {number} n * @return {!google.maps.LatLng} */ google.maps.Data.LineString.prototype.getAt = function(n) {}; /** * @return {number} */ google.maps.Data.LineString.prototype.getLength = function() {}; /** * @return {string} * @override */ google.maps.Data.LineString.prototype.getType = function() {}; /** * @param {!Array<!google.maps.LatLng|!google.maps.LatLngLiteral>} elements * @implements {google.maps.Data.Geometry} * @constructor */ google.maps.Data.LinearRing = function(elements) {}; /** * @param {function(!google.maps.LatLng)} callback * @return {undefined} * @override */ google.maps.Data.LinearRing.prototype.forEachLatLng = function(callback) {}; /** * @return {!Array<!google.maps.LatLng>} */ google.maps.Data.LinearRing.prototype.getArray = function() {}; /** * @param {number} n * @return {!google.maps.LatLng} */ google.maps.Data.LinearRing.prototype.getAt = function(n) {}; /** * @return {number} */ google.maps.Data.LinearRing.prototype.getLength = function() {}; /** * @return {string} * @override */ google.maps.Data.LinearRing.prototype.getType = function() {}; /** * @extends {google.maps.MouseEvent} * @record */ google.maps.Data.MouseEvent = function() {}; /** * @type {!google.maps.Data.Feature} */ google.maps.Data.MouseEvent.prototype.feature; /** * @param {!Array<!google.maps.Data.LineString|!Array<!google.maps.LatLng|!google.maps.LatLngLiteral>>} elements * @implements {google.maps.Data.Geometry} * @constructor */ google.maps.Data.MultiLineString = function(elements) {}; /** * @param {function(!google.maps.LatLng)} callback * @return {undefined} * @override */ google.maps.Data.MultiLineString.prototype.forEachLatLng = function(callback) {}; /** * @return {!Array<!google.maps.Data.LineString>} */ google.maps.Data.MultiLineString.prototype.getArray = function() {}; /** * @param {number} n * @return {!google.maps.Data.LineString} */ google.maps.Data.MultiLineString.prototype.getAt = function(n) {}; /** * @return {number} */ google.maps.Data.MultiLineString.prototype.getLength = function() {}; /** * @return {string} * @override */ google.maps.Data.MultiLineString.prototype.getType = function() {}; /** * @param {!Array<!google.maps.LatLng|!google.maps.LatLngLiteral>} elements * @implements {google.maps.Data.Geometry} * @constructor */ google.maps.Data.MultiPoint = function(elements) {}; /** * @param {function(!google.maps.LatLng)} callback * @return {undefined} * @override */ google.maps.Data.MultiPoint.prototype.forEachLatLng = function(callback) {}; /** * @return {!Array<!google.maps.LatLng>} */ google.maps.Data.MultiPoint.prototype.getArray = function() {}; /** * @param {number} n * @return {!google.maps.LatLng} */ google.maps.Data.MultiPoint.prototype.getAt = function(n) {}; /** * @return {number} */ google.maps.Data.MultiPoint.prototype.getLength = function() {}; /** * @return {string} * @override */ google.maps.Data.MultiPoint.prototype.getType = function() {}; /** * @param {!Array<!google.maps.Data.Polygon|!Array<!google.maps.Data.LinearRing|!Array<!google.maps.LatLng|!google.maps.LatLngLiteral>>>} elements * @implements {google.maps.Data.Geometry} * @constructor */ google.maps.Data.MultiPolygon = function(elements) {}; /** * @param {function(!google.maps.LatLng)} callback * @return {undefined} * @override */ google.maps.Data.MultiPolygon.prototype.forEachLatLng = function(callback) {}; /** * @return {!Array<!google.maps.Data.Polygon>} */ google.maps.Data.MultiPolygon.prototype.getArray = function() {}; /** * @param {number} n * @return {!google.maps.Data.Polygon} */ google.maps.Data.MultiPolygon.prototype.getAt = function(n) {}; /** * @return {number} */ google.maps.Data.MultiPolygon.prototype.getLength = function() {}; /** * @return {string} * @override */ google.maps.Data.MultiPolygon.prototype.getType = function() {}; /** * @param {!google.maps.LatLng|!google.maps.LatLngLiteral} latLng * @implements {google.maps.Data.Geometry} * @constructor */ google.maps.Data.Point = function(latLng) {}; /** * @param {function(!google.maps.LatLng)} callback * @return {undefined} * @override */ google.maps.Data.Point.prototype.forEachLatLng = function(callback) {}; /** * @return {!google.maps.LatLng} */ google.maps.Data.Point.prototype.get = function() {}; /** * @return {string} * @override */ google.maps.Data.Point.prototype.getType = function() {}; /** * @param {!Array<!google.maps.Data.LinearRing|!Array<!google.maps.LatLng|!google.maps.LatLngLiteral>>} elements * @implements {google.maps.Data.Geometry} * @constructor */ google.maps.Data.Polygon = function(elements) {}; /** * @param {function(!google.maps.LatLng)} callback * @return {undefined} * @override */ google.maps.Data.Polygon.prototype.forEachLatLng = function(callback) {}; /** * @return {!Array<!google.maps.Data.LinearRing>} */ google.maps.Data.Polygon.prototype.getArray = function() {}; /** * @param {number} n * @return {!google.maps.Data.LinearRing} */ google.maps.Data.Polygon.prototype.getAt = function(n) {}; /** * @return {number} */ google.maps.Data.Polygon.prototype.getLength = function() {}; /** * @return {string} * @override */ google.maps.Data.Polygon.prototype.getType = function() {}; /** * @record */ google.maps.Data.RemoveFeatureEvent = function() {}; /** * @type {!google.maps.Data.Feature} */ google.maps.Data.RemoveFeatureEvent.prototype.feature; /** * @record */ google.maps.Data.RemovePropertyEvent = function() {}; /** * @type {!google.maps.Data.Feature} */ google.maps.Data.RemovePropertyEvent.prototype.feature; /** * @type {string} */ google.maps.Data.RemovePropertyEvent.prototype.name; /** * @type {*} */ google.maps.Data.RemovePropertyEvent.prototype.oldValue; /** * @record */ google.maps.Data.SetGeometryEvent = function() {}; /** * @type {!google.maps.Data.Feature} */ google.maps.Data.SetGeometryEvent.prototype.feature; /** * @type {!google.maps.Data.Geometry|undefined} */ google.maps.Data.SetGeometryEvent.prototype.newGeometry; /** * @type {!google.maps.Data.Geometry|undefined} */ google.maps.Data.SetGeometryEvent.prototype.oldGeometry; /** * @record */ google.maps.Data.SetPropertyEvent = function() {}; /** * @type {!google.maps.Data.Feature} */ google.maps.Data.SetPropertyEvent.prototype.feature; /** * @type {string} */ google.maps.Data.SetPropertyEvent.prototype.name; /** * @type {*} */ google.maps.Data.SetPropertyEvent.prototype.newValue; /** * @type {*} */ google.maps.Data.SetPropertyEvent.prototype.oldValue; /** * @record */ google.maps.Data.StyleOptions = function() {}; /** * @type {boolean|undefined} */ google.maps.Data.StyleOptions.prototype.clickable; /** * @type {string|undefined} */ google.maps.Data.StyleOptions.prototype.cursor; /** * @type {boolean|undefined} */ google.maps.Data.StyleOptions.prototype.draggable; /** * @type {boolean|undefined} */ google.maps.Data.StyleOptions.prototype.editable; /** * @type {string|undefined} */ google.maps.Data.StyleOptions.prototype.fillColor; /** * @type {number|undefined} */ google.maps.Data.StyleOptions.prototype.fillOpacity; /** * @type {string|!google.maps.Icon|!google.maps.Symbol|undefined} */ google.maps.Data.StyleOptions.prototype.icon; /** * @type {!google.maps.MarkerShape|undefined} */ google.maps.Data.StyleOptions.prototype.shape; /** * @type {string|undefined} */ google.maps.Data.StyleOptions.prototype.strokeColor; /** * @type {number|undefined} */ google.maps.Data.StyleOptions.prototype.strokeOpacity; /** * @type {number|undefined} */ google.maps.Data.StyleOptions.prototype.strokeWeight; /** * @type {string|undefined} */ google.maps.Data.StyleOptions.prototype.title; /** * @type {boolean|undefined} */ google.maps.Data.StyleOptions.prototype.visible; /** * @type {number|undefined} */ google.maps.Data.StyleOptions.prototype.zIndex; /** * @typedef {function(!google.maps.Data.Feature): !google.maps.Data.StyleOptions} */ google.maps.Data.StylingFunction; /** * @record */ google.maps.DirectionsGeocodedWaypoint = function() {}; /** * @type {boolean} */ google.maps.DirectionsGeocodedWaypoint.prototype.partial_match; /** * @type {string} */ google.maps.DirectionsGeocodedWaypoint.prototype.place_id; /** * @type {Array<string>} */ google.maps.DirectionsGeocodedWaypoint.prototype.types; /** * @record */ google.maps.DirectionsLeg = function() {}; /** * @type {google.maps.Time} */ google.maps.DirectionsLeg.prototype.arrival_time; /** * @type {google.maps.Time} */ google.maps.DirectionsLeg.prototype.departure_time; /** * @type {google.maps.Distance} */ google.maps.DirectionsLeg.prototype.distance; /** * @type {google.maps.Duration} */ google.maps.DirectionsLeg.prototype.duration; /** * @type {google.maps.Duration} */ google.maps.DirectionsLeg.prototype.duration_in_traffic; /** * @type {string} */ google.maps.DirectionsLeg.prototype.end_address; /** * @type {google.maps.LatLng} */ google.maps.DirectionsLeg.prototype.end_location; /** * @type {string} */ google.maps.DirectionsLeg.prototype.start_address; /** * @type {google.maps.LatLng} */ google.maps.DirectionsLeg.prototype.start_location; /** * @type {Array<google.maps.DirectionsStep>} */ google.maps.DirectionsLeg.prototype.steps; /** * @type {Array<google.maps.LatLng>} */ google.maps.DirectionsLeg.prototype.via_waypoints; /** * @param {google.maps.DirectionsRendererOptions=} opts * @extends {google.maps.MVCObject} * @constructor */ google.maps.DirectionsRenderer = function(opts) {}; /** * @return {google.maps.DirectionsResult} */ google.maps.DirectionsRenderer.prototype.getDirections = function() {}; /** * @return {google.maps.Map} */ google.maps.DirectionsRenderer.prototype.getMap = function() {}; /** * @return {Node} */ google.maps.DirectionsRenderer.prototype.getPanel = function() {}; /** * @return {number} */ google.maps.DirectionsRenderer.prototype.getRouteIndex = function() {}; /** * @param {google.maps.DirectionsResult} directions * @return {undefined} */ google.maps.DirectionsRenderer.prototype.setDirections = function(directions) {}; /** * @param {google.maps.Map} map * @return {undefined} */ google.maps.DirectionsRenderer.prototype.setMap = function(map) {}; /** * @param {google.maps.DirectionsRendererOptions} options * @return {undefined} */ google.maps.DirectionsRenderer.prototype.setOptions = function(options) {}; /** * @param {Node} panel * @return {undefined} */ google.maps.DirectionsRenderer.prototype.setPanel = function(panel) {}; /** * @param {number} routeIndex * @return {undefined} */ google.maps.DirectionsRenderer.prototype.setRouteIndex = function(routeIndex) {}; /** * @record */ google.maps.DirectionsRendererOptions = function() {}; /** * @type {?google.maps.DirectionsResult|undefined} */ google.maps.DirectionsRendererOptions.prototype.directions; /** * @type {?boolean|undefined} */ google.maps.DirectionsRendererOptions.prototype.draggable; /** * @type {?boolean|undefined} */ google.maps.DirectionsRendererOptions.prototype.hideRouteList; /** * @type {?google.maps.InfoWindow|undefined} */ google.maps.DirectionsRendererOptions.prototype.infoWindow; /** * @type {?google.maps.Map|undefined} */ google.maps.DirectionsRendererOptions.prototype.map; /** * @type {?google.maps.MarkerOptions|undefined} */ google.maps.DirectionsRendererOptions.prototype.markerOptions; /** * @type {?Node|undefined} */ google.maps.DirectionsRendererOptions.prototype.panel; /** * @type {?google.maps.PolylineOptions|undefined} */ google.maps.DirectionsRendererOptions.prototype.polylineOptions; /** * @type {?boolean|undefined} */ google.maps.DirectionsRendererOptions.prototype.preserveViewport; /** * @type {?number|undefined} */ google.maps.DirectionsRendererOptions.prototype.routeIndex; /** * @type {?boolean|undefined} */ google.maps.DirectionsRendererOptions.prototype.suppressBicyclingLayer; /** * @type {?boolean|undefined} */ google.maps.DirectionsRendererOptions.prototype.suppressInfoWindows; /** * @type {?boolean|undefined} */ google.maps.DirectionsRendererOptions.prototype.suppressMarkers; /** * @type {?boolean|undefined} */ google.maps.DirectionsRendererOptions.prototype.suppressPolylines; /** * @record */ google.maps.DirectionsRequest = function() {}; /** * @type {boolean|undefined} */ google.maps.DirectionsRequest.prototype.avoidFerries; /** * @type {boolean|undefined} */ google.maps.DirectionsRequest.prototype.avoidHighways; /** * @type {boolean|undefined} */ google.maps.DirectionsRequest.prototype.avoidTolls; /** * @type {string|!google.maps.LatLng|!google.maps.Place|!google.maps.LatLngLiteral} */ google.maps.DirectionsRequest.prototype.destination; /** * @type {!google.maps.DrivingOptions|undefined} */ google.maps.DirectionsRequest.prototype.drivingOptions; /** * @type {boolean|undefined} */ google.maps.DirectionsRequest.prototype.optimizeWaypoints; /** * @type {string|!google.maps.LatLng|!google.maps.Place|!google.maps.LatLngLiteral} */ google.maps.DirectionsRequest.prototype.origin; /** * @type {boolean|undefined} */ google.maps.DirectionsRequest.prototype.provideRouteAlternatives; /** * @type {string|undefined} */ google.maps.DirectionsRequest.prototype.region; /** * @type {!google.maps.TransitOptions|undefined} */ google.maps.DirectionsRequest.prototype.transitOptions; /** * @type {!google.maps.TravelMode} */ google.maps.DirectionsRequest.prototype.travelMode; /** * @type {!google.maps.UnitSystem|undefined} */ google.maps.DirectionsRequest.prototype.unitSystem; /** * @type {!Array<!google.maps.DirectionsWaypoint>|undefined} */ google.maps.DirectionsRequest.prototype.waypoints; /** * @record */ google.maps.DirectionsResult = function() {}; /** * @type {Array<google.maps.DirectionsGeocodedWaypoint>} */ google.maps.DirectionsResult.prototype.geocoded_waypoints; /** * @type {Array<google.maps.DirectionsRoute>} */ google.maps.DirectionsResult.prototype.routes; /** * @record */ google.maps.DirectionsRoute = function() {}; /** * @type {google.maps.LatLngBounds} */ google.maps.DirectionsRoute.prototype.bounds; /** * @type {string} */ google.maps.DirectionsRoute.prototype.copyrights; /** * @type {google.maps.TransitFare} */ google.maps.DirectionsRoute.prototype.fare; /** * @type {Array<google.maps.DirectionsLeg>} */ google.maps.DirectionsRoute.prototype.legs; /** * @type {Array<google.maps.LatLng>} */ google.maps.DirectionsRoute.prototype.overview_path; /** * @type {string} */ google.maps.DirectionsRoute.prototype.overview_polyline; /** * @type {Array<string>} */ google.maps.DirectionsRoute.prototype.warnings; /** * @type {Array<number>} */ google.maps.DirectionsRoute.prototype.waypoint_order; /** * @constructor */ google.maps.DirectionsService = function() {}; /** * @param {google.maps.DirectionsRequest} request * @param {function(google.maps.DirectionsResult, google.maps.DirectionsStatus)} callback * @return {undefined} */ google.maps.DirectionsService.prototype.route = function(request, callback) {}; /** * @enum {string} */ google.maps.DirectionsStatus = { INVALID_REQUEST: 'INVALID_REQUEST', MAX_WAYPOINTS_EXCEEDED: 'MAX_WAYPOINTS_EXCEEDED', NOT_FOUND: 'NOT_FOUND', OK: 'OK', OVER_QUERY_LIMIT: 'OVER_QUERY_LIMIT', REQUEST_DENIED: 'REQUEST_DENIED', UNKNOWN_ERROR: 'UNKNOWN_ERROR', ZERO_RESULTS: 'ZERO_RESULTS' }; /** * @record */ google.maps.DirectionsStep = function() {}; /** * @type {google.maps.Distance} */ google.maps.DirectionsStep.prototype.distance; /** * @type {google.maps.Duration} */ google.maps.DirectionsStep.prototype.duration; /** * @type {google.maps.LatLng} */ google.maps.DirectionsStep.prototype.end_location; /** * @type {string} */ google.maps.DirectionsStep.prototype.instructions; /** * @type {Array<google.maps.LatLng>} */ google.maps.DirectionsStep.prototype.path; /** * @type {google.maps.LatLng} */ google.maps.DirectionsStep.prototype.start_location; /** * @type {Array<google.maps.DirectionsStep>} */ google.maps.DirectionsStep.prototype.steps; /** * @type {google.maps.TransitDetails} */ google.maps.DirectionsStep.prototype.transit; /** * @type {google.maps.TravelMode} */ google.maps.DirectionsStep.prototype.travel_mode; /** * @record */ google.maps.DirectionsWaypoint = function() {}; /** * @type {string|!google.maps.LatLng|!google.maps.Place|undefined} */ google.maps.DirectionsWaypoint.prototype.location; /** * @type {boolean|undefined} */ google.maps.DirectionsWaypoint.prototype.stopover; /** * @record */ google.maps.Distance = function() {}; /** * @type {string} */ google.maps.Distance.prototype.text; /** * @type {number} */ google.maps.Distance.prototype.value; /** * @enum {string} */ google.maps.DistanceMatrixElementStatus = { NOT_FOUND: 'NOT_FOUND', OK: 'OK', ZERO_RESULTS: 'ZERO_RESULTS' }; /** * @record */ google.maps.DistanceMatrixRequest = function() {}; /** * @type {boolean|undefined} */ google.maps.DistanceMatrixRequest.prototype.avoidFerries; /** * @type {boolean|undefined} */ google.maps.DistanceMatrixRequest.prototype.avoidHighways; /** * @type {boolean|undefined} */ google.maps.DistanceMatrixRequest.prototype.avoidTolls; /** * @type {!Array<string|!google.maps.LatLng|!google.maps.Place>} */ google.maps.DistanceMatrixRequest.prototype.destinations; /** * @type {!google.maps.DrivingOptions|undefined} */ google.maps.DistanceMatrixRequest.prototype.drivingOptions; /** * @type {!Array<string|!google.maps.LatLng|!google.maps.Place>} */ google.maps.DistanceMatrixRequest.prototype.origins; /** * @type {string|undefined} */ google.maps.DistanceMatrixRequest.prototype.region; /** * @type {!google.maps.TransitOptions|undefined} */ google.maps.DistanceMatrixRequest.prototype.transitOptions; /** * @type {!google.maps.TravelMode} */ google.maps.DistanceMatrixRequest.prototype.travelMode; /** * @type {!google.maps.UnitSystem|undefined} */ google.maps.DistanceMatrixRequest.prototype.unitSystem; /** * @record */ google.maps.DistanceMatrixResponse = function() {}; /** * @type {!Array<string>} */ google.maps.DistanceMatrixResponse.prototype.destinationAddresses; /** * @type {!Array<string>} */ google.maps.DistanceMatrixResponse.prototype.originAddresses; /** * @type {!Array<!google.maps.DistanceMatrixResponseRow>} */ google.maps.DistanceMatrixResponse.prototype.rows; /** * @record */ google.maps.DistanceMatrixResponseElement = function() {}; /** * @type {!google.maps.Distance} */ google.maps.DistanceMatrixResponseElement.prototype.distance; /** * @type {!google.maps.Duration} */ google.maps.DistanceMatrixResponseElement.prototype.duration; /** * @type {!google.maps.Duration} */ google.maps.DistanceMatrixResponseElement.prototype.duration_in_traffic; /** * @type {!google.maps.TransitFare} */ google.maps.DistanceMatrixResponseElement.prototype.fare; /** * @type {!google.maps.DistanceMatrixElementStatus} */ google.maps.DistanceMatrixResponseElement.prototype.status; /** * @record */ google.maps.DistanceMatrixResponseRow = function() {}; /** * @type {!Array<!google.maps.DistanceMatrixResponseElement>} */ google.maps.DistanceMatrixResponseRow.prototype.elements; /** * @constructor */ google.maps.DistanceMatrixService = function() {}; /** * @param {google.maps.DistanceMatrixRequest} request * @param {function(google.maps.DistanceMatrixResponse, google.maps.DistanceMatrixStatus)} callback * @return {undefined} */ google.maps.DistanceMatrixService.prototype.getDistanceMatrix = function(request, callback) {}; /** * @enum {string} */ google.maps.DistanceMatrixStatus = { INVALID_REQUEST: 'INVALID_REQUEST', MAX_DIMENSIONS_EXCEEDED: 'MAX_DIMENSIONS_EXCEEDED', MAX_ELEMENTS_EXCEEDED: 'MAX_ELEMENTS_EXCEEDED', OK: 'OK', OVER_QUERY_LIMIT: 'OVER_QUERY_LIMIT', REQUEST_DENIED: 'REQUEST_DENIED', UNKNOWN_ERROR: 'UNKNOWN_ERROR' }; /** * @record */ google.maps.DrivingOptions = function() {}; /** * @type {!Date} */ google.maps.DrivingOptions.prototype.departureTime; /** * @type {!google.maps.TrafficModel|undefined} */ google.maps.DrivingOptions.prototype.trafficModel; /** * @record */ google.maps.Duration = function() {}; /** * @type {string} */ google.maps.Duration.prototype.text; /** * @type {number} */ google.maps.Duration.prototype.value; /** * @record */ google.maps.ElevationResult = function() {}; /** * @type {number} */ google.maps.ElevationResult.prototype.elevation; /** * @type {google.maps.LatLng} */ google.maps.ElevationResult.prototype.location; /** * @type {number} */ google.maps.ElevationResult.prototype.resolution; /** * @constructor */ google.maps.ElevationService = function() {}; /** * @param {!google.maps.PathElevationRequest} request * @param {function(?Array<!google.maps.ElevationResult>, !google.maps.ElevationStatus)} callback * @return {undefined} */ google.maps.ElevationService.prototype.getElevationAlongPath = function(request, callback) {}; /** * @param {!google.maps.LocationElevationRequest} request * @param {function(?Array<!google.maps.ElevationResult>, !google.maps.ElevationStatus)} callback * @return {undefined} */ google.maps.ElevationService.prototype.getElevationForLocations = function(request, callback) {}; /** * @enum {string} */ google.maps.ElevationStatus = { INVALID_REQUEST: 'INVALID_REQUEST', OK: 'OK', OVER_QUERY_LIMIT: 'OVER_QUERY_LIMIT', REQUEST_DENIED: 'REQUEST_DENIED', UNKNOWN_ERROR: 'UNKNOWN_ERROR' }; /** * @record */ google.maps.FullscreenControlOptions = function() {}; /** * @type {?google.maps.ControlPosition|undefined} */ google.maps.FullscreenControlOptions.prototype.position; /** * @constructor */ google.maps.Geocoder = function() {}; /** * @param {google.maps.GeocoderRequest} request * @param {function(Array<google.maps.GeocoderResult>, google.maps.GeocoderStatus)} callback * @return {undefined} */ google.maps.Geocoder.prototype.geocode = function(request, callback) {}; /** * @record */ google.maps.GeocoderAddressComponent = function() {}; /** * @type {string} */ google.maps.GeocoderAddressComponent.prototype.long_name; /** * @type {string} */ google.maps.GeocoderAddressComponent.prototype.short_name; /** * @type {Array<string>} */ google.maps.GeocoderAddressComponent.prototype.types; /** * @record */ google.maps.GeocoderComponentRestrictions = function() {}; /** * @type {string} */ google.maps.GeocoderComponentRestrictions.prototype.administrativeArea; /** * @type {string} */ google.maps.GeocoderComponentRestrictions.prototype.country; /** * @type {string} */ google.maps.GeocoderComponentRestrictions.prototype.locality; /** * @type {string} */ google.maps.GeocoderComponentRestrictions.prototype.postalCode; /** * @type {string} */ google.maps.GeocoderComponentRestrictions.prototype.route; /** * @record */ google.maps.GeocoderGeometry = function() {}; /** * @type {google.maps.LatLngBounds} */ google.maps.GeocoderGeometry.prototype.bounds; /** * @type {google.maps.LatLng} */ google.maps.GeocoderGeometry.prototype.location; /** * @type {google.maps.GeocoderLocationType} */ google.maps.GeocoderGeometry.prototype.location_type; /** * @type {google.maps.LatLngBounds} */ google.maps.GeocoderGeometry.prototype.viewport; /** * @enum {string} */ google.maps.GeocoderLocationType = { APPROXIMATE: 'APPROXIMATE', GEOMETRIC_CENTER: 'GEOMETRIC_CENTER', RANGE_INTERPOLATED: 'RANGE_INTERPOLATED', ROOFTOP: 'ROOFTOP' }; /** * @record */ google.maps.GeocoderRequest = function() {}; /** * @type {?string|undefined} */ google.maps.GeocoderRequest.prototype.address; /** * @type {?google.maps.LatLngBounds|?google.maps.LatLngBoundsLiteral|undefined} */ google.maps.GeocoderRequest.prototype.bounds; /** * @type {?google.maps.GeocoderComponentRestrictions|undefined} */ google.maps.GeocoderRequest.prototype.componentRestrictions; /** * @type {?google.maps.LatLng|?google.maps.LatLngLiteral|undefined} */ google.maps.GeocoderRequest.prototype.location; /** * @type {?string|undefined} */ google.maps.GeocoderRequest.prototype.placeId; /** * @type {?string|undefined} */ google.maps.GeocoderRequest.prototype.region; /** * @record */ google.maps.GeocoderResult = function() {}; /** * @type {Array<google.maps.GeocoderAddressComponent>} */ google.maps.GeocoderResult.prototype.address_components; /** * @type {string} */ google.maps.GeocoderResult.prototype.formatted_address; /** * @type {google.maps.GeocoderGeometry} */ google.maps.GeocoderResult.prototype.geometry; /** * @type {boolean} */ google.maps.GeocoderResult.prototype.partial_match; /** * @type {string} */ google.maps.GeocoderResult.prototype.place_id; /** * @type {Array<string>} */ google.maps.GeocoderResult.prototype.postcode_localities; /** * @type {Array<string>} */ google.maps.GeocoderResult.prototype.types; /** * @enum {string} */ google.maps.GeocoderStatus = { ERROR: 'ERROR', INVALID_REQUEST: 'INVALID_REQUEST', OK: 'OK', OVER_QUERY_LIMIT: 'OVER_QUERY_LIMIT', REQUEST_DENIED: 'REQUEST_DENIED', UNKNOWN_ERROR: 'UNKNOWN_ERROR', ZERO_RESULTS: 'ZERO_RESULTS' }; /** * @param {string} url * @param {google.maps.LatLngBounds|google.maps.LatLngBoundsLiteral} bounds * @param {google.maps.GroundOverlayOptions=} opts * @extends {google.maps.MVCObject} * @constructor */ google.maps.GroundOverlay = function(url, bounds, opts) {}; /** * @return {google.maps.LatLngBounds} */ google.maps.GroundOverlay.prototype.getBounds = function() {}; /** * @return {google.maps.Map} */ google.maps.GroundOverlay.prototype.getMap = function() {}; /** * @return {number} */ google.maps.GroundOverlay.prototype.getOpacity = function() {}; /** * @return {string} */ google.maps.GroundOverlay.prototype.getUrl = function() {}; /** * @param {google.maps.Map} map * @return {undefined} */ google.maps.GroundOverlay.prototype.setMap = function(map) {}; /** * @param {number} opacity * @return {undefined} */ google.maps.GroundOverlay.prototype.setOpacity = function(opacity) {}; /** * @record */ google.maps.GroundOverlayOptions = function() {}; /** * @type {?boolean|undefined} */ google.maps.GroundOverlayOptions.prototype.clickable; /** * @type {?google.maps.Map|undefined} */ google.maps.GroundOverlayOptions.prototype.map; /** * @type {?number|undefined} */ google.maps.GroundOverlayOptions.prototype.opacity; /** * @record */ google.maps.Icon = function() {}; /** * @type {google.maps.Point} */ google.maps.Icon.prototype.anchor; /** * @type {google.maps.Point} */ google.maps.Icon.prototype.labelOrigin; /** * @type {google.maps.Point} */ google.maps.Icon.prototype.origin; /** * @type {google.maps.Size} */ google.maps.Icon.prototype.scaledSize; /** * @type {google.maps.Size} */ google.maps.Icon.prototype.size; /** * @type {string} */ google.maps.Icon.prototype.url; /** * @extends {google.maps.MouseEvent} * @record */ google.maps.IconMouseEvent = function() {}; /** * @type {?string} */ google.maps.IconMouseEvent.prototype.placeId; /** * @record */ google.maps.IconSequence = function() {}; /** * @type {boolean} */ google.maps.IconSequence.prototype.fixedRotation; /** * @type {google.maps.Symbol} */ google.maps.IconSequence.prototype.icon; /** * @type {string} */ google.maps.IconSequence.prototype.offset; /** * @type {string} */ google.maps.IconSequence.prototype.repeat; /** * @param {google.maps.ImageMapTypeOptions} opts * @implements {google.maps.MapType} * @extends {google.maps.MVCObject} * @constructor */ google.maps.ImageMapType = function(opts) {}; /** * @type {?string} */ google.maps.ImageMapType.prototype.alt; /** * @type {number} */ google.maps.ImageMapType.prototype.maxZoom; /** * @type {number} */ google.maps.ImageMapType.prototype.minZoom; /** * @type {?string} */ google.maps.ImageMapType.prototype.name; /** * @type {google.maps.Projection} */ google.maps.ImageMapType.prototype.projection; /** * @type {number} */ google.maps.ImageMapType.prototype.radius; /** * @type {google.maps.Size} */ google.maps.ImageMapType.prototype.tileSize; /** * @return {number} */ google.maps.ImageMapType.prototype.getOpacity = function() {}; /** * @param {google.maps.Point} tileCoord * @param {number} zoom * @param {Document} ownerDocument * @return {Node} * @override */ google.maps.ImageMapType.prototype.getTile = function(tileCoord, zoom, ownerDocument) {}; /** * @param {Node} tileDiv * @return {undefined} * @override */ google.maps.ImageMapType.prototype.releaseTile = function(tileDiv) {}; /** * @param {number} opacity * @return {undefined} */ google.maps.ImageMapType.prototype.setOpacity = function(opacity) {}; /** * @record */ google.maps.ImageMapTypeOptions = function() {}; /** * @type {?string|undefined} */ google.maps.ImageMapTypeOptions.prototype.alt; /** * @type {?(function(!google.maps.Point, number): string)|undefined} */ google.maps.ImageMapTypeOptions.prototype.getTileUrl; /** * @type {?number|undefined} */ google.maps.ImageMapTypeOptions.prototype.maxZoom; /** * @type {?number|undefined} */ google.maps.ImageMapTypeOptions.prototype.minZoom; /** * @type {?string|undefined} */ google.maps.ImageMapTypeOptions.prototype.name; /** * @type {?number|undefined} */ google.maps.ImageMapTypeOptions.prototype.opacity; /** * @type {?google.maps.Size|undefined} */ google.maps.ImageMapTypeOptions.prototype.tileSize; /** * @param {google.maps.InfoWindowOptions=} opts * @extends {google.maps.MVCObject} * @constructor */ google.maps.InfoWindow = function(opts) {}; /** * @return {undefined} */ google.maps.InfoWindow.prototype.close = function() {}; /** * @return {string|Node} */ google.maps.InfoWindow.prototype.getContent = function() {}; /** * @return {google.maps.LatLng} */ google.maps.InfoWindow.prototype.getPosition = function() {}; /** * @return {number} */ google.maps.InfoWindow.prototype.getZIndex = function() {}; /** * @param {(google.maps.Map|google.maps.StreetViewPanorama)=} map * @param {google.maps.MVCObject=} anchor * @return {undefined} */ google.maps.InfoWindow.prototype.open = function(map, anchor) {}; /** * @param {string|Node} content * @return {undefined} */ google.maps.InfoWindow.prototype.setContent = function(content) {}; /** * @param {google.maps.InfoWindowOptions} options * @return {undefined} */ google.maps.InfoWindow.prototype.setOptions = function(options) {}; /** * @param {google.maps.LatLng|google.maps.LatLngLiteral} position * @return {undefined} */ google.maps.InfoWindow.prototype.setPosition = function(position) {}; /** * @param {number} zIndex * @return {undefined} */ google.maps.InfoWindow.prototype.setZIndex = function(zIndex) {}; /** * @record */ google.maps.InfoWindowOptions = function() {}; /** * @type {?string|?Node|undefined} */ google.maps.InfoWindowOptions.prototype.content; /** * @type {?boolean|undefined} */ google.maps.InfoWindowOptions.prototype.disableAutoPan; /** * @type {?number|undefined} */ google.maps.InfoWindowOptions.prototype.maxWidth; /** * @type {?google.maps.Size|undefined} */ google.maps.InfoWindowOptions.prototype.pixelOffset; /** * @type {?google.maps.LatLng|?google.maps.LatLngLiteral|undefined} */ google.maps.InfoWindowOptions.prototype.position; /** * @type {?number|undefined} */ google.maps.InfoWindowOptions.prototype.zIndex; /** * @record */ google.maps.KmlAuthor = function() {}; /** * @type {string} */ google.maps.KmlAuthor.prototype.email; /** * @type {string} */ google.maps.KmlAuthor.prototype.name; /** * @type {string} */ google.maps.KmlAuthor.prototype.uri; /** * @record */ google.maps.KmlFeatureData = function() {}; /** * @type {google.maps.KmlAuthor} */ google.maps.KmlFeatureData.prototype.author; /** * @type {string} */ google.maps.KmlFeatureData.prototype.description; /** * @type {string} */ google.maps.KmlFeatureData.prototype.id; /** * @type {string} */ google.maps.KmlFeatureData.prototype.infoWindowHtml; /** * @type {string} */ google.maps.KmlFeatureData.prototype.name; /** * @type {string} */ google.maps.KmlFeatureData.prototype.snippet; /** * @param {google.maps.KmlLayerOptions=} opts * @extends {google.maps.MVCObject} * @constructor */ google.maps.KmlLayer = function(opts) {}; /** * @return {google.maps.LatLngBounds} */ google.maps.KmlLayer.prototype.getDefaultViewport = function() {}; /** * @return {google.maps.Map} */ google.maps.KmlLayer.prototype.getMap = function() {}; /** * @return {google.maps.KmlLayerMetadata} */ google.maps.KmlLayer.prototype.getMetadata = function() {}; /** * @return {google.maps.KmlLayerStatus} */ google.maps.KmlLayer.prototype.getStatus = function() {}; /** * @return {string} */ google.maps.KmlLayer.prototype.getUrl = function() {}; /** * @return {number} */ google.maps.KmlLayer.prototype.getZIndex = function() {}; /** * @param {google.maps.Map} map * @return {undefined} */ google.maps.KmlLayer.prototype.setMap = function(map) {}; /** * @param {google.maps.KmlLayerOptions} options * @return {undefined} */ google.maps.KmlLayer.prototype.setOptions = function(options) {}; /** * @param {string} url * @return {undefined} */ google.maps.KmlLayer.prototype.setUrl = function(url) {}; /** * @param {number} zIndex * @return {undefined} */ google.maps.KmlLayer.prototype.setZIndex = function(zIndex) {}; /** * @record */ google.maps.KmlLayerMetadata = function() {}; /** * @type {google.maps.KmlAuthor} */ google.maps.KmlLayerMetadata.prototype.author; /** * @type {string} */ google.maps.KmlLayerMetadata.prototype.description; /** * @type {boolean} */ google.maps.KmlLayerMetadata.prototype.hasScreenOverlays; /** * @type {string} */ google.maps.KmlLayerMetadata.prototype.name; /** * @type {string} */ google.maps.KmlLayerMetadata.prototype.snippet; /** * @record */ google.maps.KmlLayerOptions = function() {}; /** * @type {?boolean|undefined} */ google.maps.KmlLayerOptions.prototype.clickable; /** * @type {?google.maps.Map|undefined} */ google.maps.KmlLayerOptions.prototype.map; /** * @type {?boolean|undefined} */ google.maps.KmlLayerOptions.prototype.preserveViewport; /** * @type {?boolean|undefined} */ google.maps.KmlLayerOptions.prototype.screenOverlays; /** * @type {?boolean|undefined} */ google.maps.KmlLayerOptions.prototype.suppressInfoWindows; /** * @type {?string|undefined} */ google.maps.KmlLayerOptions.prototype.url; /** * @type {?number|undefined} */ google.maps.KmlLayerOptions.prototype.zIndex; /** * @enum {string} */ google.maps.KmlLayerStatus = { DOCUMENT_NOT_FOUND: 'DOCUMENT_NOT_FOUND', DOCUMENT_TOO_LARGE: 'DOCUMENT_TOO_LARGE', FETCH_ERROR: 'FETCH_ERROR', INVALID_DOCUMENT: 'INVALID_DOCUMENT', INVALID_REQUEST: 'INVALID_REQUEST', LIMITS_EXCEEDED: 'LIMITS_EXCEEDED', OK: 'OK', TIMED_OUT: 'TIMED_OUT', UNKNOWN: 'UNKNOWN' }; /** * @record */ google.maps.KmlMouseEvent = function() {}; /** * @type {google.maps.KmlFeatureData} */ google.maps.KmlMouseEvent.prototype.featureData; /** * @type {google.maps.LatLng} */ google.maps.KmlMouseEvent.prototype.latLng; /** * @type {google.maps.Size} */ google.maps.KmlMouseEvent.prototype.pixelOffset; /** * @param {number} lat * @param {number} lng * @param {boolean=} noWrap * @constructor */ google.maps.LatLng = function(lat, lng, noWrap) {}; /** * @param {google.maps.LatLng} other * @return {boolean} */ google.maps.LatLng.prototype.equals = function(other) {}; /** * @return {number} */ google.maps.LatLng.prototype.lat = function() {}; /** * @return {number} */ google.maps.LatLng.prototype.lng = function() {}; /** * @return {!google.maps.LatLngLiteral} * @override */ google.maps.LatLng.prototype.toJSON = function() {}; /** * @return {string} * @override */ google.maps.LatLng.prototype.toString = function() {}; /** * @param {number=} precision * @return {string} */ google.maps.LatLng.prototype.toUrlValue = function(precision) {}; /** * @param {(google.maps.LatLng|google.maps.LatLngLiteral)=} sw * @param {(google.maps.LatLng|google.maps.LatLngLiteral)=} ne * @constructor */ google.maps.LatLngBounds = function(sw, ne) {}; /** * @param {google.maps.LatLng|google.maps.LatLngLiteral} latLng * @return {boolean} */ google.maps.LatLngBounds.prototype.contains = function(latLng) {}; /** * @param {google.maps.LatLngBounds|google.maps.LatLngBoundsLiteral} other * @return {boolean} */ google.maps.LatLngBounds.prototype.equals = function(other) {}; /** * @param {google.maps.LatLng|google.maps.LatLngLiteral} point * @return {google.maps.LatLngBounds} */ google.maps.LatLngBounds.prototype.extend = function(point) {}; /** * @return {!google.maps.LatLng} */ google.maps.LatLngBounds.prototype.getCenter = function() {}; /** * @return {!google.maps.LatLng} */ google.maps.LatLngBounds.prototype.getNorthEast = function() {}; /** * @return {!google.maps.LatLng} */ google.maps.LatLngBounds.prototype.getSouthWest = function() {}; /** * @param {google.maps.LatLngBounds|google.maps.LatLngBoundsLiteral} other * @return {boolean} */ google.maps.LatLngBounds.prototype.intersects = function(other) {}; /** * @return {boolean} */ google.maps.LatLngBoun