Google Maps JavaScript API V3 Reference

Última actualización: miércoles 31 de mayo de 2023

Este es un índice de todas las clases, las interfaces y los métodos de la versión 3.53 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.52 (canal trimestral), la versión 3.51 y la versión 3.50.

Haga 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

Interfaz de CoreLibrary

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

Interfaz de Biblioteca de mapas

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

Interfaz de PlacesLibrary

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

Interfaz de GeocodingLibrary

Propiedades: Geocoder, GeocoderLocationType, GeocoderStatus

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, FleetEngineServiceType, FleetEngineShipmentLocationProvider, FleetEngineTripLocationProvider, JourneySharingMapView

Interfaz de DrawingLibrary

Propiedades: DrawingManager, OverlayType

Interfaz 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 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 y 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_LOCAL_CONTEXT_SEARCH, PLACES_LOCAL_CONTEXT_SEARCH, PLACES_LOCAL_CONTEXT_SEARCH, PLACES_LOCAL_CONTEXT_SEARCHPLACES_DETAILSPLACES_FIND_PLACE_FROM_PHONE_NUMBERPLACES_FIND_PLACE_FROM_QUERYPLACES_GATEWAYPLACES_NEARBY_SEARCHSTREETVIEW_GET_PANORAMA

Maps

Maps

Clase de mapa

Propiedades: controls, data, mapTypes, overlayMapTypes

Métodos: fitBounds, getBounds, getCenter, getClickableIcons, BetagetDatasetFeatureLayer, getDiv, getFeatureLayer, getHeading, getMapCapabilities, getMapTypeId, getProjection, getRenderingType, getStreetView, getTilt, getZoom, panToBounds, , {20/, panToBounds, 2, 2, 2moveCamerapanBypanTosetCentersetClickableIconssetHeadingsetMapTypeIdsetOptionssetStreetViewsetTiltsetZoom

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

Interfaz de MapOptions

Nota:backgroundColorcenterclickableIconscontrolSizedisableDefaultUIdisableDoubleClickZoomdraggableCursordraggingCursorfullscreenControlfullscreenControlOptionsgestureHandlingheadingisFractionalZoomEnabledkeyboardShortcutsmapIdmapTypeControlmapTypeControlOptionsmapTypeIdmaxZoomminZoomnoClearpanControlpanControlOptionsrestrictionrotateControlrotateControlOptionsscaleControlscaleControlOptionsscrollwheelstreetViewstreetViewControlstreetViewControlOptionsstylestiltzoomzoomControlzoomControlOptionsdraggable

BetaClase MapElement

Propiedades: center, innerMap, mapId, zoom

Métodos: BetaaddEventListener, BetaremoveEventListener

BetaInterfaz de MapElementOptions

Propiedades: center, mapId, zoom

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 TrafficLayer

Métodos: getMap, setMap, setOptions

Interfaz TrafficLayerOptions

Propiedades: autoRefresh, map

Clase TransitLayer

Métodos: getMap, setMap

Clase BicycleLayer

Métodos: getMap, setMap

BetaInterfaz CameraOptions

Propiedades: center, heading, tilt, zoom

Interfaz VisibleRegion

Propiedades: farLeft, farRight, latLngBounds, nearLeft, nearRight

Constantes de RenderType

Constantes: RASTER, UNINITIALIZED, VECTOR

Interfaz de MapCapabilities

Propiedades: isAdvancedMarkersAvailable, isDataDrivenStylingAvailable

WebGL

Clase WebGLOverlayView

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

Interfaz de WebGLDrawOptions

Propiedades: gl, transformer

Interfaz de WebStateStateOptions

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 LatLngAltitud

Propiedades: altitude, lat, lng

Métodos: equals, toJSON

Interfaz LatLngAltitudeLiteral

Propiedades: altitude, lat, lng

Clase de punto

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

Interfaz FeatureLayer

Propiedades: BetadatasetId, featureType, isAvailable, style

Métodos: addListener

Constantes de FeatureType

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

FeatureStyleFunction typedef
Interfaz FeatureStyleFunctionOptions

Propiedades: feature

Interfaz FeatureStyleOptions

Propiedades: fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWeight

Interfaz de función

Propiedades: featureType

Interfaz de FeatureFeature

Propiedades: placeId

Métodos: fetchPlace

BetaInterfaz de FeatureFeature

Propiedades: datasetAttributes, datasetId

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

Propiedades: position

Interfaz de PanControlOptions

Propiedades: position

Interfaz de RotarControlOptions

Propiedades: position

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

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, setLabel, {28/, setLabel, {20/, setOpacity, 2setCursorsetDraggablesetIconsetMapsetOptionssetPositionsetShapesetTitlesetVisiblesetZIndex

Constantes: MAX_ZINDEX

Eventos: animation_changed, click, clickable_changed, contextmenu, cursor_changed, dblclick, drag, dragend, draggable_changed, dragstart, flat_changed, icon_changed, mousedown, mouseout, title_changed, title_changed, title_changed, title_changed, title_changedmouseovermouseupposition_changedshape_changedvisible_changedzindex_changedrightclick

Interfaz de MarkerOptions

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

Constantes de CollisionBehavior

Constantes: OPTIONAL_AND_HIDES_LOWER_PRIORITY, REQUIRED, REQUIRED_AND_HIDES_OPTIONAL

Interfaz de ícono

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

Clase AdvancedMarkerElement

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

Métodos: BetaaddEventListener, addListener, BetaremoveEventListener

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

Interfaz de AdvancedMarkerElementOptions

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

BetaClase AdvancedMarkerClickEvent
Clase PinElement

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

Métodos: BetaaddEventListener, BetaremoveEventListener

Interfaz PinElementOptions

Propiedades: background, borderColor, glyph, glyphColor, scale

Ventana de información

Clase InfoWindow

Métodos: close, focus, getContent, getPosition, getZIndex, open, setContent, setOptions, setPosition y 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, 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 Sequence

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

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

Interfaz de PolyMouseEvent

Propiedades: edge, path, 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 de RectangleOptions

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

Clase circular

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 de 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, setStyle, setStylesetControlssetDrawingModesetMaptoGeoJson

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

Type.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 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 Data.MouseEvent

Propiedades: feature

Interfaz Data.AddFeatureEvent

Propiedades: feature

Interfaz Data.RemoveFeatureEvent

Propiedades: feature

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

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

KML

Clase KmlLayer

Métodos: getDefaultViewport, getMap, getMetadata, getStatus, getUrl, getZIndex, setMap, setOptions, setUrl y 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 KEventMouse

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 OverlayCompleteEvent

Propiedades: overlay, type

Constantes OverlayType

Constantes: CIRCLE, MARKER, POLYGON, POLYLINE, RECTANGLE

Mapas de calor

Clase de mapa de calor

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

Interfaz HeatmapLayerOptions

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

Interfaz de ponderación de ubicación

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, setVisible, setVisiblesetPanosetPositionsetPovsetZoom

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, pov, pov, pov, , , 2panControlOptionspanopositionscrollwheelshowRoadLabelsvisiblezoomzoomControlzoomControlOptions

Interfaz StreetViewAddressControlOptions

Propiedades: position

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

Places

Widgets de Places

AlfaClase PlaceAutocompleteElement

Propiedades: element, inputElement

Métodos: addListener

Eventos: gmp-placeselect, gmp-requesterror

AlfaInterfaz de PlaceAutocompleteElementOptions

Propiedades: componentRestrictions, element, inputElement, locationBias, locationRestriction, requestedLanguage, requestedRegion, types

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 (versión beta)

BetaClase del lugar

Métodos estáticos: BetafindPlaceFromPhoneNumber, BetafindPlaceFromQuery

Nota:addressComponentsadrFormatAddressattributionsbusinessStatusdisplayNameformattedAddressgoogleMapsURIhasCurbsidePickuphasDeliveryhasDineInhasTakeouthasWheelchairAccessibleEntranceiconBackgroundColoridinternationalPhoneNumberisReservablelocationnationalPhoneNumberopeningHoursphotosplusCodepriceLevelratingrequestedLanguagerequestedRegionreviewsservesBeerservesBreakfastservesBrunchservesDinnerservesLunchservesVegetarianFoodservesWinesvgIconMaskURItypesuserRatingCountutcOffsetMinutesviewportwebsiteURI

Métodos: BetafetchFields, BetagetNextOpeningTime, BetaisOpen, toJSON

BetaInterfaz de PlaceOptions

Propiedades: id, requestedLanguage, requestedRegion

BetaClase AddressComponent

Propiedades: longText, shortText, types

BetaClase de atribución

Propiedades: provider, providerURI

BetaInterfaz FetchFieldsRequest

Propiedades: fields, sessionToken

BetaClase de OpeningHours

Propiedades: periods, weekdayDescriptions

BetaClase OpeningHoursPeriod

Propiedades: close, open

BetaClase OpeningHoursPoint

Propiedades: day, hour, minute

BetaClase de foto

Propiedades: attributions, heightPx, widthPx

Métodos: getURI

BetaClase PhotoAttribution

Propiedades: author, authorURI

BetaClase PlusCode

Propiedades: compoundCode, globalCode

BetaRevisar clase

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

BetaConstantes de PriceLevel

Constantes: EXPENSIVE, FREE, INEXPENSIVE, MODERATE, VERY_EXPENSIVE

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 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, rating, rating, , rating, , , ,place_idplus_codeprice_levelreviewstypesurluser_ratings_totalutc_offset_minutesvicinitywebsiteutc_offsetpermanently_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 de AutocompleteResponse

Propiedades: predictions

Interfaz de QueryAutocompletionRequest

Propiedades: bounds, input, location, offset, radius

Clase AutocompleteSessionToken
Interfaz de ComponentsRestrictions

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 GeoResponserResponse

Propiedades: results

Interfaz de GeocoderResult

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

Interfaz GeoCoderAddressComponent

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

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

Constantes 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 RendererRenderer

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

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

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

Constantes DistanceMatrixElementStatus

Constantes: NOT_FOUND, OK, ZERO_RESULTS

Elevation

Clase ElevationService

Métodos: getElevationAlongPath, getElevationForLocations

Interfaz de LocationElevationRequest

Propiedades: locations

Interfaz LocationElevationResponse

Propiedades: results

Interfaz de PathElevationRequest

Propiedades: path, samples

Interfaz dePathPathResponse

Propiedades: results

Interfaz ElevationResult

Propiedades: elevation, location, resolution

Constantes ElevationStatus

Constantes: INVALID_REQUEST, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR

Viajes compartidos

Vista del mapa

Clase JourneySharingMapView

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

Interfaz JourneySharingMapViewOptions

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

Constantes de AutomaticViewportMode

Constantes: FIT_ANTICIPATED_ROUTE, NONE

Clase abstracta de LocationProvider

Métodos: addListener

Clase abstracta de PollingLocationProvider

Propiedades: isPolling, pollingIntervalMillis

Eventos: ispollingchange

Interfaz de PollingLocationProviderIsPollingChangeEvent

Propiedades: error

Autenticación

Interfaz de AuthToken

Propiedades: expiresInSeconds, token

Interfaz de AuthTokenContext

Propiedades: deliveryVehicleId, taskId, trackingId, tripId, vehicleId

AuthTokenFetcher typedef
Interfaz AuthTokenFetcherOptions

Propiedades: context, serviceType

Constantes de FleetEngineServiceType

Constantes: DELIVERY_VEHICLE_SERVICE, TASK_SERVICE, TRIP_SERVICE, UNKNOWN_SERVICE

Personalización de la IU

Type de PolylineSetup
Interfaz de PolylineSetupOptions

Propiedades: polylineOptions, visible

Interfaz predeterminada de PolyPolylineSetupOptions

Propiedades: defaultPolylineOptions, defaultVisible

TypeSetup typedef (en inglés)
Interfaz de MarkerSetupOptions

Propiedades: markerOptions

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

Propiedades: taskTrackingInfo

Interfaz TripMarkerCustomizationFunctionParams

Propiedades: trip

Interfaz de TripWaypointMarkerCustomizationFunctionParams

Propiedades: waypointIndex

Entidades de Fleet Engine

Interfaz de tareas

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

Interfaz de TaskInfo

Propiedades: extraDurationMillis, id, targetTimeWindow

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

Interfaz de TimeWindow

Propiedades: endTime, startTime

Progreso del viaje y el pedido

Clase FleetEngineTripLocationProvider

Propiedades: tripId

Métodos: refresh

Eventos: error, update

Interfaz de FleetEngineTripLocationProviderOptions

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

Interfaz de FleetEngineTripLocationProviderUpdateEvent

Propiedades: trip

Seguimiento de flota

Clase FleetEngineDeliveryVehicleLocationProvider

Propiedades: deliveryVehicleId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

Eventos: error, update

Interfaz de FleetEngineDeliveryVehicleLocationProviderOptions

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

Interfaz de FleetEngineTaskFilterOptions

Propiedades: completionTimeFrom, completionTimeTo, state

Interfaz de FleetEngineDeliveryVehicleLocationProviderUpdateEvent

Propiedades: completedVehicleJourneySegments, deliveryVehicle, tasks

Clase FleetEngineDeliveryFleetLocationProvider

Propiedades: deliveryVehicleFilter, locationRestriction, staleLocationThresholdMillis

Eventos: update

Interfaz de FleetEngineDeliveryFleetLocationProviderOptions

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

Interfaz de FleetEngineDeliveryFleetLocationProviderUpdateEvent

Propiedades: deliveryVehicles

Seguimiento de envíos

Clase FleetEngineShipmentLocationProvider

Propiedades: trackingId

Métodos: refresh

Eventos: error, update

Interfaz de FleetEngineShipmentLocationProviderOptions

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

Interfaz de FleetEngineShipmentLocationProviderUpdateEvent

Propiedades: taskTrackingInfo

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

BetaPlaceTypePreference typedef.
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