Google Maps JavaScript API V3 Reference

Última actualización: martes 6 de diciembre de 2022

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

Para obtener información adicional, consulta las notas de la versión y el Control de versiones.
También consulta 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 de 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

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

BetaInterfaz de RoutesLibrary

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

BetaInterfaz de LibraryLibrary

Propiedades: AdvancedMarkerView, Animation, CollisionBehavior, Marker, PinView

BetaInterfaz de GeometryLibrary

Propiedades: encoding, poly, spherical

BetaInterfaz de 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 VisualizationLibrary

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 EventEventListener

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_LOCAL_CONTEXT_SEARCH, PLACES_LOCAL_CONTEXT_SEARCH,

Maps

Maps

Clase del mapa

Propiedades: controls, data, mapTypes, overlayMapTypes

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

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

Interfaz de MapOptions

Propiedades: backgroundColor, center, , disableDefaultUI, disableDefaultUI, , , , , , ,

Interfaz de MapTypeStyle

Propiedades: elementType, featureType, 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 TrafficTraffic

Métodos: getMap, setMap, setOptions

Interfaz TrafficTrafficOptions

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

BetaInterfaz de MapCapabilities

Propiedades: isAdvancedMarkersAvailable, isDataDrivenStylingAvailable

WebGL

Clase WebGLOverlayView

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

Interfaz de WebGLDrawOptions

Propiedades: gl, transformer

Interfaz de WebGLStateOptions

Propiedades: gl

Interfaz de CoordinateTransformer

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 LatLngBounds Literal

Propiedades: east, north, south, west

Clase LatLngAltitude

Propiedades: altitude, lat, lng

Métodos: equals, toJSON

Interfaz LatLngAltitudeLiteral

Propiedades: altitude, lat, lng

Clases de puntos

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

Diseño basado en datos (beta)

BetaInterfaz de FeatureLayer

Propiedades: featureType, isAvailable, style

Métodos: addListener

BetaConstantes de FeatureType

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 funciones

Propiedades: featureType

BetaInterfaz de PlaceFeature

Propiedades: displayName, placeId

BetaInterfaz de FeatureMouseEvent

Propiedades: features

Controles

Interfaz FullScreenControlOptions

Propiedades: position

Interfaz de MapTypeControlOptions

Propiedades: mapTypeIds, position, style

Constantes de MapTypeControlStyle

Constantes: DEFAULT, DROPDOWN_MENU, HORIZONTAL_BAR

Interfaz de MotionTrackingControlOptions

Propiedades: position

Interfaz PanControlOptions

Propiedades: position

Interfaz RotarControlOptions

Propiedades: position

Interfaz de ScaleControlOptions

Propiedades: style

Constantes de ScaleControlStyle

Constantes: DEFAULT

Interfaz de StreetViewControlOptions

Propiedades: position

Interfaz ZoomControlOptions

Propiedades: position

Constantes 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, setClickable, {25/, , ,

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

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

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

Interfaz InfoWindowOpenOptions

Propiedades: anchor, map, 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 de PolylineOptions

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

Interfaz de IconSequence

Propiedades: fixedRotation, icon, offset, repeat

Clase de polígono

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 rectangular

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 de Data.DataOptions

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

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

Propiedades: geometry, id, 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, oldGeometry

Interfaz Data.SetPropertyEvent

Propiedades: feature, name, newValue, oldValue

Interfaz de 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 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 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 de 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 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, 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 de 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 de StreetViewPanoramaOptions

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

Interfaz de StreetViewAddressControlOptions

Propiedades: position

Interfaz PanoProviderOptions

Propiedades: cors

Interfaz de 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, 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, OUTDOOR

Interfaz de StreetViewPanoramaData

Propiedades: copyright, imageDate, links, location, tiles

Propiedades: description, heading, pano

Places

Widgets de Places

Clase Autocomplete

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

Eventos: place_changed

Interfaz de AutocompleteOptions

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

Métodos: getBounds, getPlaces, setBounds

Eventos: places_changed

Interfaz SearchBoxOptions

Propiedades: bounds

Lugar (Beta)

BetaClase del lugar

Métodos estáticos: findPlaceFromPhoneNumber, findPlaceFromQuery

:

Métodos: fetchFields, getNextOpeningTime, isOpen

BetaInterfaz de PlaceOptions

Propiedades: id, requestedLanguage, requestedRegion

BetaClase AddressComponent

Propiedades: longText, shortText, types

BetaClase de atribución

Propiedades: provider, providerURI

BetaInterfaz de fetchFieldsRequest

Propiedades: fields, sessionToken

BetaClase de OpeningHours

Propiedades: periods, weekdayDescriptions

BetaClase OpeningHoursPeriod

Propiedades: close, open

BetaClase OpeningHoursPoint

Propiedades: day, hour, minute

BetaClase de la foto

Propiedades: attributions, heightPx, widthPx

Métodos: getURI

BetaClase PhotoAttribution

Propiedades: author, authorURI

BetaClase PlusCode

Propiedades: compoundCode, globalCode

BetaRevisar la clase

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

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

LocationBias typedef;
Tipo de restricción de ubicación
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, website, , , ,

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 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 Autocompletar

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

Interfaz de AutocompleteResponse

Propiedades: predictions

Interfaz de QueryAutocompletionRequest

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

Geocoder

Clase de geocodificador

Métodos: geocode

Interfaz de GeocoderRequest

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

Interfaz de GeoGeorComponentRestrictions

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 GeoGeorResult

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

Interfaz de GeoGeorAddressComponent

Propiedades: long_name, short_name, 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 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, 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, types

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

Propiedades: points

Interfaz de lugar

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

Propiedades: text, time_zone, value

Constantes de TravelTravel Mode
Constantes del sistema DirectionsUnit

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, 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 de LocationLocationRequest

Propiedades: locations

Interfaz de LocationLocationResponse

Propiedades: results

Interfaz de PathElevationRequest

Propiedades: path, samples

Interfaz de PathElevationResponse

Propiedades: results

Interfaz de ElevationResult

Propiedades: elevation, location, 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 de LocalContextMapViewOptions

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

BetaTipo de PlaceTypePreference
BetaClase MapDirectionsOptions

Métodos: addListener

BetaInterfaz de MapDirectionsOptionsLiteral

Propiedades: origin

BetaInterfaz PinOptions

Propiedades: background, glyphColor, 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, 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

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 SurveyingLocationProviderIsPollingChangeEvent

Propiedades: error

Autenticación

BetaInterfaz de AuthToken

Propiedades: expiresInSeconds, token

BetaInterfaz de AuthTokenContext

Propiedades: deliveryVehicleId, taskId, trackingId, tripId, vehicleId

BetaAuthTokenFetcher typedef
BetaInterfaz de 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

BetaTypeSetup typedef
BetaInterfaz MarkerSetupOptions

Propiedades: markerOptions

BetaInterfaz de DefaultMarkerSetupOptions

Propiedades: defaultMarkerOptions

BetaInterfaz MarkerCustomizationFunctionParams

Propiedades: defaultOptions, isNew, marker

BetaInterfaz de DeliveryVehicleMarkerCustomizationFunctionParams

Propiedades: vehicle

BetaInterfaz PlannedStopMarkerCustomizationFunctionParams

Propiedades: stopIndex

BetaInterfaz de TaskMarkerCustomizationFunctionParams

Propiedades: task

BetaInterfaz de ShipmentMarkerCustomizationFunctionParams

Propiedades: task

BetaInterfaz de TripMarkerCustomizationFunctionParams

Propiedades: trip

BetaInterfaz de TripWaypointMarkerCustomizationFunctionParams

Propiedades: waypointIndex

Entidades de flota de motores

BetaInterfaz de 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 VeVecleLocationUpdate

Propiedades: heading, location, speedKilometersPerHour, time

BetaInterfaz de VehicleWaypoint

Propiedades: distanceMeters, durationMillis, location, path

Progreso del viaje y el pedido

BetaClase FleetEngineTripLocationProvider

Propiedades: tripId

Métodos: refresh

Eventos: error, update

BetaInterfaz FleetEngineTripLocationProviderOptions

Propiedades: authTokenFetcher, destinationMarkerCustomization, originMarkerCustomization, pollingIntervalMillis, projectId, tripId, vehicleMarkerCustomization, waypointMarkerCustomization

BetaInterfaz FleetEngineTripLocationProviderUpdateEvent

Propiedades: trip

Seguimiento de 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, state

BetaInterfaz FleetEngineDeliveryVehicleLocationProviderUpdateEvent

Propiedades: completedVehicleJourneySegments, deliveryVehicle, tasks

BetaClase FleetEngineDeliveryFleetLocationProvider

Propiedades: deliveryVehicleFilter, locationRestriction, pollingIntervalMillis, staleLocationThresholdMillis

Eventos: update

BetaInterfaz FleetEngineDeliveryFleetLocationProviderOptions

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

BetaInterfaz FleetEngineDeliveryFleetLocationProviderUpdateEvent

Propiedades: deliveryVehicles

Envío de envíos

BetaClase FleetEngineShipmentLocationProvider

Propiedades: trackingId

Métodos: getTask, refresh

Eventos: error, update

BetaInterfaz FleetEngineShipmentLocationProviderOptions

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

BetaInterfaz FleetEngineShipmentLocationProviderUpdateEvent

Propiedades: task