Google Maps JavaScript API V3 Reference

Organiza tus páginas con colecciones Guarda y categoriza el contenido según tus preferencias.

Última actualización: lunes 21 de noviembre de 2022

Este es un índice de todas las clases, los métodos y las interfaces de la versión 3.51 de la API de Maps JavaScript (canal semanal). Esta referencia se mantiene actualizada con los últimos cambios en la API.

Para obtener información adicional, consulta las Notas de la versión y el Control de versiones.
Consulta también la documentación de referencia de la versión 3.50 (canal trimestral), la versión 3.49 y la versión 3.48.

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

Conceptos globales

google.maps.

espacio de nombres de google.maps

Métodos estáticos: BetaimportLibrary

Constantes: version

BetaInterfaz CoreLibrary

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

BetaInterfaz de MapsLibrary

Propiedades: BicyclingLayer, Circle, Data, FeatureType, GroundOverlay, ImageMapType, InfoWindow, KmlLayer, KmlLayerStatus, Map, MapTypeControlStyle, MapTypeId, MapTypeRegistry, MaxZoomService, MaxZoomStatus, OverlayView, 2, 2, 2

BetaInterfaz de PlacesLibrary

Propiedades: AddressComponent, Attribution, Autocomplete, AutocompleteService, AutocompleteSessionToken, BusinessStatus, OpeningHours, OpeningHoursPeriod, OpeningHoursPoint, Photo, PhotoAttribution, Place, PlacesService, PlacesServiceStatus, PlusCode, RankBy, Review, SearchBox

BetaInterfaz de GeocodingLibrary

Propiedades: Geocoder, GeocoderLocationType y GeocoderStatus

BetaInterfaz de RoutesLibrary

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

BetaInterfaz de MarkerLibrary

Propiedades: AdvancedMarkerView, Animation, CollisionBehavior, Marker, PinView

BetaInterfaz de GeometryLibrary

Propiedades: encoding, poly y spherical

BetaInterfaz ElevationLibrary

Propiedades: ElevationService, ElevationStatus

BetaInterfaz de StreetViewLibrary

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

BetaInterfaz de JourneySharingLibrary

Propiedades: AutomaticViewportMode, FleetEngineDeliveryFleetLocationProvider, FleetEngineDeliveryVehicleLocationProvider, FleetEngineServiceType, FleetEngineShipmentLocationProvider, FleetEngineTripLocationProvider, JourneySharingMapView

BetaInterfaz de DrawingLibrary

Propiedades: DrawingManager, OverlayType

BetaInterfaz de visualizacióntionLibrary

Propiedades: HeatmapLayer

Configuración (Beta)

BetaClase de configuración

Métodos estáticos: BetagetInstance

Propiedades: BetaexperienceIds

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 y 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 de ServerServerError
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_FIND_PLACE_FROM_PHONE_NUMBER, PLACES_LOCAL_CONTEXT_SEARCH, PLACES_LOCAL_CONTEXT_SEARCH

Maps

Maps

Clase de mapa

Propiedades: controls, data, mapTypes, overlayMapTypes

Métodos: fitBounds, getBounds, getCenter, getClickableIcons, getDiv, BetagetFeatureLayer, getHeading, BetagetMapCapabilities, getMapTypeId, getProjection, getRenderingType, getStreetView, getTilt, getZoom, moveCamera, {18/, 2

Constantes: DEMO_MAP_ID

Eventos: bounds_changed, center_changed, click, contextmenu, dblclick, drag, dragend, dragstart, heading_changed, idle, isfractionalzoomenabled_changed, Betamapcapabilities_changed, maptypeid_changed, mousemove, mouseout, tilesloaded, tilesloaded,

Interfaz de MapOptions

2.

Interfaz de MapTypeStyle

Propiedades: elementType, featureType y stylers

Interfaz de MapMouseEvent

Propiedades: domEvent, latLng

Métodos: stop

Interfaz de IconMouseEvent

Propiedades: placeId

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 TrafficLayerOptions

Propiedades: autoRefresh, map

Clase TransitLayer

Métodos: getMap, setMap

Clase BicyclingLayer

Métodos: getMap, setMap

BetaInterfaz CameraOptions

Propiedades: center, heading, tilt, zoom

Interfaz visibleVisible

Propiedades: farLeft, farRight, latLngBounds, nearLeft, nearRight

Constantes de Tipo de renderización

Constantes: RASTER, UNINITIALIZED, VECTOR

BetaInterfaz de MapCapabilities

Propiedades: isAdvancedMarkersAvailable, isDataDrivenStylingAvailable

WebGL

Clase WebGLOverlayView

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

Interfaz WebGLDrawOptions

Propiedades: gl, transformer

Interfaz de WebGL StateOptions

Propiedades: gl

Interfaz de Coordinate

Métodos: fromLatLngAltitude, getCameraParams

Interfaz de CameraParams

Propiedades: center, heading, tilt, zoom

Coordenadas

Clase LatLng

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

Interfaz de 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 y lng

Métodos: equals, toJSON

Interfaz LatLngAltitudeLiteral

Propiedades: altitude, lat y lng

Clase puntual

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

Estilo basado en datos (Beta)

BetaInterfaz de featureLayer

Propiedades: featureType, isAvailable y style

Métodos: addListener

BetaConstantes de TypeType

Constantes: ADMINISTRATIVE_AREA_LEVEL_1, ADMINISTRATIVE_AREA_LEVEL_2, ADMINISTRATIVE_AREA_LEVEL_3, ADMINISTRATIVE_AREA_LEVEL_4, COUNTRY, LOCALITY, NEIGHBORHOOD, POSTAL_CODE, SUBLOCALITY_LEVEL_1

BetaFeatureStyleFunction typedef
BetaInterfaz FeatureStyleFunctionOptions

Propiedades: feature

BetaInterfaz FeatureStyleOptions

Propiedades: fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWeight

BetaInterfaz de función

Propiedades: featureType

BetaInterfaz de PlaceFeature

Propiedades: displayName, placeId

BetaInterfaz de FeatureMouseEvent

Propiedades: features

Controles

Interfaz FullscreenControlOptions

Propiedades: position

Interfaz de MapTypeControlOptions

Propiedades: mapTypeIds, position y style

Constantes de MapTypeControlStyle

Constantes: DEFAULT, DROPDOWN_MENU, HORIZONTAL_BAR

Interfaz MotionTrackingControlOptions

Propiedades: position

Interfaz de PanControlOptions

Propiedades: position

Interfaz RotarControlOptions

Propiedades: position

Interfaz ScaleControlOptions

Propiedades: style

Constantes de ScaleControlStyle

Constantes: DEFAULT

Interfaz StreetViewControlOptions

Propiedades: position

Interfaz ZoomControlOptions

Propiedades: position

Constantes de ControlPosition

Constantes: BOTTOM_CENTER, BOTTOM_LEFT, BOTTOM_RIGHT, LEFT_BOTTOM, LEFT_CENTER, LEFT_TOP, RIGHT_BOTTOM, RIGHT_CENTER, RIGHT_TOP, TOP_CENTER, TOP_LEFT, TOP_RIGHT

Biblioteca de geometría

espacio de nombres de codificación

Métodos estáticos: decodePath, encodePath

espacio de nombres esférico

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

espacio de nombres Poly

Métodos estáticos: containsLocation, isLocationOnEdge

Cómo dibujar en el mapa

Marker

Clase de marcador

Métodos: getAnimation, getClickable, getCursor, getDraggable, getIcon, getLabel, getMap, getOpacity, getPosition, getShape, getTitle, getVisible, getZIndex, setAnimation, setLabel, {2, ,

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, title_changed, title_changed,

Interfaz MarkerOptions

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

BetaConstantes 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 de 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

Marcadores avanzados (Beta)

BetaClase AdvancedMarkerView

Propiedades: collisionBehavior, content, draggable, element, map, position, title, zIndex

Métodos: addListener

Eventos: click, drag, dragend, dragstart

BetaInterfaz de AdvancedMarkerViewOptions

Propiedades: collisionBehavior, content, draggable, element, map, position, title, zIndex

BetaClase PinView

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

Métodos: addListener

BetaInterfaz PinViewOptions

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

Ventana de información

Clase InfoWindow

Métodos: close, focus, getContent, getPosition, getZIndex, open, setContent, setOptions, setPosition, setZIndex

Eventos: closeclick, content_changed, domready, position_changed, visible, zindex_changed

Interfaz de InfoWindowOptions

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

Interfaz de InfoWindowOpenOptions

Propiedades: anchor, map y shouldFocus

Polígonos

Clase de polilínea

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 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 y vertex

Clase de rectángulo

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 de círculo

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,

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

Interfaz DataData.DataOptions

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

Interfaz de 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 y toGeoJson

Eventos: removeproperty, setgeometry, setproperty

Interfaz DataData.FeatureOptions

Propiedades: geometry, id y properties

Interfaz de 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 de Data.MouseEvent

Propiedades: feature

Interfaz Data.AddFeatureEvent

Propiedades: feature

Interfaz Data.RemoveFeatureEvent

Propiedades: feature

Interfaz de Data.SetGeometryEvent

Propiedades: feature, newGeometry y oldGeometry

Interfaz Data.SetPropertyEvent

Propiedades: feature, name, newValue, oldValue

Interfaz de Data.RemovePropertyEvent

Propiedades: feature, name y oldValue

Elementos del DOM

Clase OverlayView

Métodos estáticos: preventMapHitsAndGesturesFrom, preventMapHitsFrom

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

Interfaz de PanPanes

Propiedades: floatPane, mapPane, markerLayer, overlayLayer, overlayMouseTarget

Interfaz de 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 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 EventKmlMouse

Propiedades: featureData, latLng y pixelOffset

Interfaz de KmlFeatureData

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

Interfaz de KmlAuthor

Propiedades: email, name y 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 de ImageMapTypeOptions

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

Clase GroundOverlay

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

Eventos: click, dblclick

Interfaz GroundOverlayOptions

Propiedades: clickable, map y opacity

Clase StyledMapType

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

Métodos: getTile, releaseTile

Interfaz de styledMapTypeOptions

Propiedades: alt, maxZoom, minZoom, name

Biblioteca de dibujos

Clase DrawingManager

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

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

Interfaz de DrawingManagerOptions

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

Interfaz de DrawingControlOptions

Propiedades: drawingModes, position

Interfaz OverlayCompleteEvent

Propiedades: overlay, type

Constantes de 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 de WeightedLocation

Propiedades: location, weight

Zoom máximo

Clase MaxZoomService

Métodos: getMaxZoomAtLatLng

Interfaz MaxZoomResult

Propiedades: status, zoom

Constantes de MaxZoomStatus

Constantes: ERROR, OK

Street View

Procesamiento

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,

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

Interfaz StreetViewPanoramaOptions

Propiedades: addressControl, addressControlOptions, clickToGo, controlSize, disableDefaultUI, disableDoubleClickZoom, enableCloseButton, fullscreenControl, fullscreenControlOptions, imageDateControl, linksControl, motionTracking, motionTrackingControl, motionTrackingControlOptions, panControl, pov, 2, 2

Interfaz StreetViewAddressControlOptions

Propiedades: position

Interfaz PanoProviderOptions

Propiedades: cors

Interfaz de TileTileData

Propiedades: centerHeading, tileSize y worldSize

Métodos: getTileUrl

Interfaz de StreetViewPov

Propiedades: heading, pitch

Clase StreetViewCoberturaLayer

Métodos: getMap, setMap

Servicio

Clase StreetViewService

Métodos: getPanorama

Constantes StreetViewStatus

Constantes: OK, UNKNOWN_ERROR, ZERO_RESULTS

Interfaz de StreetViewLocationRequest

Propiedades: location, preference, radius, source

Interfaz de StreetViewPanoRequest

Propiedades: pano

Interfaz de StreetViewResponse

Propiedades: data

Interfaz de StreetViewLocation

Propiedades: description, latLng, pano, shortDescription

Constantes StreetViewPreference

Constantes: BEST, NEAREST

Constantes StreetViewSource

Constantes: DEFAULT, OUTDOOR

Interfaz de StreetViewPanoramaData

Propiedades: copyright, imageDate, links, location, tiles

Propiedades: description, heading y pano

Places

Widgets de Places

Clase Autocomplete

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

Eventos: place_changed

Interfaz de AutocompleteOptions

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

Métodos: getBounds, getPlaces, setBounds

Eventos: places_changed

Interfaz de SearchBoxOptions

Propiedades: bounds

Lugar (Beta)

BetaClase del lugar

Métodos estáticos: findPlaceFromPhoneNumber, findPlaceFromQuery

Propiedades: addressComponents, adrFormatAddress, attributions, businessStatus, displayName, formattedAddress, googleMapsURI, icon, iconBackgroundColor, id, internationalPhoneNumber, location, nationalPhoneNumber, openingHours, requestedLanguage, 2, 2, 2, 2

Métodos: fetchFields, getNextOpeningTime, isOpen

BetaInterfaz de PlaceOptions

Propiedades: id, requestedLanguage y requestedRegion

BetaClase AddressComponent

Propiedades: longText, shortText y types

BetaClase de atribución

Propiedades: provider, providerURI

BetaInterfaz de fetchFieldsRequest

Propiedades: fields, sessionToken

BetaClases de apertura

Propiedades: periods, weekdayDescriptions

BetaClase OpeningHoursPeriod

Propiedades: close, open

BetaClase OpeningHoursPoint

Propiedades: day, hour y minute

BetaClase de foto

Propiedades: attributions, heightPx y widthPx

Métodos: getURI

BetaClase PhotoAttribution

Propiedades: author, authorURI

BetaClase PlusCode

Propiedades: compoundCode, globalCode

BetaClase de opinión

Propiedades: author, authorPhotoURI, authorURI, publishTime, rating, relativePublishTimeDescription, text, textLanguageCode

Servicio de 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

LocationBias typedef;
LocationRestriction typedef:
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, rating, 2, 2, 2, 2

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 y 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 y 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 de Place Autocomplete

Clase AutocompleteService

Métodos: getPlacePredictions, getQueryPredictions

Interfaz de AutocompletionRequest

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

Interfaz de AutocompleteResponse

Propiedades: predictions

Interfaz de QueryAutocompletion

Propiedades: bounds, input, location, offset, radius

Clase AutocompleteSessionToken
Interfaz de 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 de PredictionSubstring

Propiedades: length, offset

Interfaz de formato estructurado

Propiedades: main_text, main_text_matched_substrings y secondary_text

Geocoder

Clase de geocodificador

Métodos: geocode

Interfaz de GeocoderRequest

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

Interfaz de GeoCoderComponentRestrictions

Propiedades: administrativeArea, country, locality, postalCode, route

Constantes de GeocoderStatus

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

Interfaz de GeocoderResponse

Propiedades: results

Interfaz de GeocoderResult

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

Interfaz de GeoCoderAddressComponent

Propiedades: long_name, short_name y types

Interfaz de GeoGeorGeometry

Propiedades: bounds, location, location_type, viewport

Constantes de GeocoderLocationType

Constantes: APPROXIMATE, GEOMETRIC_CENTER, RANGE_INTERPOLATED, ROOFTOP

Routes

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 y routes

Clase DirectionsRenderer

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

Eventos: directions_changed

Interfaz 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 y types

Interfaz de DirectionsRoute

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

Interfaz 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 PolyPolyline

Propiedades: points

Interfaz de lugar

Propiedades: location, placeId y 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 Transit Fare

Propiedades: currency, 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 y 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 SystemSystem

Constantes: IMPERIAL, METRIC

Interfaz de distancia

Propiedades: text, value

Interfaz de duración

Propiedades: text, value

Interfaz de tiempo

Propiedades: text, time_zone y 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 de DistanceMatrixResponse

Propiedades: destinationAddresses, originAddresses y rows

Interfaz de DistanceMatrixResponseRow

Propiedades: elements

Interfaz de 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 LocationElevationRequest

Propiedades: locations

Interfaz de LocationElevationResponse

Propiedades: results

Interfaz PathElevationRequest

Propiedades: path, samples

Interfaz PathElevationResponse

Propiedades: results

Interfaz de ElevationResult

Propiedades: elevation, location y resolution

Constantes de ElevationStatus

Constantes: INVALID_REQUEST, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR

Contexto local (beta)

Vista del mapa

BetaClase LocalContextMapView

Propiedades: directionsOptions, element, isTransitioningMapBounds, locationBias, locationRestriction, maxPlaceCount, placeTypePreferences

Métodos: addListener, hidePlaceDetailsView, search

Eventos: error, placedetailsviewhidestart, placedetailsviewshowstart

BetaInterfaz LocalContextMapViewOptions

Propiedades: directionsOptions, element, locationBias, locationRestriction, map, maxPlaceCount, pinOptionsSetup, placeChooserViewSetup, placeDetailsViewSetup, placeTypePreferences

BetaPlaceTypePreference typedef
BetaClase MapDirectionsOptions

Métodos: addListener

BetaInterfaz de MapDirectionsOptionsLiteral

Propiedades: origin

BetaInterfaz PinOptions

Propiedades: background, glyphColor y scale

Interfaz de PlaceChooserViewSetupOptions

Propiedades: layoutMode, position

BetaConstantes de PlaceChooserLayoutMode

Constantes: HIDDEN, SHEET

BetaConstantes de PlaceChooserPosition

Constantes: BLOCK_END, INLINE_END, INLINE_START

Interfaz de PlaceDetailsViewSetupOptions

Propiedades: hidesOnMapClick, layoutMode y position

BetaConstantes de PlaceDetailsLayoutMode

Constantes: INFO_WINDOW, SHEET

BetaConstantes de PlaceDetailsPosition

Constantes: INLINE_END, INLINE_START

Viajes compartidos (beta)

Vista del mapa

BetaClase JourneySharingMapView

Propiedades: anticipatedRoutePolylines, anticipatedRoutePolylineSetup, automaticViewportMode, element, enableTraffic, locationProvider, map, mapOptions, takenRoutePolylines, takenRoutePolylineSetup, destinationMarkerSetup, originMarkerSetup, pingMarkerSetup, successfulTaskMarkerSetup, taskOutcomeMarkerSetup, unsuccessfulTaskMarkerSetup, 2, 2, 2

BetaInterfaz de JourneySharingMapViewOptions

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

BetaConstantes de AutomaticViewportMode

Constantes: FIT_ANTICIPATED_ROUTE, NONE

BetaClase abstracta de LocationProvider

Métodos: addListener

BetaClase abstracta de PollingLocationProvider

Propiedades: isPolling

Eventos: ispollingchange

BetaInterfaz de PollingLocationProviderIsPollingChangeEvent

Propiedades: error

Autenticación

BetaInterfaz de AuthToken

Propiedades: expiresInSeconds, token

BetaInterfaz AuthTokenContext

Propiedades: deliveryVehicleId, taskId, trackingId, tripId, vehicleId

BetaAuthTokenFetcher typedef
BetaInterfaz AuthTokenFetcherOptions

Propiedades: context, serviceType

BetaConstantes de FleetEngineServiceType

Constantes: DELIVERY_VEHICLE_SERVICE, TASK_SERVICE, TRIP_SERVICE, UNKNOWN_SERVICE

Personalización de la IU

BetaPolylineSetup typedef
BetaInterfaz de PolylineSetupOptions

Propiedades: polylineOptions, visible

BetaInterfaz de DefaultPolylineSetupOptions

Propiedades: defaultPolylineOptions, defaultVisible

BetaMarkerSetup typedef
BetaInterfaz de MarkerSetupOptions

Propiedades: markerOptions

BetaInterfaz de DefaultMarkerSetupOptions

Propiedades: defaultMarkerOptions

BetaInterfaz MarkerCustomizationFunctionParams

Propiedades: defaultOptions, isNew y marker

BetaInterfaz de DeliveryVehicleMarkerCustomizationFunctionParams

Propiedades: vehicle

BetaInterfaz de PlannedStopMarkerCustomizationFunctionParams

Propiedades: stopIndex

BetaInterfaz de TaskMarkerCustomizationFunctionParams

Propiedades: task

BetaInterfaz de ShipmentMarkerCustomizationFunctionParams

Propiedades: task

Entidades de Fleet Engine

BetaInterfaz de la tarea

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

BetaInterfaz de viaje

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

BetaInterfaz de DeliveryVehicle

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

BetaInterfaz de VehicleJourneySegment

Propiedades: distanceMeters, durationMillis, extraDurationMillis, location, path

BetaInterfaz VehicleLocationUpdate

Propiedades: heading, location, speedKilometersPerHour, time

BetaInterfaz de VehicleWaypoint

Propiedades: distanceMeters, durationMillis, location, path

Progreso del viaje y pedido

BetaClase FleetEngineTripLocationProvider

Propiedades: tripId

Métodos: refresh

Eventos: error, update

BetaInterfaz FleetEngineTripLocationProviderOptions

Propiedades: authTokenFetcher, pollingIntervalMillis, projectId, tripId

BetaInterfaz FleetEngineTripLocationProviderUpdateEvent

Propiedades: trip

Seguimiento de la flota

BetaClase FleetEngineDeliveryVehicleLocationProvider

Propiedades: deliveryVehicleId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

Eventos: error, update

BetaInterfaz FleetEngineDeliveryVehicleLocationProviderOptions

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

BetaInterfaz FleetEngineTaskFilterOptions

Propiedades: completionTimeFrom, completionTimeTo y state

BetaInterfaz FleetEngineDeliveryVehicleLocationProviderUpdateEvent

Propiedades: completedVehicleJourneySegments, deliveryVehicle y tasks

BetaClase FleetEngineDeliveryFleetLocationProvider

Propiedades: deliveryVehicleFilter, locationRestriction, pollingIntervalMillis, staleLocationThresholdMillis

Eventos: update

BetaInterfaz FleetEngineDeliveryFleetLocationProviderOptions

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

BetaInterfaz FleetEngineDeliveryFleetLocationProviderUpdateEvent

Propiedades: deliveryVehicles

Seguimiento del envío

BetaClase FleetEngineShipmentLocationProvider

Propiedades: trackingId

Métodos: getTask, refresh

Eventos: error, update

BetaInterfaz FleetEngineShipmentLocationProviderOptions

Propiedades: authTokenFetcher, deliveryVehicleMarkerCustomization, destinationMarkerCustomization, pollingIntervalMillis, projectId, trackingId

BetaInterfaz FleetEngineShipmentLocationProviderUpdateEvent

Propiedades: task