Google Maps JavaScript API v3 Reference

Última actualización: viernes, 1 de agosto de 2025

Este es un índice de todas las clases, métodos e interfaces de la versión 3.61 de la API de Maps JavaScript (canal trimestral).

Para obtener más información, consulta las Notas de la versión y el Control de versiones.

Haz clic en el nombre de cualquier elemento para ver la documentación detallada.

Conceptos globales

google.maps

Espacio de nombres google.maps

Métodos estáticos: importLibrary

Constantes: version

Configuración

Clase de configuración

Métodos estáticos: getInstance

Propiedades: BetaexperienceIds, fetchAppCheckToken

Interfaz de MapsAppCheckTokenResult

Sistema de eventos

clase de evento

Métodos estáticos: addListener, addListenerOnce, clearInstanceListeners, clearListeners, hasListeners, removeListener, trigger, addDomListener, addDomListenerOnce

Interfaz de MapsEventListener

Métodos: remove

Clase MVCObject

Métodos: addListener, bindTo, get, notify, set, setValues, unbind, unbindAll

Clase MVCArray

Métodos: clear, forEach, getArray, getAt, getLength, insertAt, pop, push, removeAt, setAt

Eventos: insert_at, remove_at, set_at

Interfaz de ErrorEvent

Propiedades: error

Errores

Clase MapsNetworkError

Propiedades: code, endpoint

Clase MapsRequestError
Clase MapsServerError
Constantes de MapsNetworkErrorEndpoint

Constantes: DIRECTIONS_ROUTE, DISTANCE_MATRIX, ELEVATION_ALONG_PATH, ELEVATION_LOCATIONS, FLEET_ENGINE_GET_DELIVERY_VEHICLE, FLEET_ENGINE_GET_TRIP, FLEET_ENGINE_GET_VEHICLE, FLEET_ENGINE_LIST_DELIVERY_VEHICLES, FLEET_ENGINE_LIST_TASKS, FLEET_ENGINE_LIST_VEHICLES, FLEET_ENGINE_SEARCH_TASKS, GEOCODER_GEOCODE, MAPS_MAX_ZOOM, PLACES_AUTOCOMPLETE, PLACES_DETAILS, PLACES_FIND_PLACE_FROM_PHONE_NUMBER, PLACES_FIND_PLACE_FROM_QUERY, PLACES_GATEWAY, PLACES_GET_PLACE, PLACES_LOCAL_CONTEXT_SEARCH, PLACES_NEARBY_SEARCH, PLACES_SEARCH_TEXT, STREETVIEW_GET_PANORAMA

Constantes de RPCStatus

Constantes: ABORTED, ALREADY_EXISTS, CANCELLED, DATA_LOSS, DEADLINE_EXCEEDED, FAILED_PRECONDITION, INTERNAL, INVALID_ARGUMENT, NOT_FOUND, OK, OUT_OF_RANGE, PERMISSION_DENIED, RESOURCE_EXHAUSTED, UNAUTHENTICATED, UNAVAILABLE, UNIMPLEMENTED, UNKNOWN

Maps

Maps

Clase MapElement

Propiedades: center, headingInteractionDisabled, innerMap, internalUsageAttributionIds, mapId, renderingType, tiltInteractionDisabled, zoom

Métodos: addEventListener, removeEventListener

Eventos: gmp-zoomchange

Interfaz MapElementOptions

Propiedades: center, headingInteractionDisabled, internalUsageAttributionIds, mapId, renderingType, tiltInteractionDisabled, zoom

Clase ZoomChangeEvent
Clase de mapa

Propiedades: controls, data, mapTypes, overlayMapTypes

Métodos: fitBounds, getBounds, getCenter, getClickableIcons, BetagetDatasetFeatureLayer, getDiv, getFeatureLayer, getHeading, getHeadingInteractionEnabled, getInternalUsageAttributionIds, getMapCapabilities, getMapTypeId, getProjection, getRenderingType, getStreetView, getTilt, getTiltInteractionEnabled, getZoom, moveCamera, panBy, panTo, panToBounds, setCenter, setClickableIcons, setHeading, setHeadingInteractionEnabled, setMapTypeId, setOptions, setRenderingType, setStreetView, setTilt, setTiltInteractionEnabled, setZoom

Constantes: DEMO_MAP_ID

Eventos: bounds_changed, center_changed, click, contextmenu, dblclick, drag, dragend, dragstart, heading_changed, idle, isfractionalzoomenabled_changed, mapcapabilities_changed, maptypeid_changed, mousemove, mouseout, mouseover, projection_changed, renderingtype_changed, tilesloaded, tilt_changed, zoom_changed, rightclick

Interfaz de MapOptions

Propiedades: backgroundColor, cameraControl, cameraControlOptions, center, clickableIcons, colorScheme, controlSize, disableDefaultUI, disableDoubleClickZoom, draggableCursor, draggingCursor, fullscreenControl, fullscreenControlOptions, gestureHandling, heading, headingInteractionEnabled, internalUsageAttributionIds, isFractionalZoomEnabled, keyboardShortcuts, mapId, mapTypeControl, mapTypeControlOptions, mapTypeId, maxZoom, minZoom, noClear, renderingType, restriction, rotateControl, rotateControlOptions, scaleControl, scaleControlOptions, scrollwheel, streetView, streetViewControl, streetViewControlOptions, styles, tilt, tiltInteractionEnabled, zoom, zoomControl, zoomControlOptions, draggable, panControl, panControlOptions

Interfaz MapTypeStyle

Propiedades: elementType, featureType, stylers

Interfaz de MapMouseEvent

Propiedades: domEvent, latLng

Métodos: stop

Interfaz de IconMouseEvent

Propiedades: placeId

Constantes de ColorScheme

Constantes: DARK, FOLLOW_SYSTEM, LIGHT

Constantes de MapTypeId

Constantes: HYBRID, ROADMAP, SATELLITE, TERRAIN

Clase MapTypeRegistry

Métodos: set

Interfaz de MapRestriction

Propiedades: latLngBounds, strictBounds

Clase TrafficLayer

Métodos: getMap, setMap, setOptions

Interfaz de TrafficLayerOptions

Propiedades: autoRefresh, map

Clase TransitLayer

Métodos: getMap, setMap

Clase BicyclingLayer

Métodos: getMap, setMap

BetaInterfaz CameraOptions

Propiedades: center, heading, tilt, zoom

Interfaz de VisibleRegion

Propiedades: farLeft, farRight, latLngBounds, nearLeft, nearRight

Constantes de RenderingType

Constantes: RASTER, UNINITIALIZED, VECTOR

Interfaz de MapCapabilities

Propiedades: isAdvancedMarkersAvailable, isDataDrivenStylingAvailable, isWebGLOverlayViewAvailable

WebGL

Clase WebGLOverlayView

Métodos: getMap, onAdd, onContextLost, onContextRestored, onDraw, onRemove, onStateUpdate, requestRedraw, requestStateUpdate, setMap

Interfaz WebGLDrawOptions

Propiedades: gl, transformer

Interfaz WebGLStateOptions

Propiedades: gl

Interfaz de CoordinateTransformer

Métodos: fromLatLngAltitude, getCameraParams

Interfaz CameraParams

Propiedades: center, heading, tilt, zoom

Coordenadas

Clase LatLng

Métodos: equals, lat, lng, toJSON, toString, toUrlValue

Interfaz LatLngLiteral

Propiedades: lat, lng

Clase LatLngBounds

Métodos: contains, equals, extend, getCenter, getNorthEast, getSouthWest, intersects, isEmpty, toJSON, toSpan, toString, toUrlValue, union

Constantes: MAX_BOUNDS

Interfaz LatLngBoundsLiteral

Propiedades: east, north, south, west

Clase LatLngAltitude

Propiedades: altitude, lat, lng

Métodos: equals, toJSON

Interfaz LatLngAltitudeLiteral

Propiedades: altitude, lat, lng

Clase Point

Propiedades: x, y

Métodos: equals, toString

Clase de tamaño

Propiedades: height, width

Métodos: equals, toString

Interfaz de relleno

Propiedades: bottom, left, right, top

Interfaz de CircleLiteral

Propiedades: center, radius

BetaClase Orientation3D

Propiedades: heading, roll, tilt

Métodos: equals, toJSON

BetaInterfaz Orientation3DLiteral

Propiedades: heading, roll, tilt

BetaClase Vector3D

Propiedades: x, y, z

Métodos: equals, toJSON

BetaInterfaz Vector3DLiteral

Propiedades: x, y, z

Diseño basado en datos

Interfaz de FeatureLayer

Propiedades: BetadatasetId, featureType, isAvailable, style

Métodos: addListener

Eventos: click, mousemove

Constantes de FeatureType

Constantes: ADMINISTRATIVE_AREA_LEVEL_1, ADMINISTRATIVE_AREA_LEVEL_2, COUNTRY, BetaDATASET, LOCALITY, POSTAL_CODE, SCHOOL_DISTRICT

Definición de tipo FeatureStyleFunction
Interfaz FeatureStyleFunctionOptions

Propiedades: feature

Interfaz FeatureStyleOptions

Propiedades: fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWeight

Interfaz de funciones

Propiedades: featureType

Interfaz PlaceFeature

Propiedades: placeId

Métodos: fetchPlace

BetaInterfaz DatasetFeature

Propiedades: datasetAttributes, datasetId

Interfaz FeatureMouseEvent

Propiedades: features

Controles

Interfaz CameraControlOptions

Propiedades: position

Interfaz FullscreenControlOptions

Propiedades: position

Interfaz MapTypeControlOptions

Propiedades: mapTypeIds, position, style

Constantes de MapTypeControlStyle

Constantes: DEFAULT, DROPDOWN_MENU, HORIZONTAL_BAR

Interfaz de MotionTrackingControlOptions

Propiedades: position

Interfaz PanControlOptions

Propiedades: position

Interfaz RotateControlOptions

Propiedades: position

Interfaz ScaleControlOptions

Propiedades: style

Constantes de ScaleControlStyle

Constantes: DEFAULT

Interfaz StreetViewControlOptions

Propiedades: position, sources

Interfaz ZoomControlOptions

Propiedades: position

Constantes de ControlPosition

Constantes: BLOCK_END_INLINE_CENTER, BLOCK_END_INLINE_END, BLOCK_END_INLINE_START, BLOCK_START_INLINE_CENTER, BLOCK_START_INLINE_END, BLOCK_START_INLINE_START, BOTTOM_CENTER, BOTTOM_LEFT, BOTTOM_RIGHT, INLINE_END_BLOCK_CENTER, INLINE_END_BLOCK_END, INLINE_END_BLOCK_START, INLINE_START_BLOCK_CENTER, INLINE_START_BLOCK_END, INLINE_START_BLOCK_START, LEFT_BOTTOM, LEFT_CENTER, LEFT_TOP, RIGHT_BOTTOM, RIGHT_CENTER, RIGHT_TOP, TOP_CENTER, TOP_LEFT, TOP_RIGHT

Biblioteca de Geometry

clase de codificación

Métodos estáticos: decodePath, encodePath

clase esférica

Métodos estáticos: computeArea, computeDistanceBetween, computeHeading, computeLength, computeOffset, computeOffsetOrigin, computeSignedArea, interpolate

Clase de polígonos

Métodos estáticos: containsLocation, isLocationOnEdge

Cómo dibujar en el mapa

Marcadores avanzados

Clase AdvancedMarkerElement

Propiedades: collisionBehavior, gmpClickable, gmpDraggable, map, position, title, zIndex, element, content

Métodos: addEventListener, addListener, removeEventListener

Eventos: click, drag, dragend, dragstart, Betagmp-click

Interfaz de AdvancedMarkerElementOptions

Propiedades: collisionBehavior, content, BetagmpClickable, gmpDraggable, map, position, title, zIndex

Clase AdvancedMarkerClickEvent
Clase PinElement

Propiedades: background, borderColor, element, glyph, glyphColor, scale

Métodos: BetaaddEventListener, removeEventListener

Interfaz PinElementOptions

Propiedades: background, borderColor, glyph, glyphColor, scale

Ventana de información

Clase InfoWindow

Propiedades: isOpen

Métodos: close, focus, getContent, getHeaderContent, getHeaderDisabled, getPosition, getZIndex, open, setContent, setHeaderContent, setHeaderDisabled, setOptions, setPosition, setZIndex

Eventos: close, closeclick, content_changed, domready, headercontent_changed, headerdisabled_changed, position_changed, visible, zindex_changed

Interfaz InfoWindowOptions

Propiedades: ariaLabel, content, disableAutoPan, headerContent, headerDisabled, maxWidth, minWidth, pixelOffset, position, zIndex

Interfaz InfoWindowOpenOptions

Propiedades: anchor, map, shouldFocus

Polígonos

Clase Polyline

Métodos: getDraggable, getEditable, getMap, getPath, getVisible, setDraggable, setEditable, setMap, setOptions, setPath, setVisible

Eventos: click, contextmenu, dblclick, drag, dragend, dragstart, mousedown, mousemove, mouseout, mouseover, mouseup, rightclick

Interfaz de PolylineOptions

Propiedades: clickable, draggable, editable, geodesic, icons, map, path, strokeColor, strokeOpacity, strokeWeight, visible, zIndex

Interfaz de IconSequence

Propiedades: fixedRotation, icon, offset, repeat

Clase Polygon

Métodos: getDraggable, getEditable, getMap, getPath, getPaths, getVisible, setDraggable, setEditable, setMap, setOptions, setPath, setPaths, setVisible

Eventos: click, contextmenu, dblclick, drag, dragend, dragstart, mousedown, mousemove, mouseout, mouseover, mouseup, rightclick

Interfaz PolygonOptions

Propiedades: clickable, draggable, editable, fillColor, fillOpacity, geodesic, map, paths, strokeColor, strokeOpacity, strokePosition, strokeWeight, visible, zIndex

Interfaz de PolyMouseEvent

Propiedades: edge, path, vertex

Clase Rectangle

Métodos: getBounds, getDraggable, getEditable, getMap, getVisible, setBounds, setDraggable, setEditable, setMap, setOptions, setVisible

Eventos: bounds_changed, click, contextmenu, dblclick, drag, dragend, dragstart, mousedown, mousemove, mouseout, mouseover, mouseup, rightclick

Interfaz RectangleOptions

Propiedades: bounds, clickable, draggable, editable, fillColor, fillOpacity, map, strokeColor, strokeOpacity, strokePosition, strokeWeight, visible, zIndex

Clase Circle

Métodos: getBounds, getCenter, getDraggable, getEditable, getMap, getRadius, getVisible, setCenter, setDraggable, setEditable, setMap, setOptions, setRadius, setVisible

Eventos: center_changed, click, dblclick, drag, dragend, dragstart, mousedown, mousemove, mouseout, mouseover, mouseup, radius_changed, rightclick

Interfaz CircleOptions

Propiedades: center, clickable, draggable, editable, fillColor, fillOpacity, map, radius, strokeColor, strokeOpacity, strokePosition, strokeWeight, visible, zIndex

Constantes de StrokePosition

Constantes: CENTER, INSIDE, OUTSIDE

Datos

Clase de datos

Métodos: add, addGeoJson, contains, forEach, getControlPosition, getControls, getDrawingMode, getFeatureById, getMap, getStyle, loadGeoJson, overrideStyle, remove, revertStyle, setControlPosition, setControls, setDrawingMode, setMap, setStyle, toGeoJson

Eventos: addfeature, click, contextmenu, dblclick, mousedown, mouseout, mouseover, mouseup, removefeature, removeproperty, setgeometry, setproperty, rightclick

Interfaz Data.DataOptions

Propiedades: controlPosition, controls, drawingMode, featureFactory, map, style

Interfaz Data.GeoJsonOptions

Propiedades: idPropertyName

Interfaz Data.StyleOptions

Propiedades: animation, clickable, cursor, draggable, editable, fillColor, fillOpacity, icon, icons, label, opacity, shape, strokeColor, strokeOpacity, strokeWeight, title, visible, zIndex

Data.StylingFunction typedef
Clase Data.Feature

Métodos: forEachProperty, getGeometry, getId, getProperty, removeProperty, setGeometry, setProperty, toGeoJson

Eventos: removeproperty, setgeometry, setproperty

Interfaz Data.FeatureOptions

Propiedades: geometry, id, properties

Interfaz Data.Geometry

Métodos: forEachLatLng, getType

Clase Data.Point

Métodos: forEachLatLng, get, getType

Clase Data.MultiPoint

Métodos: forEachLatLng, getArray, getAt, getLength, getType

Clase Data.LineString

Métodos: forEachLatLng, getArray, getAt, getLength, getType

Clase Data.MultiLineString

Métodos: forEachLatLng, getArray, getAt, getLength, getType

Clase Data.LinearRing

Métodos: forEachLatLng, getArray, getAt, getLength, getType

Clase Data.Polygon

Métodos: forEachLatLng, getArray, getAt, getLength, getType

Clase Data.MultiPolygon

Métodos: forEachLatLng, getArray, getAt, getLength, getType

Clase Data.GeometryCollection

Métodos: forEachLatLng, getArray, getAt, getLength, getType

Interfaz Data.MouseEvent

Propiedades: feature

Interfaz Data.AddFeatureEvent

Propiedades: feature

Interfaz Data.RemoveFeatureEvent

Propiedades: feature

Interfaz de Data.SetGeometryEvent

Propiedades: feature, newGeometry, oldGeometry

Interfaz Data.SetPropertyEvent

Propiedades: feature, name, newValue, oldValue

Interfaz Data.RemovePropertyEvent

Propiedades: feature, name, oldValue

Elementos del DOM

Clase OverlayView

Métodos estáticos: preventMapHitsAndGesturesFrom, preventMapHitsFrom

Métodos: draw, getMap, getPanes, getProjection, onAdd, onRemove, setMap

Interfaz de MapPanes

Propiedades: floatPane, mapPane, markerLayer, overlayLayer, overlayMouseTarget

Interfaz MapCanvasProjection

Métodos: fromContainerPixelToLatLng, fromDivPixelToLatLng, fromLatLngToContainerPixel, fromLatLngToDivPixel, getVisibleRegion, getWorldWidth

KML

Clase KmlLayer

Métodos: getDefaultViewport, getMap, getMetadata, getStatus, getUrl, getZIndex, setMap, setOptions, setUrl, setZIndex

Eventos: click, defaultviewport_changed, status_changed

Interfaz de KmlLayerOptions

Propiedades: clickable, map, preserveViewport, screenOverlays, suppressInfoWindows, url, zIndex

Interfaz de KmlLayerMetadata

Propiedades: author, description, hasScreenOverlays, name, snippet

Constantes de KmlLayerStatus

Constantes: DOCUMENT_NOT_FOUND, DOCUMENT_TOO_LARGE, FETCH_ERROR, INVALID_DOCUMENT, INVALID_REQUEST, LIMITS_EXCEEDED, OK, TIMED_OUT, UNKNOWN

Interfaz de KmlMouseEvent

Propiedades: featureData, latLng, pixelOffset

Interfaz KmlFeatureData

Propiedades: author, description, id, infoWindowHtml, name, snippet

Interfaz de KmlAuthor

Propiedades: email, name, uri

Superposiciones de imágenes

Interfaz de MapType

Propiedades: alt, maxZoom, minZoom, name, projection, radius, tileSize

Métodos: getTile, releaseTile

Interfaz de proyección

Métodos: fromLatLngToPoint, fromPointToLatLng

Clase ImageMapType

Propiedades: alt, maxZoom, minZoom, name, projection, radius, tileSize

Métodos: getOpacity, getTile, releaseTile, setOpacity

Eventos: tilesloaded

Interfaz ImageMapTypeOptions

Propiedades: alt, getTileUrl, maxZoom, minZoom, name, opacity, tileSize

Clase GroundOverlay

Métodos: getBounds, getMap, getOpacity, getUrl, setMap, setOpacity

Eventos: click, dblclick

Interfaz de GroundOverlayOptions

Propiedades: clickable, map, opacity

Clase StyledMapType

Propiedades: alt, maxZoom, minZoom, name, projection, radius, tileSize

Métodos: getTile, releaseTile

Interfaz StyledMapTypeOptions

Propiedades: alt, maxZoom, minZoom, name

Biblioteca de dibujo

Clase DrawingManager

Métodos: getDrawingMode, getMap, setDrawingMode, setMap, setOptions

Eventos: circlecomplete, markercomplete, overlaycomplete, polygoncomplete, polylinecomplete, rectanglecomplete

Interfaz DrawingManagerOptions

Propiedades: circleOptions, drawingControl, drawingControlOptions, drawingMode, map, markerOptions, polygonOptions, polylineOptions, rectangleOptions

Interfaz DrawingControlOptions

Propiedades: drawingModes, position

Interfaz OverlayCompleteEvent

Propiedades: overlay, type

Constantes OverlayType

Constantes: CIRCLE, MARKER, POLYGON, POLYLINE, RECTANGLE

Mapas de calor

Clase HeatmapLayer

Métodos: getData, getMap, setData, setMap, setOptions

Interfaz HeatmapLayerOptions

Propiedades: data, dissipating, gradient, map, maxIntensity, opacity, radius

Interfaz WeightedLocation

Propiedades: location, weight

Zoom máximo

Clase MaxZoomService

Métodos: getMaxZoomAtLatLng

Interfaz de MaxZoomResult

Propiedades: status, zoom

Constantes de MaxZoomStatus

Constantes: ERROR, OK

Marcador (heredado)

Clase Marker

Métodos: getAnimation, getClickable, getCursor, getDraggable, getIcon, getLabel, getMap, getOpacity, getPosition, getShape, getTitle, getVisible, getZIndex, setAnimation, setClickable, setCursor, setDraggable, setIcon, setLabel, setMap, setOpacity, setOptions, setPosition, setShape, setTitle, setVisible, setZIndex

Constantes: MAX_ZINDEX

Eventos: animation_changed, click, clickable_changed, contextmenu, cursor_changed, dblclick, drag, dragend, draggable_changed, dragstart, flat_changed, icon_changed, mousedown, mouseout, mouseover, mouseup, position_changed, shape_changed, title_changed, visible_changed, zindex_changed, rightclick

Interfaz de MarkerOptions

Propiedades: anchorPoint, animation, clickable, crossOnDrag, cursor, draggable, icon, label, map, opacity, optimized, position, shape, title, visible, zIndex, BetacollisionBehavior

Constantes de CollisionBehavior

Constantes: OPTIONAL_AND_HIDES_LOWER_PRIORITY, REQUIRED, REQUIRED_AND_HIDES_OPTIONAL

Interfaz de íconos

Propiedades: anchor, labelOrigin, origin, scaledSize, size, url

Interfaz de MarkerLabel

Propiedades: className, color, fontFamily, fontSize, fontWeight, text

Interfaz MarkerShape

Propiedades: coords, type

Interfaz de símbolos

Propiedades: anchor, fillColor, fillOpacity, labelOrigin, path, rotation, scale, strokeColor, strokeOpacity, strokeWeight

Constantes de SymbolPath

Constantes: BACKWARD_CLOSED_ARROW, BACKWARD_OPEN_ARROW, CIRCLE, FORWARD_CLOSED_ARROW, FORWARD_OPEN_ARROW

Constantes de animación

Constantes: BOUNCE, DROP

Street View

Renderización

Clase StreetViewPanorama

Propiedades: controls

Métodos: focus, getLinks, getLocation, getMotionTracking, getPano, getPhotographerPov, getPosition, getPov, getStatus, getVisible, getZoom, registerPanoProvider, setLinks, setMotionTracking, setOptions, setPano, setPosition, setPov, setVisible, setZoom

Eventos: closeclick, pano_changed, position_changed, pov_changed, resize, status_changed, visible_changed, zoom_changed

Interfaz de StreetViewPanoramaOptions

Propiedades: addressControl, addressControlOptions, clickToGo, controlSize, disableDefaultUI, disableDoubleClickZoom, enableCloseButton, fullscreenControl, fullscreenControlOptions, imageDateControl, linksControl, motionTracking, motionTrackingControl, motionTrackingControlOptions, panControl, panControlOptions, pano, position, pov, scrollwheel, showRoadLabels, visible, zoom, zoomControl, zoomControlOptions

Interfaz StreetViewAddressControlOptions

Propiedades: position

Interfaz de PanoProviderOptions

Propiedades: cors

Interfaz StreetViewTileData

Propiedades: centerHeading, tileSize, worldSize

Métodos: getTileUrl

Interfaz de StreetViewPov

Propiedades: heading, pitch

Clase StreetViewCoverageLayer

Métodos: getMap, setMap

Servicio

Clase StreetViewService

Métodos: getPanorama

Constantes de StreetViewStatus

Constantes: OK, UNKNOWN_ERROR, ZERO_RESULTS

Interfaz de StreetViewLocationRequest

Propiedades: location, preference, radius, sources, source

Interfaz de StreetViewPanoRequest

Propiedades: pano

Interfaz de StreetViewResponse

Propiedades: data

Interfaz de StreetViewLocation

Propiedades: description, latLng, pano, shortDescription

Constantes de StreetViewPreference

Constantes: BEST, NEAREST

Constantes de StreetViewSource

Constantes: DEFAULT, GOOGLE, OUTDOOR

Interfaz de StreetViewPanoramaData

Propiedades: copyright, imageDate, links, location, tiles

Propiedades: description, heading, pano

Lugares

Widgets de Places

Clase BasicPlaceAutocompleteElement

Propiedades: includedPrimaryTypes, includedRegionCodes, locationBias, locationRestriction, name, origin, requestedLanguage, requestedRegion, unitSystem

Métodos: addEventListener, removeEventListener

Eventos: gmp-error, gmp-select

Interfaz de BasicPlaceAutocompleteElementOptions

Propiedades: includedPrimaryTypes, includedRegionCodes, locationBias, locationRestriction, name, origin, requestedLanguage, requestedRegion, unitSystem

Clase PlaceAutocompleteElement

Propiedades: includedPrimaryTypes, includedRegionCodes, locationBias, locationRestriction, name, origin, requestedLanguage, requestedRegion, unitSystem

Métodos: addEventListener, removeEventListener

Eventos: gmp-error, gmp-select

Interfaz de PlaceAutocompleteElementOptions

Propiedades: includedPrimaryTypes, includedRegionCodes, locationBias, locationRestriction, name, origin, requestedLanguage, requestedRegion, unitSystem

Clase PlacePredictionSelectEvent

Propiedades: placePrediction

BetaClase PlaceAutocompleteRequestErrorEvent
AlfaClase PlaceContextualElement

Propiedades: contextToken

Métodos: addEventListener, removeEventListener

AlfaInterfaz de PlaceContextualElementOptions

Propiedades: contextToken

AlfaClase PlaceContextualListConfigElement

Propiedades: layout, mapHidden, mapMode

Métodos: addEventListener, removeEventListener

AlfaInterfaz PlaceContextualListConfigElementOptions

Propiedades: layout, mapHidden, mapMode

AlfaConstantes de PlaceContextualListLayout

Constantes: COMPACT, VERTICAL

AlfaConstantes de PlaceContextualListMapMode

Constantes: HYBRID, NONE, ROADMAP

Clase PlaceDetailsElement

Propiedades: place

Métodos: addEventListener, removeEventListener

Eventos: gmp-error, gmp-load

Interfaz de PlaceDetailsElementOptions
Clase PlaceDetailsCompactElement

Propiedades: orientation, place, truncationPreferred

Métodos: addEventListener, removeEventListener

Eventos: gmp-error, gmp-load

Interfaz de PlaceDetailsCompactElementOptions

Propiedades: orientation, truncationPreferred

Constantes de PlaceDetailsOrientation

Constantes: HORIZONTAL, VERTICAL

Clase PlaceDetailsPlaceRequestElement

Propiedades: place

Métodos: addEventListener, removeEventListener

Interfaz de PlaceDetailsPlaceRequestElementOptions

Propiedades: place

Clase PlaceDetailsLocationRequestElement

Propiedades: location

Métodos: addEventListener, removeEventListener

Interfaz de PlaceDetailsLocationRequestElementOptions

Propiedades: location

Clase PlaceSearchElement

Propiedades: attributionPosition, orientation, places, selectable, truncationPreferred

Métodos: addEventListener, removeEventListener

Eventos: gmp-error, gmp-load, gmp-select

Interfaz de PlaceSearchElementOptions

Propiedades: attributionPosition, orientation, selectable, truncationPreferred

Constantes de PlaceSearchAttributionPosition

Constantes: BOTTOM, TOP

Constantes de PlaceSearchOrientation

Constantes: HORIZONTAL, VERTICAL

Clase PlaceSelectEvent

Propiedades: place

Clase PlaceNearbySearchRequestElement

Propiedades: excludedPrimaryTypes, excludedTypes, includedPrimaryTypes, includedTypes, locationRestriction, maxResultCount, rankPreference

Métodos: addEventListener, removeEventListener

Interfaz de PlaceNearbySearchRequestElementOptions

Propiedades: excludedPrimaryTypes, excludedTypes, includedPrimaryTypes, includedTypes, locationRestriction, maxResultCount, rankPreference

Clase PlaceTextSearchRequestElement

Propiedades: evConnectorTypes, evMinimumChargingRateKw, includedType, isOpenNow, locationBias, locationRestriction, maxResultCount, minRating, priceLevels, rankPreference, textQuery, useStrictTypeFiltering

Métodos: addEventListener, removeEventListener

Interfaz de PlaceTextSearchRequestElementOptions

Propiedades: evConnectorTypes, evMinimumChargingRateKw, includedType, isOpenNow, locationBias, locationRestriction, maxResultCount, minRating, priceLevels, rankPreference, textQuery, useStrictTypeFiltering

Clase de autocompletado

Métodos: getBounds, getFields, getPlace, setBounds, setComponentRestrictions, setFields, setOptions, setTypes

Eventos: place_changed

Interfaz AutocompleteOptions

Propiedades: bounds, componentRestrictions, fields, strictBounds, types, placeIdOnly

Métodos: getBounds, getPlaces, setBounds

Eventos: places_changed

Interfaz de SearchBoxOptions

Propiedades: bounds

Personalización del contenido del widget de lugar

Clase PlaceContentConfigElement

Métodos: addEventListener, removeEventListener

Interfaz de PlaceContentConfigElementOptions
Clase PlaceAllContentElement

Métodos: addEventListener, removeEventListener

Interfaz de PlaceAllContentElementOptions
Clase PlaceStandardContentElement

Métodos: addEventListener, removeEventListener

Interfaz de PlaceStandardContentElementOptions
Clase PlaceMediaElement

Propiedades: lightboxPreferred, preferredSize

Métodos: addEventListener, removeEventListener

Interfaz de PlaceMediaElementOptions

Propiedades: lightboxPreferred, preferredSize

Constantes de MediaSize

Constantes: LARGE, MEDIUM, SMALL

Clase PlaceAddressElement

Métodos: addEventListener, removeEventListener

Interfaz de PlaceAddressElementOptions
Clase PlaceRatingElement

Métodos: addEventListener, removeEventListener

Interfaz de PlaceRatingElementOptions
Clase PlaceTypeElement

Métodos: addEventListener, removeEventListener

Interfaz PlaceTypeElementOptions
Clase PlacePriceElement

Métodos: addEventListener, removeEventListener

Interfaz de PlacePriceElementOptions
Clase PlaceAccessibleEntranceIconElement

Métodos: addEventListener, removeEventListener

Interfaz PlaceAccessibleEntranceIconElementOptions
Clase PlaceOpenNowStatusElement

Métodos: addEventListener, removeEventListener

Interfaz de PlaceOpenNowStatusElementOptions
Clase PlaceReviewsElement

Métodos: addEventListener, removeEventListener

Interfaz de PlaceReviewsElementOptions
Clase PlaceSummaryElement

Métodos: addEventListener, removeEventListener

Interfaz de PlaceSummaryElementOptions
Clase PlaceFeatureListElement

Métodos: addEventListener, removeEventListener

Interfaz de PlaceFeatureListElementOptions
Clase PlaceOpeningHoursElement

Métodos: addEventListener, removeEventListener

Interfaz de PlaceOpeningHoursElementOptions
Clase PlacePhoneNumberElement

Métodos: addEventListener, removeEventListener

Interfaz de PlacePhoneNumberElementOptions
Clase PlacePlusCodeElement

Métodos: addEventListener, removeEventListener

Interfaz de PlacePlusCodeElementOptions
Clase PlaceTypeSpecificHighlightsElement

Métodos: addEventListener, removeEventListener

Interfaz PlaceTypeSpecificHighlightsElementOptions
Clase PlaceWebsiteElement

Métodos: addEventListener, removeEventListener

Interfaz de PlaceWebsiteElementOptions
Clase PlaceAttributionElement

Propiedades: darkSchemeColor, lightSchemeColor

Métodos: addEventListener, removeEventListener

Interfaz de PlaceAttributionElementOptions

Propiedades: darkSchemeColor, lightSchemeColor

Constantes de AttributionColor

Constantes: BLACK, GRAY, WHITE

Place

Clase Place

Métodos estáticos: searchByText, searchNearby

Propiedades: accessibilityOptions, addressComponents, adrFormatAddress, allowsDogs, attributions, businessStatus, displayName, displayNameLanguageCode, editorialSummary, editorialSummaryLanguageCode, evChargeOptions, formattedAddress, fuelOptions, googleMapsLinks, googleMapsURI, hasCurbsidePickup, hasDelivery, hasDineIn, hasLiveMusic, hasMenuForChildren, hasOutdoorSeating, hasRestroom, hasTakeout, iconBackgroundColor, id, internationalPhoneNumber, isGoodForChildren, isGoodForGroups, isGoodForWatchingSports, isReservable, location, nationalPhoneNumber, parkingOptions, paymentOptions, photos, plusCode, postalAddress, priceLevel, priceRange, primaryType, primaryTypeDisplayName, primaryTypeDisplayNameLanguageCode, rating, regularOpeningHours, requestedLanguage, requestedRegion, reviews, servesBeer, servesBreakfast, servesBrunch, servesCocktails, servesCoffee, servesDessert, servesDinner, servesLunch, servesVegetarianFood, servesWine, svgIconMaskURI, types, userRatingCount, utcOffsetMinutes, viewport, websiteURI, openingHours, hasWiFi

Métodos: fetchFields, BetagetNextOpeningTime, BetaisOpen, toJSON

Interfaz PlaceOptions

Propiedades: id, requestedLanguage, requestedRegion

Clase AccessibilityOptions

Propiedades: hasWheelchairAccessibleEntrance, hasWheelchairAccessibleParking, hasWheelchairAccessibleRestroom, hasWheelchairAccessibleSeating

Clase AddressComponent

Propiedades: longText, shortText, types

Clase de atribución

Propiedades: provider, providerURI

Clase AuthorAttribution

Propiedades: displayName, photoURI, uri

Clase ConnectorAggregation

Propiedades: availabilityLastUpdateTime, availableCount, count, maxChargeRateKw, outOfServiceCount, type

Clase EVChargeOptions

Propiedades: connectorAggregations, connectorCount

Constantes de EVConnectorType

Constantes: CCS_COMBO_1, CCS_COMBO_2, CHADEMO, J1772, NACS, OTHER, TESLA, TYPE_2, UNSPECIFIED_GB_T, UNSPECIFIED_WALL_OUTLET

Interfaz de EVSearchOptions

Propiedades: connectorTypes, minimumChargingRateKw

Interfaz de FetchFieldsRequest

Propiedades: fields

Clase FuelOptions

Propiedades: fuelPrices

Clase FuelPrice

Propiedades: price, type, updateTime

Constantes de FuelType

Constantes: BIO_DIESEL, DIESEL, DIESEL_PLUS, E100, E80, E85, LPG, METHANE, MIDGRADE, PREMIUM, REGULAR_UNLEADED, SP100, SP91, SP91_E10, SP92, SP95, SP95_E10, SP98, SP99, TRUCK_DIESEL

Propiedades: directionsURI, photosURI, placeURI, reviewsURI, writeAReviewURI

Clase Money

Propiedades: currencyCode, nanos, units

Métodos: toString

Clase OpeningHours

Propiedades: periods, weekdayDescriptions

Clase OpeningHoursPeriod

Propiedades: close, open

Clase OpeningHoursPoint

Propiedades: day, hour, minute

Clase ParkingOptions

Propiedades: hasFreeGarageParking, hasFreeParkingLot, hasFreeStreetParking, hasPaidGarageParking, hasPaidParkingLot, hasPaidStreetParking, hasValetParking

Clase PaymentOptions

Propiedades: acceptsCashOnly, acceptsCreditCards, acceptsDebitCards, acceptsNFC

Clase de foto

Propiedades: authorAttributions, flagContentURI, googleMapsURI, heightPx, widthPx

Métodos: getURI

Clase PlusCode

Propiedades: compoundCode, globalCode

Clase PostalAddress

Propiedades: addressLines, administrativeArea, languageCode, locality, organization, postalCode, recipients, regionCode, sortingCode, sublocality

Interfaz de PostalAddressLiteral

Propiedades: addressLines, administrativeArea, languageCode, locality, organization, postalCode, recipients, regionCode, sortingCode, sublocality

Constantes de PriceLevel

Constantes: EXPENSIVE, FREE, INEXPENSIVE, MODERATE, VERY_EXPENSIVE

Clase PriceRange

Propiedades: endPrice, startPrice

Revisar la clase

Propiedades: authorAttribution, flagContentURI, googleMapsURI, originalText, originalTextLanguageCode, publishTime, rating, relativePublishTimeDescription, text, textLanguageCode

Interfaz de SearchByTextRequest

Propiedades: evSearchOptions, fields, includedType, isOpenNow, language, locationBias, locationRestriction, maxResultCount, minRating, priceLevels, rankPreference, region, textQuery, useStrictTypeFiltering, query, BetarankBy

Constantes de SearchByTextRankPreference

Constantes: DISTANCE, RELEVANCE

Interfaz de SearchNearbyRequest

Propiedades: excludedPrimaryTypes, excludedTypes, fields, includedPrimaryTypes, includedTypes, language, locationRestriction, maxResultCount, rankPreference, region

Constantes de SearchNearbyRankPreference

Constantes: DISTANCE, POPULARITY

Datos de Autocomplete (nuevo)

Clase AutocompleteSuggestion

Métodos estáticos: fetchAutocompleteSuggestions

Propiedades: placePrediction

Interfaz de AutocompleteRequest

Propiedades: includedPrimaryTypes, includedRegionCodes, input, inputOffset, language, locationBias, locationRestriction, origin, region, sessionToken

Clase AutocompleteSessionToken
Clase PlacePrediction

Propiedades: distanceMeters, mainText, placeId, secondaryText, text, types

Métodos: BetafetchAddressValidation, toPlace

Clase StringRange

Propiedades: endOffset, startOffset

Clase FormattableText

Propiedades: matches, text

Geocoder

Clase Geocoder

Métodos: geocode

Interfaz de GeocoderRequest

Propiedades: address, bounds, componentRestrictions, BetaextraComputations, fulfillOnZeroResults, language, location, placeId, region

Interfaz de GeocoderComponentRestrictions

Propiedades: administrativeArea, country, locality, postalCode, route

BetaConstantes de ExtraGeocodeComputation

Constantes: ADDRESS_DESCRIPTORS

Constantes de GeocoderStatus

Constantes: ERROR, INVALID_REQUEST, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR, ZERO_RESULTS

Interfaz de GeocoderResponse

Propiedades: Betaaddress_descriptor, plus_code, results

Interfaz de GeocoderResult

Propiedades: address_components, Betaaddress_descriptor, formatted_address, geometry, partial_match, place_id, plus_code, postcode_localities, types

BetaInterfaz AddressDescriptor

Propiedades: areas, landmarks

Interfaz de GeocoderAddressComponent

Propiedades: long_name, short_name, types

Interfaz de GeocoderGeometry

Propiedades: bounds, location, location_type, viewport

Constantes de GeocoderLocationType

Constantes: APPROXIMATE, GEOMETRIC_CENTER, RANGE_INTERPOLATED, ROOFTOP

BetaInterfaz de Landmark

Propiedades: display_name, display_name_language_code, place_id, spatial_relationship, straight_line_distance_meters, travel_distance_meters, types

BetaInterfaz de área

Propiedades: containment, display_name, display_name_language_code, place_id

BetaConstantes de contención

Constantes: NEAR, OUTSKIRTS, WITHIN

BetaConstantes de SpatialRelationship

Constantes: ACROSS_THE_ROAD, AROUND_THE_CORNER, BEHIND, BESIDE, DOWN_THE_ROAD, NEAR, WITHIN

Servicio Places

Clase PlacesService

Métodos: findPlaceFromPhoneNumber, findPlaceFromQuery, getDetails, nearbySearch, textSearch

Interfaz de PlaceDetailsRequest

Propiedades: fields, language, placeId, region, sessionToken

Interfaz de FindPlaceFromPhoneNumberRequest

Propiedades: fields, language, locationBias, phoneNumber

Interfaz de FindPlaceFromQueryRequest

Propiedades: fields, language, locationBias, query

Interfaz de PlaceSearchRequest

Propiedades: bounds, keyword, language, location, maxPriceLevel, minPriceLevel, openNow, radius, rankBy, type, name

Interfaz de TextSearchRequest

Propiedades: bounds, language, location, query, radius, region, type

Constantes de RankBy

Constantes: DISTANCE, PROMINENCE

Typedef de LocationBias
typedef LocationRestriction
Constantes de PlacesServiceStatus

Constantes: INVALID_REQUEST, NOT_FOUND, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR, ZERO_RESULTS

Interfaz de PlaceSearchPagination

Propiedades: hasNextPage

Métodos: nextPage

Interfaz de PlaceResult

Propiedades: address_components, adr_address, aspects, business_status, formatted_address, formatted_phone_number, geometry, html_attributions, icon, icon_background_color, icon_mask_base_uri, international_phone_number, name, opening_hours, photos, place_id, plus_code, price_level, rating, reviews, types, url, user_ratings_total, utc_offset_minutes, vicinity, website, utc_offset, permanently_closed

Interfaz de PlaceAspectRating

Propiedades: rating, type

Constantes de BusinessStatus

Constantes: CLOSED_PERMANENTLY, CLOSED_TEMPORARILY, OPERATIONAL

Interfaz de PlaceGeometry

Propiedades: location, viewport

Interfaz de PlaceOpeningHours

Propiedades: periods, weekday_text, open_now

Métodos: isOpen

Interfaz de PlaceOpeningHoursPeriod

Propiedades: close, open

Interfaz de PlaceOpeningHoursTime

Propiedades: day, hours, minutes, nextDate, time

Interfaz de PlacePlusCode

Propiedades: compound_code, global_code

Interfaz de PlacePhoto

Propiedades: height, html_attributions, width

Métodos: getUrl

Interfaz de PhotoOptions

Propiedades: maxHeight, maxWidth

Interfaz de PlaceReview

Propiedades: author_name, author_url, language, profile_photo_url, rating, relative_time_description, text, time, aspects

Servicio Place Autocomplete

Clase AutocompleteService

Métodos: getPlacePredictions, getQueryPredictions

Interfaz de AutocompletionRequest

Propiedades: componentRestrictions, input, language, locationBias, locationRestriction, offset, origin, region, sessionToken, types, bounds, location, radius

Interfaz AutocompleteResponse

Propiedades: predictions

Interfaz de QueryAutocompletionRequest

Propiedades: bounds, input, location, offset, radius

Interfaz ComponentRestrictions

Propiedades: country

Interfaz de AutocompletePrediction

Propiedades: description, distance_meters, matched_substrings, place_id, structured_formatting, terms, types

Interfaz de QueryAutocompletePrediction

Propiedades: description, matched_substrings, place_id, terms

Interfaz de PredictionTerm

Propiedades: offset, value

Interfaz PredictionSubstring

Propiedades: length, offset

Interfaz de StructuredFormatting

Propiedades: main_text, main_text_matched_substrings, secondary_text

Address Validation (beta)

BetaClase AddressValidation

Métodos estáticos: fetchAddressValidation

Propiedades: address, geocode, metadata, responseId, uspsData, verdict

Métodos: toJSON

BetaInterfaz de AddressValidationRequest

Propiedades: address, previousResponseId, uspsCASSEnabled

BetaClase Address

Propiedades: components, formattedAddress, missingComponentTypes, postalAddress, unconfirmedComponentTypes, unresolvedTokens

BetaClase AddressComponent

Propiedades: componentName, componentNameLanguageCode, componentType, confirmationLevel, inferred, replaced, spellCorrected, unexpected

BetaClase AddressMetadata

Propiedades: business, poBox, residential

BetaConstantes de ConfirmationLevel

Constantes: CONFIRMED, UNCONFIRMED_AND_SUSPICIOUS, UNCONFIRMED_BUT_PLAUSIBLE

BetaClase Geocode

Propiedades: bounds, featureSizeMeters, location, placeId, placeTypes, plusCode

Métodos: fetchPlace

BetaConstantes de nivel de detalle

Constantes: BLOCK, OTHER, PREMISE, PREMISE_PROXIMITY, ROUTE, SUB_PREMISE

BetaConstantes de PossibleNextAction

Constantes: ACCEPT, CONFIRM, CONFIRM_ADD_SUBPREMISES, FIX

BetaClase USPSAddress

Propiedades: city, cityStateZipAddressLine, firm, firstAddressLine, secondAddressLine, state, urbanization, zipCode, zipCodeExtension

BetaClase USPSData

Propiedades: abbreviatedCity, addressRecordType, carrierRoute, carrierRouteIndicator, cassProcessed, county, deliveryPointCheckDigit, deliveryPointCode, dpvCMRA, dpvConfirmation, dpvDoorNotAccessible, dpvDrop, dpvEnhancedDeliveryCode, dpvFootnote, dpvNonDeliveryDays, dpvNonDeliveryDaysValues, dpvNoSecureLocation, dpvNoStat, dpvNoStatReasonCode, dpvPBSA, dpvThrowback, dpvVacant, elotFlag, elotNumber, errorMessage, fipsCountyCode, hasDefaultAddress, hasNoEWSMatch, lacsLinkIndicator, lacsLinkReturnCode, pmbDesignator, pmbNumber, poBoxOnlyPostalCode, postOfficeCity, postOfficeState, standardizedAddress, suiteLinkFootnote

BetaClase de veredicto

Propiedades: addressComplete, geocodeGranularity, hasInferredComponents, hasReplacedComponents, hasUnconfirmedComponents, inputGranularity, possibleNextAction, validationGranularity

Rutas

Directions

Clase DirectionsService

Métodos: route

Interfaz de DirectionsRequest

Propiedades: avoidFerries, avoidHighways, avoidTolls, destination, drivingOptions, language, optimizeWaypoints, origin, provideRouteAlternatives, region, transitOptions, travelMode, unitSystem, waypoints

Constantes de DirectionsStatus

Constantes: INVALID_REQUEST, MAX_WAYPOINTS_EXCEEDED, NOT_FOUND, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR, ZERO_RESULTS

Interfaz de DirectionsResult

Propiedades: available_travel_modes, geocoded_waypoints, request, routes

Clase DirectionsRenderer

Métodos: getDirections, getMap, getPanel, getRouteIndex, setDirections, setMap, setOptions, setPanel, setRouteIndex

Eventos: directions_changed

Interfaz de DirectionsRendererOptions

Propiedades: directions, draggable, hideRouteList, infoWindow, map, markerOptions, panel, polylineOptions, preserveViewport, routeIndex, suppressBicyclingLayer, suppressInfoWindows, suppressMarkers, suppressPolylines

Interfaz de DirectionsWaypoint

Propiedades: location, stopover

Interfaz de DirectionsGeocodedWaypoint

Propiedades: partial_match, place_id, types

Interfaz de DirectionsRoute

Propiedades: bounds, copyrights, fare, legs, overview_path, overview_polyline, summary, warnings, waypoint_order

Interfaz de DirectionsLeg

Propiedades: arrival_time, departure_time, distance, duration, duration_in_traffic, end_address, end_location, start_address, start_location, steps, via_waypoints, traffic_speed_entry

Interfaz de DirectionsStep

Propiedades: distance, duration, encoded_lat_lngs, end_location, instructions, maneuver, path, start_location, steps, transit, transit_details, travel_mode, start_point, end_point, lat_lngs, polyline

Interfaz de DirectionsPolyline

Propiedades: points

Interfaz de Place

Propiedades: location, placeId, query

Constantes de TravelMode

Constantes: BICYCLING, DRIVING, TRANSIT, WALKING

Interfaz de DrivingOptions

Propiedades: departureTime, trafficModel

Constantes de TrafficModel

Constantes: BEST_GUESS, OPTIMISTIC, PESSIMISTIC

Interfaz de TransitOptions

Propiedades: arrivalTime, departureTime, modes, routingPreference

Constantes de TransitMode

Constantes: BUS, RAIL, SUBWAY, TRAIN, TRAM

Constantes de TransitRoutePreference

Constantes: FEWER_TRANSFERS, LESS_WALKING

Interfaz de TransitFare

Propiedades: currency, text, value

Interfaz de TransitDetails

Propiedades: arrival_stop, arrival_time, departure_stop, departure_time, headsign, headway, line, num_stops, trip_short_name

Interfaz de TransitStop

Propiedades: location, name

Interfaz de TransitLine

Propiedades: agencies, color, icon, name, short_name, text_color, url, vehicle

Interfaz de TransitAgency

Propiedades: name, phone, url

Interfaz de TransitVehicle

Propiedades: icon, local_icon, name, type

Constantes de VehicleType

Constantes: BUS, CABLE_CAR, COMMUTER_TRAIN, FERRY, FUNICULAR, GONDOLA_LIFT, HEAVY_RAIL, HIGH_SPEED_TRAIN, INTERCITY_BUS, METRO_RAIL, MONORAIL, OTHER, RAIL, SHARE_TAXI, SUBWAY, TRAM, TROLLEYBUS

Constantes de UnitSystem

Constantes: IMPERIAL, METRIC

Interfaz de distancia

Propiedades: text, value

Interfaz de duración

Propiedades: text, value

Interfaz de tiempo

Propiedades: text, time_zone, value

Constantes de DirectionsTravelMode
Constantes de DirectionsUnitSystem

Distance Matrix

Clase DistanceMatrixService

Métodos: getDistanceMatrix

Interfaz DistanceMatrixRequest

Propiedades: avoidFerries, avoidHighways, avoidTolls, destinations, drivingOptions, language, origins, region, transitOptions, travelMode, unitSystem

Interfaz DistanceMatrixResponse

Propiedades: destinationAddresses, originAddresses, rows

Interfaz DistanceMatrixResponseRow

Propiedades: elements

Interfaz DistanceMatrixResponseElement

Propiedades: distance, duration, duration_in_traffic, fare, status

Constantes de DistanceMatrixStatus

Constantes: INVALID_REQUEST, MAX_DIMENSIONS_EXCEEDED, MAX_ELEMENTS_EXCEEDED, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR

Constantes de DistanceMatrixElementStatus

Constantes: NOT_FOUND, OK, ZERO_RESULTS

Elevation

Clase ElevationService

Métodos: getElevationAlongPath, getElevationForLocations

Interfaz de LocationElevationRequest

Propiedades: locations

Interfaz de LocationElevationResponse

Propiedades: results

Interfaz de PathElevationRequest

Propiedades: path, samples

Interfaz de PathElevationResponse

Propiedades: results

Interfaz ElevationResult

Propiedades: elevation, location, resolution

Constantes de ElevationStatus

Constantes: INVALID_REQUEST, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR

Widget de elevación (alfa)

AlfaClase ElevationElement

Propiedades: path, unitSystem

Métodos: addEventListener, removeEventListener

Eventos: gmp-load, gmp-requesterror

AlfaInterfaz ElevationElementOptions

Propiedades: path, unitSystem

Mapas 3D (beta)

Mapas en 3D

BetaClase Map3DElement

Propiedades: bounds, center, defaultUIDisabled, heading, internalUsageAttributionIds, maxAltitude, maxHeading, maxTilt, minAltitude, minHeading, minTilt, mode, range, roll, tilt

Métodos: addEventListener, flyCameraAround, flyCameraTo, removeEventListener, stopCameraAnimation

Eventos: gmp-animationend, gmp-centerchange, gmp-click, gmp-error, gmp-headingchange, gmp-rangechange, gmp-rollchange, gmp-steadychange, gmp-tiltchange

BetaInterfaz Map3DElementOptions

Propiedades: bounds, center, defaultUIDisabled, heading, internalUsageAttributionIds, maxAltitude, maxHeading, maxTilt, minAltitude, minHeading, minTilt, mode, range, roll, tilt

BetaConstantes de MapMode

Constantes: HYBRID, SATELLITE

BetaInterfaz FlyAroundAnimationOptions

Propiedades: camera, durationMillis, rounds

BetaInterfaz FlyToAnimationOptions

Propiedades: durationMillis, endCamera

BetaInterfaz CameraOptions

Propiedades: center, heading, range, roll, tilt

BetaClase SteadyChangeEvent

Propiedades: isSteady

BetaClase LocationClickEvent

Propiedades: position

BetaClase PlaceClickEvent

Propiedades: placeId

Métodos: fetchPlace

BetaClase Marker3DElement

Propiedades: altitudeMode, collisionBehavior, drawsWhenOccluded, extruded, label, position, sizePreserved, zIndex

Métodos: addEventListener, removeEventListener

BetaInterfaz Marker3DElementOptions

Propiedades: altitudeMode, collisionBehavior, drawsWhenOccluded, extruded, label, position, sizePreserved, zIndex

BetaClase Marker3DInteractiveElement

Propiedades: gmpPopoverTargetElement, title

Métodos: addEventListener, removeEventListener

Eventos: gmp-click

BetaInterfaz Marker3DInteractiveElementOptions

Propiedades: gmpPopoverTargetElement, title

BetaClase Model3DElement

Propiedades: altitudeMode, orientation, position, scale, src

Métodos: addEventListener, removeEventListener

BetaInterfaz Model3DElementOptions

Propiedades: altitudeMode, orientation, position, scale, src

BetaClase Model3DInteractiveElement

Métodos: addEventListener, removeEventListener

Eventos: gmp-click

BetaInterfaz Model3DInteractiveElementOptions
BetaClase Polyline3DElement

Propiedades: altitudeMode, coordinates, drawsOccludedSegments, extruded, geodesic, outerColor, outerWidth, strokeColor, strokeWidth, zIndex

Métodos: addEventListener, removeEventListener

BetaInterfaz Polyline3DElementOptions

Propiedades: altitudeMode, coordinates, drawsOccludedSegments, extruded, geodesic, outerColor, outerWidth, strokeColor, strokeWidth, zIndex

BetaClase Polyline3DInteractiveElement

Métodos: addEventListener, removeEventListener

Eventos: gmp-click

BetaInterfaz de Polyline3DInteractiveElementOptions
BetaClase Polygon3DElement

Propiedades: altitudeMode, drawsOccludedSegments, extruded, fillColor, geodesic, innerCoordinates, outerCoordinates, strokeColor, strokeWidth, zIndex

Métodos: addEventListener, removeEventListener

BetaInterfaz Polygon3DElementOptions

Propiedades: altitudeMode, drawsOccludedSegments, extruded, fillColor, geodesic, innerCoordinates, outerCoordinates, strokeColor, strokeWidth, zIndex

BetaClase Polygon3DInteractiveElement

Métodos: addEventListener, removeEventListener

Eventos: gmp-click

BetaInterfaz Polygon3DInteractiveElementOptions
BetaClase PopoverElement

Propiedades: altitudeMode, lightDismissDisabled, open, positionAnchor

Métodos: addEventListener, removeEventListener

BetaInterfaz de PopoverElementOptions

Propiedades: altitudeMode, lightDismissDisabled, open, positionAnchor

BetaConstantes de AltitudeMode

Constantes: ABSOLUTE, CLAMP_TO_GROUND, RELATIVE_TO_GROUND, RELATIVE_TO_MESH

Ambiental (alfa)

Calidad del aire

AlfaClase AirQualityMeterElement

Propiedades: location, requestedLanguage

Métodos: addEventListener, removeEventListener

Eventos: gmp-error, gmp-load

Interfaz AirQualityMeterElementOptions

Propiedades: location, requestedLanguage

Viajes compartidos

Vista de mapa

Clase JourneySharingMapView

Propiedades: automaticViewportMode, element, enableTraffic, locationProviders, map, mapOptions, locationProvider, destinationMarkerSetup, originMarkerSetup, taskOutcomeMarkerSetup, unsuccessfulTaskMarkerSetup, vehicleMarkerSetup, waypointMarkerSetup, anticipatedRoutePolylineSetup, takenRoutePolylineSetup, pingMarkerSetup, successfulTaskMarkerSetup, destinationMarkers, originMarkers, successfulTaskMarkers, taskOutcomeMarkers, unsuccessfulTaskMarkers, vehicleMarkers, waypointMarkers, anticipatedRoutePolylines, takenRoutePolylines

Métodos: addLocationProvider, removeLocationProvider

Interfaz de JourneySharingMapViewOptions

Propiedades: automaticViewportMode, element, locationProviders, mapOptions, locationProvider, destinationMarkerSetup, originMarkerSetup, taskOutcomeMarkerSetup, unsuccessfulTaskMarkerSetup, vehicleMarkerSetup, waypointMarkerSetup, anticipatedRoutePolylineSetup, takenRoutePolylineSetup, pingMarkerSetup, successfulTaskMarkerSetup

Constantes de AutomaticViewportMode

Constantes: FIT_ANTICIPATED_ROUTE, NONE

Clase abstracta LocationProvider

Métodos: addListener

Clase abstracta PollingLocationProvider

Propiedades: isPolling, pollingIntervalMillis

Eventos: ispollingchange

Interfaz de PollingLocationProviderIsPollingChangeEvent

Propiedades: error

Autenticación

Interfaz AuthToken

Propiedades: expiresInSeconds, token

Interfaz AuthTokenContext

Propiedades: deliveryVehicleId, taskId, trackingId, tripId, vehicleId

typedef AuthTokenFetcher
Interfaz AuthTokenFetcherOptions

Propiedades: context, serviceType

Constantes de FleetEngineServiceType

Constantes: DELIVERY_VEHICLE_SERVICE, TASK_SERVICE, TRIP_SERVICE, UNKNOWN_SERVICE

Personalización de la IU

TypeDef de PolylineSetup
Interfaz PolylineSetupOptions

Propiedades: polylineOptions, visible

Interfaz DefaultPolylineSetupOptions

Propiedades: defaultPolylineOptions, defaultVisible

MarkerSetup typedef
Interfaz de MarkerSetupOptions

Propiedades: markerOptions

Interfaz DefaultMarkerSetupOptions

Propiedades: defaultMarkerOptions

Interfaz de MarkerCustomizationFunctionParams

Propiedades: defaultOptions, isNew, marker

Interfaz de DeliveryVehicleMarkerCustomizationFunctionParams

Propiedades: vehicle

Interfaz de PlannedStopMarkerCustomizationFunctionParams

Propiedades: stopIndex

Interfaz de TaskMarkerCustomizationFunctionParams

Propiedades: task

Interfaz de ShipmentMarkerCustomizationFunctionParams

Propiedades: taskTrackingInfo

Interfaz de TripMarkerCustomizationFunctionParams

Propiedades: trip

Interfaz de TripWaypointMarkerCustomizationFunctionParams

Propiedades: waypointIndex

Interfaz de VehicleMarkerCustomizationFunctionParams

Propiedades: vehicle

Interfaz de VehicleWaypointMarkerCustomizationFunctionParams

Propiedades: waypointIndex

Interfaz de PolylineCustomizationFunctionParams

Propiedades: defaultOptions, isNew, polylines

Interfaz de ShipmentPolylineCustomizationFunctionParams

Propiedades: taskTrackingInfo

Interfaz de TripPolylineCustomizationFunctionParams

Propiedades: trip

Interfaz de VehiclePolylineCustomizationFunctionParams

Propiedades: vehicle

Interfaz de DeliveryVehiclePolylineCustomizationFunctionParams

Propiedades: deliveryVehicle

Entidades de Fleet Engine

Interfaz de tareas

Propiedades: attributes, estimatedCompletionTime, latestVehicleLocationUpdate, name, outcome, outcomeLocation, outcomeLocationSource, outcomeTime, plannedLocation, remainingVehicleJourneySegments, status, targetTimeWindow, trackingId, type, vehicleId

Interfaz TaskInfo

Propiedades: extraDurationMillis, id, targetTimeWindow

Interfaz TaskTrackingInfo

Propiedades: attributes, estimatedArrivalTime, estimatedTaskCompletionTime, latestVehicleLocationUpdate, name, plannedLocation, remainingDrivingDistanceMeters, remainingStopCount, routePolylinePoints, state, targetTimeWindow, taskOutcome, taskOutcomeTime, trackingId

Interfaz de viaje

Propiedades: actualDropOffLocation, actualPickupLocation, dropOffTime, latestVehicleLocationUpdate, name, passengerCount, pickupTime, plannedDropOffLocation, plannedPickupLocation, remainingWaypoints, status, type, vehicleId

Interfaz de DeliveryVehicle

Propiedades: attributes, currentRouteSegmentEndPoint, latestVehicleLocationUpdate, name, navigationStatus, remainingDistanceMeters, remainingDurationMillis, remainingVehicleJourneySegments

Interfaz de DeliveryVehicleStop

Propiedades: plannedLocation, state, tasks

Constantes de DeliveryVehicleStopState

Constantes: ARRIVED, ENROUTE, NEW, UNSPECIFIED

Interfaz de VehicleJourneySegment

Propiedades: drivingDistanceMeters, drivingDurationMillis, path, stop

Interfaz VehicleLocationUpdate

Propiedades: heading, location, speedKilometersPerHour, time

Interfaz de VehicleWaypoint

Propiedades: distanceMeters, durationMillis, location, path, speedReadingIntervals

Interfaz del vehículo

Propiedades: attributes, currentRouteSegmentEndPoint, currentRouteSegmentVersion, currentTrips, etaToFirstWaypoint, latestLocation, maximumCapacity, name, navigationStatus, remainingDistanceMeters, supportedTripTypes, vehicleState, vehicleType, waypoints, waypointsVersion

Constantes de VehicleNavigationStatus

Constantes: ARRIVED_AT_DESTINATION, ENROUTE_TO_DESTINATION, NO_GUIDANCE, OFF_ROUTE, UNKNOWN_NAVIGATION_STATUS

Constantes de VehicleState

Constantes: OFFLINE, ONLINE, UNKNOWN_VEHICLE_STATE

Constantes de VehicleType

Constantes: AUTO, TAXI, TRUCK, TWO_WHEELER, UNKNOWN

Constantes de TripType

Constantes: EXCLUSIVE, SHARED, UNKNOWN_TRIP_TYPE

Interfaz TripWaypoint

Propiedades: distanceMeters, durationMillis, location, path, speedReadingIntervals, tripId, waypointType

Constantes de WaypointType

Constantes: DROP_OFF_WAYPOINT_TYPE, INTERMEDIATE_DESTINATION_WAYPOINT_TYPE, PICKUP_WAYPOINT_TYPE, UNKNOWN_WAYPOINT_TYPE

Interfaz de TimeWindow

Propiedades: endTime, startTime

Constantes de velocidad

Constantes: NORMAL, SLOW, TRAFFIC_JAM

Interfaz SpeedReadingInterval

Propiedades: endPolylinePointIndex, speed, startPolylinePointIndex

Progreso del viaje y el pedido

Clase FleetEngineTripLocationProvider

Métodos estáticos: TRAFFIC_AWARE_ACTIVE_POLYLINE_CUSTOMIZATION_FUNCTION, TRAFFIC_AWARE_REMAINING_POLYLINE_CUSTOMIZATION_FUNCTION

Propiedades: tripId

Métodos: refresh

Eventos: error, update

Interfaz de FleetEngineTripLocationProviderOptions

Propiedades: activePolylineCustomization, authTokenFetcher, destinationMarkerCustomization, originMarkerCustomization, pollingIntervalMillis, projectId, remainingPolylineCustomization, takenPolylineCustomization, tripId, vehicleMarkerCustomization, waypointMarkerCustomization

Interfaz FleetEngineTripLocationProviderUpdateEvent

Propiedades: trip

Seguimiento de flota - Last Mile Fleet

Clase FleetEngineDeliveryVehicleLocationProvider

Propiedades: deliveryVehicleId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

Eventos: error, update

Interfaz de FleetEngineDeliveryVehicleLocationProviderOptions

Propiedades: activePolylineCustomization, authTokenFetcher, deliveryVehicleId, deliveryVehicleMarkerCustomization, plannedStopMarkerCustomization, pollingIntervalMillis, projectId, remainingPolylineCustomization, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, takenPolylineCustomization, taskFilterOptions, taskMarkerCustomization, taskOutcomeMarkerCustomization

Interfaz de FleetEngineTaskFilterOptions

Propiedades: completionTimeFrom, completionTimeTo, state

Interfaz FleetEngineDeliveryVehicleLocationProviderUpdateEvent

Propiedades: completedVehicleJourneySegments, deliveryVehicle, tasks

Clase FleetEngineDeliveryFleetLocationProvider

Propiedades: deliveryVehicleFilter, locationRestriction, staleLocationThresholdMillis

Eventos: update

Interfaz de FleetEngineDeliveryFleetLocationProviderOptions

Propiedades: authTokenFetcher, deliveryVehicleFilter, deliveryVehicleMarkerCustomization, locationRestriction, projectId, staleLocationThresholdMillis

Interfaz FleetEngineDeliveryFleetLocationProviderUpdateEvent

Propiedades: deliveryVehicles

Seguimiento de flota: On Demand Rides & Delivery

Clase FleetEngineVehicleLocationProvider

Métodos estáticos: TRAFFIC_AWARE_ACTIVE_POLYLINE_CUSTOMIZATION_FUNCTION, TRAFFIC_AWARE_REMAINING_POLYLINE_CUSTOMIZATION_FUNCTION

Propiedades: staleLocationThresholdMillis, vehicleId

Eventos: error, update

Interfaz de FleetEngineVehicleLocationProviderOptions

Propiedades: activePolylineCustomization, authTokenFetcher, destinationMarkerCustomization, intermediateDestinationMarkerCustomization, originMarkerCustomization, pollingIntervalMillis, projectId, remainingPolylineCustomization, staleLocationThresholdMillis, takenPolylineCustomization, vehicleId, vehicleMarkerCustomization

Interfaz de FleetEngineVehicleLocationProviderUpdateEvent

Propiedades: trips, vehicle

Clase FleetEngineFleetLocationProvider

Propiedades: locationRestriction, staleLocationThresholdMillis, vehicleFilter

Eventos: update

Interfaz de FleetEngineFleetLocationProviderOptions

Propiedades: authTokenFetcher, locationRestriction, projectId, staleLocationThresholdMillis, vehicleFilter, vehicleMarkerCustomization

Interfaz de FleetEngineFleetLocationProviderUpdateEvent

Propiedades: vehicles

Seguimiento de envíos

Clase FleetEngineShipmentLocationProvider

Propiedades: trackingId

Métodos: refresh

Eventos: error, update

Interfaz de FleetEngineShipmentLocationProviderOptions

Propiedades: activePolylineCustomization, authTokenFetcher, deliveryVehicleMarkerCustomization, destinationMarkerCustomization, pollingIntervalMillis, projectId, remainingPolylineCustomization, takenPolylineCustomization, trackingId

Interfaz FleetEngineShipmentLocationProviderUpdateEvent

Propiedades: taskTrackingInfo

Interfaces de biblioteca

Interfaces de biblioteca

Interfaz de CoreLibrary

Propiedades: ColorScheme, ControlPosition, event, LatLng, LatLngAltitude, LatLngBounds, MapsNetworkError, MapsNetworkErrorEndpoint, MapsRequestError, MapsServerError, MVCArray, MVCObject, Orientation3D, Point, RPCStatus, Settings, Size, SymbolPath, UnitSystem, Vector3D

Interfaz de MapsLibrary

Propiedades: BicyclingLayer, Circle, Data, FeatureType, GroundOverlay, ImageMapType, InfoWindow, KmlLayer, KmlLayerStatus, Map, MapElement, MapTypeControlStyle, MapTypeId, MapTypeRegistry, MaxZoomService, MaxZoomStatus, OverlayView, Polygon, Polyline, Rectangle, RenderingType, StrokePosition, StyledMapType, TrafficLayer, TransitLayer, WebGLOverlayView, ZoomChangeEvent

BetaInterfaz Maps3DLibrary

Propiedades: AltitudeMode, LocationClickEvent, Map3DElement, MapMode, Marker3DElement, Marker3DInteractiveElement, Model3DElement, Model3DInteractiveElement, PlaceClickEvent, Polygon3DElement, Polygon3DInteractiveElement, Polyline3DElement, Polyline3DInteractiveElement, PopoverElement, SteadyChangeEvent

Interfaz de PlacesLibrary

Propiedades: AccessibilityOptions, AddressComponent, Attribution, AuthorAttribution, Autocomplete, AutocompleteService, AutocompleteSessionToken, AutocompleteSuggestion, BusinessStatus, ConnectorAggregation, EVChargeOptions, EVConnectorType, FormattableText, FuelOptions, FuelPrice, FuelType, GoogleMapsLinks, Money, OpeningHours, OpeningHoursPeriod, OpeningHoursPoint, ParkingOptions, PaymentOptions, Photo, Place, PlaceContextualElement, PlaceContextualListConfigElement, PlaceContextualListLayout, PlaceContextualListMapMode, PlacePrediction, PlacesService, PlacesServiceStatus, PlusCode, PostalAddress, PriceLevel, PriceRange, RankBy, Review, SearchBox, SearchByTextRankPreference, SearchNearbyRankPreference, StringRange

Interfaz de GeocodingLibrary

Propiedades: Containment, ExtraGeocodeComputation, Geocoder, GeocoderLocationType, GeocoderStatus, SpatialRelationship

Interfaz de RoutesLibrary

Propiedades: DirectionsRenderer, DirectionsService, DirectionsStatus, DistanceMatrixElementStatus, DistanceMatrixService, DistanceMatrixStatus, TrafficModel, TransitMode, TransitRoutePreference, TravelMode, VehicleType

Interfaz de MarkerLibrary

Propiedades: AdvancedMarkerClickEvent, AdvancedMarkerElement, Animation, CollisionBehavior, Marker, PinElement

Interfaz de GeometryLibrary

Propiedades: encoding, poly, spherical

Interfaz de ElevationLibrary

Propiedades: ElevationService, ElevationStatus

Interfaz de StreetViewLibrary

Propiedades: InfoWindow, OverlayView, StreetViewCoverageLayer, StreetViewPanorama, StreetViewPreference, StreetViewService, StreetViewSource, StreetViewStatus

Interfaz de JourneySharingLibrary

Propiedades: AutomaticViewportMode, DeliveryVehicleStopState, FleetEngineDeliveryFleetLocationProvider, FleetEngineDeliveryVehicleLocationProvider, FleetEngineFleetLocationProvider, FleetEngineServiceType, FleetEngineShipmentLocationProvider, FleetEngineTripLocationProvider, FleetEngineVehicleLocationProvider, JourneySharingMapView, Speed, TripType, VehicleNavigationStatus, VehicleState, VehicleType, WaypointType

Interfaz DrawingLibrary

Propiedades: DrawingManager, OverlayType

Interfaz de VisualizationLibrary

Propiedades: HeatmapLayer

Interfaz de AirQualityLibrary

Propiedades: AirQualityMeterElement

BetaInterfaz de AddressValidationLibrary

Propiedades: BetaAddress, BetaAddressComponent, BetaAddressMetadata, BetaAddressValidation, BetaConfirmationLevel, BetaGeocode, BetaGranularity, BetaPossibleNextAction, BetaUSPSAddress, BetaUSPSData, BetaVerdict