Google Maps JavaScript API V3 Reference

Mantenha tudo organizado com as coleções Salve e categorize o conteúdo com base nas suas preferências.

Última atualização na segunda-feira, 21 de novembro de 2022

Este é um índice de todas as classes, métodos e interfaces na API Maps JavaScript versão 3.51 (canal semanal). Essa referência é atualizada com as alterações mais recentes da API.

Para ver mais informações, consulte as Notas de lançamento e Controle de versão.
Consulte também a documentação de referência para versão 3.50 (canal trimestral), versão 3.49 e versão 3.48.

Clique no nome de qualquer item para ver a documentação detalhada.

Conceitos globais

google.maps

namespace google.maps

Métodos estáticos: BetaimportLibrary

Constantes: version

BetaInterface da CoreLibrary

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

BetaInterface da biblioteca do Google Maps

Propriedades: BicyclingLayer, Circle, Data, FeatureType, GroundOverlay, ImageMapType, InfoWindow, KmlLayer, KmlLayerStatus, Map, MapTypeControlStyle, MapTypeId, MapTypeRegistry, MaxZoomService, MaxZoomStatus, OverlayView, Polygon, Polyline, Rectangle, }, }, }, , 2, 2, 22, 24, 24, 24, 22, 22, 22, 22, 22,22,2 2024, 22.o {2, 22.oData, 202}, 2022 ou 22 20 22, 20 22 ou 22 20 22 (2 25 quando estiver quando estiver ".

BetaInterface do PlacesLibrary

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

BetaInterface da GeocodingLibrary

Propriedades: Geocoder, GeocoderLocationType, GeocoderStatus

BetaInterface RoutesLibrary (link em inglês)

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

BetaInterface MarkerLibrary

Propriedades: AdvancedMarkerView, Animation, CollisionBehavior, Marker e PinView

BetaInterface da KioskLibrary

Propriedades: encoding, poly, spherical

BetaInterface ElevationLibrary

Propriedades: ElevationService, ElevationStatus

BetaInterface StreetViewLibrary

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

BetaInterface da JourneySharingLibrary

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

BetaInterface da DrawLibrary

Propriedades: DrawingManager, OverlayType

BetaInterface da PreviewationLibrary

Propriedades: HeatmapLayer

Configurações (Beta)

BetaClasse das configurações

Métodos estáticos: BetagetInstance

Propriedades: BetaexperienceIds

Sistema de eventos

Classe do evento

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

Interface MapsEventListener

Métodos: remove

Classe MVCObject

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

Classe MVCArray

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

Eventos: insert_at, remove_at, set_at

Interface do ErrorEvent

Propriedades: error

Erros

Classe MapsNetworkError

Propriedades: code, endpoint

Classe MapsRequestError
Classe MapsServerError
Constantes de MapsNetworkErrorEndpoint

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

Mapas

Maps

Classe do mapa

Propriedades: controls, data, mapTypes, overlayMapTypes

Métodos: fitBounds, getBounds, getCenter, getClickableIcons, getDiv, BetagetFeatureLayer, getHeading, BetagetMapCapabilities, getMapTypeId, getProjection, getRenderingType, getStreetView, getTilt, getZoom, moveCamera, panBy, panTo, panToBounds, setCenter, , }, }, }, setOptions, setOptions,/0, 24.02,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, mouseover, projection_changed, renderingtype_changed, tilesloaded, tilesloaded, tilesloaded/

Interface MapOptions

das nas 2.

Interface StreetViewStyle

Propriedades: elementType, featureType, stylers

Interface MapMap

Propriedades: domEvent, latLng

Métodos: stop

Interface do icon o

Propriedades: placeId

Constantes de StreetViewId

Constantes: HYBRID, ROADMAP, SATELLITE, TERRAIN

Classe StreetViewRegistry

Métodos: set

Interface MapRestriction

Propriedades: latLngBounds, strictBounds

Classe TrafficLayer

Métodos: getMap, setMap, setOptions

Interface TrafficLayerOptions (em inglês)

Propriedades: autoRefresh, map

Classe TransitLayer

Métodos: getMap, setMap

Classe BicyclingLayer

Métodos: getMap, setMap

BetaInterface da CameraOptions

Propriedades: center, heading, tilt, zoom

Interface VisibleRegion

Propriedades: farLeft, farRight, latLngBounds, nearLeft e nearRight

Constantes de RenderScriptType

Constantes: RASTER, UNINITIALIZED, VECTOR

BetaInterface MapCapabilities

Propriedades: isAdvancedMarkersAvailable, isDataDrivenStylingAvailable

WebGL (link em inglês)

Classe WebGLOverlayView

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

Interface WebGLDrawOptions (link em inglês)

Propriedades: gl, transformer

Interface WebGLStateOptions

Propriedades: gl

Interface do CoordinateTransformer

Métodos: fromLatLngAltitude, getCameraParams

Interface CameraParams

Propriedades: center, heading, tilt, zoom

Coordenadas

Classe LatLng

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

Interface LatLngLiteral

Propriedades: lat, lng

Classe LatLngBounds

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

Constantes: MAX_BOUNDS

Interface LatLngBoundsLiteral

Propriedades: east, north, south, west

Classe LatLngAltitude

Propriedades: altitude, lat, lng

Métodos: equals, toJSON

Interface LatLngAltitudeLiteral

Propriedades: altitude, lat, lng

Classe de ponto

Propriedades: x, y

Métodos: equals, toString

Classe de tamanho

Propriedades: height, width

Métodos: equals, toString

Interface padding

Propriedades: bottom, left, right, top

Interface CircleLiteral

Propriedades: center, radius

Estilo baseado em dados (Beta)

BetaInterface FeatureLayer

Propriedades: 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

BetaFeatureStyle TypeTypeFunction
BetaInterface FeatureStyleFunctionOptions

Propriedades: feature

BetaInterface FeatureStyleOptions

Propriedades: fillColor, fillOpacity, strokeColor, strokeOpacity e strokeWeight

BetaInterface em destaque

Propriedades: featureType

BetaInterface do PlaceFeature

Propriedades: displayName, placeId

BetaInterface FeatureFeature

Propriedades: features

Controles

Interface FullscreenControlOptions

Propriedades: position

Interface StreetViewControlOptions

Propriedades: mapTypeIds, position, style

Constantes de StreetViewControlStyle

Constantes: DEFAULT, DROPDOWN_MENU, HORIZONTAL_BAR

Interface MotionTrackingControlOptions

Propriedades: position

Interface "PanControlOptions"

Propriedades: position

Interface rotateControlOptions

Propriedades: position

Interface ScaleControlOptions

Propriedades: style

Constantes de ScaleControlStyle

Constantes: DEFAULT

Interface StreetViewControlOptions

Propriedades: position

Interface ZoomControlOptions

Propriedades: 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 geometria

namespace de codificação

Métodos estáticos: decodePath, encodePath

namespace esférico

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

namespace poly

Métodos estáticos: containsLocation, isLocationOnEdge

Como desenhar no mapa

Marker

Classe de marcador

Métodos: getAnimation, getClickable, getCursor, getDraggable, getIcon, getLabel, getMap, getOpacity, getPosition, getShape, getTitle, getVisible, getZIndex, setAnimation, setClickable, setCursor, setDraggable, setIcon, setCursor, , }, }, {28,}, {22, aparelho, {22, }, 2.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, mouseup, position_changed, shape_changed, title_changed, title_changed, title_changed/

Interface MarkerOptions

Propriedades: 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

Interface de ícones

Propriedades: anchor, labelOrigin, origin, scaledSize, size e url

Interface MarkerLabel

Propriedades: className, color, fontFamily, fontSize, fontWeight e text

Interface MarkerShape

Propriedades: coords, type

Interface de símbolos

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

Constantes de IconPath

Constantes: BACKWARD_CLOSED_ARROW, BACKWARD_OPEN_ARROW, CIRCLE, FORWARD_CLOSED_ARROW, FORWARD_OPEN_ARROW

Constantes de animação

Constantes: BOUNCE, DROP

Marcadores avançados (Beta)

BetaClasse AdvancedMarkerView

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

Métodos: addListener

Eventos: click, drag, dragend, dragstart

BetaInterface AdvancedMarkerViewOptions

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

BetaClasse PinView

Propriedades: background, borderColor, element, glyph, glyphColor e scale

Métodos: addListener

BetaInterface PinViewOptions

Propriedades: background, borderColor, element, glyph, glyphColor e scale

Janela de informações

Classe de janela de visualização

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

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

Interface de OptionsOptions

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

Interface de OpenOpenOptions

Propriedades: anchor, map, shouldFocus

Polígonos

Classe de polilinha

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 e rightclick

Interface de polilinhas

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

Interface de SequenceSequence

Propriedades: fixedRotation, icon, offset, repeat

Classe polígono

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

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

Interface de PolygonOptions

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

Interface da PolyAdID

Propriedades: edge, path, vertex

Classe retangular

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 e rightclick

Interface RectangleOptions

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

Classe circular

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

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

Interface CircleOptions

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

Constantes de StrokePosition

Constantes: CENTER, INSIDE, OUTSIDE

Dados

Classe de dados

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

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

Interface Data.DataOptions

Propriedades: controlPosition, controls, drawingMode, featureFactory, map e style

Interface Data.GeoJsonOptions

Propriedades: idPropertyName

Interface Data.StyleOptions

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

Data.StylingFunction typedef
Classe Data.Feature

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

Eventos: removeproperty, setgeometry, setproperty

Interface Data.FeatureOptions

Propriedades: geometry, id, properties

Interface Data.Geometria

Métodos: forEachLatLng, getType

Classe Data.Point

Métodos: forEachLatLng, get, getType

Classe Data.MultiPoint

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

Classe Data.LineString

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

Classe Data.MultiLineString

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

Classe Data.LinearRing

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

Classe Data.Polygon

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

Classe Data.MultiPolygon

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

Classe Data.GeoCollection

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

Interface Data.LiveData

Propriedades: feature

Interface Data.AddFeatureEvent

Propriedades: feature

Interface Data.RemoveFeatureEvent

Propriedades: feature

Interface Data.SetGeoEvent

Propriedades: feature, newGeometry, oldGeometry

Interface Data.SetPropertyEvent

Propriedades: feature, name, newValue, oldValue

Interface Data.RemovePropertyEvent

Propriedades: feature, name, oldValue

Elementos DOM

Classe de OverlayView

Métodos estáticos: preventMapHitsAndGesturesFrom, preventMapHitsFrom

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

Interface do MapPanes

Propriedades: floatPane, mapPane, markerLayer, overlayLayer e overlayMouseTarget

Interface MapCanvasDesigning (em inglês)

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

KML

Classe KmlLayer

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

Eventos: click, defaultviewport_changed, status_changed

Interface KmlLayerOptions

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

Interface KmlLayerMetadata

Propriedades: author, description, hasScreenOverlays, name e snippet

Constantes de KmlLayerStatus

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

Interface LiveDataLiveData

Propriedades: featureData, latLng, pixelOffset

Interface FeatureFeatureData (em inglês)

Propriedades: author, description, id, infoWindowHtml, name e snippet

Interface [=Author

Propriedades: email, name, uri

Sobreposições de imagem

Interface StreetView

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

Métodos: getTile, releaseTile

Interface de projeção

Métodos: fromLatLngToPoint, fromPointToLatLng

Classe ImageStreetView

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

Métodos: getOpacity, getTile, releaseTile, setOpacity

Eventos: tilesloaded

Interface ImageStreetViewOptions

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

Classe GroundOverlay

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

Eventos: click, dblclick

Interface GroundOverlayOptions

Propriedades: clickable, map, opacity

Classe StyledStreetView

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

Métodos: getTile, releaseTile

Interface StyledStreetViewOptions

Propriedades: alt, maxZoom, minZoom, name

Biblioteca de desenho

Classe DrawManager

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

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

Interface de DrawManagerOptions

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

Interface de DrawControlOptions

Propriedades: drawingModes, position

Interface OverlayCompleteEvent

Propriedades: overlay, type

Constantes de TypeType

Constantes: CIRCLE, MARKER, POLYGON, POLYLINE, RECTANGLE

Mapas de calor

Classe HmapmapLayer

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

Interface HeatmapLayerOptions

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

Interface WeightLocation

Propriedades: location, weight

Zoom máximo

Classe MaxZoomService

Métodos: getMaxZoomAtLatLng

Interface MaxZoomResult

Propriedades: status, zoom

Constantes de MaxZoomStatus

Constantes: ERROR, OK

Street View

Renderização

Classe StreetViewPanorama

Propriedades: controls

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

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

Interface StreetViewPanoramaOptions

Propriedades: addressControl, addressControlOptions, clickToGo, controlSize, disableDefaultUI, disableDoubleClickZoom, enableCloseButton, fullscreenControl, fullscreenControlOptions, imageDateControl, linksControl, motionTracking, motionTrackingControl, motionTrackingControlOptions, panControl, panControlOptions, pano, position, pov, }, }, }, , 2, 2, 22, 24, 24, 24, 22, 22, 22, 22, 22,22,2 2024, 22.o {2, 22.oclickToGo, 202}, 2022 ou 22 20 22, 20 22 ou 22 20 22 (2 25 quando estiver quando estiver ".

Interface StreetViewAddressControlOptions

Propriedades: position

Interface PanorProviderOptions

Propriedades: cors

Interface StreetViewTileData

Propriedades: centerHeading, tileSize, worldSize

Métodos: getTileUrl

Interface StreetViewPov

Propriedades: heading, pitch

Classe StreetViewCoverageLayer

Métodos: getMap, setMap

Serviço

Classe StreetViewService

Métodos: getPanorama

Constantes de StreetViewStatus

Constantes: OK, UNKNOWN_ERROR, ZERO_RESULTS

Interface StreetViewLocationRequest

Propriedades: location, preference, radius, source

Interface StreetViewPanoRequest

Propriedades: pano

Interface StreetViewResponse

Propriedades: data

Interface StreetViewLocation

Propriedades: description, latLng, pano, shortDescription

Constantes de StreetViewPreference

Constantes: BEST, NEAREST

Constantes de StreetViewSource

Constantes: DEFAULT, OUTDOOR

Interface StreetViewPanoramaData

Propriedades: copyright, imageDate, links, location e tiles

Propriedades: description, heading, pano

Places

Widgets do Places

Classe de preenchimento automático

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

Eventos: place_changed

Interface AutocompleteOptions

Propriedades: bounds, componentRestrictions, fields, strictBounds, types e placeIdOnly

Métodos: getBounds, getPlaces, setBounds

Eventos: places_changed

Interface SearchBoxOptions

Propriedades: bounds

Place (Beta)

BetaClasse do lugar

Métodos estáticos: findPlaceFromPhoneNumber, findPlaceFromQuery

Propriedades: addressComponents, adrFormatAddress, attributions, businessStatus, displayName, formattedAddress, googleMapsURI, icon, iconBackgroundColor, id, internationalPhoneNumber, location, nationalPhoneNumber, openingHours, photos, plusCode, priceLevel, rating, requestedLanguage, }, }, , 2, 2, 2, 2, 2, 20, 22, 20, 20.2.2.

Métodos: fetchFields, getNextOpeningTime, isOpen

BetaInterface do PlaceOptions

Propriedades: id, requestedLanguage, requestedRegion

BetaClasse AddressComponent

Propriedades: longText, shortText, types

BetaClasse de atribuição

Propriedades: provider, providerURI

BetaInterface FetchFieldsRequest

Propriedades: fields, sessionToken

BetaClasse do horário de funcionamento

Propriedades: periods, weekdayDescriptions

BetaClasse OpeningHoursPeriod

Propriedades: close, open

BetaClasse OpeningHoursPoint

Propriedades: day, hour, minute

BetaFotografia

Propriedades: attributions, heightPx, widthPx

Métodos: getURI

BetaClasse de PhotoAssignment

Propriedades: author, authorURI

BetaClasse PlusCode

Propriedades: compoundCode, globalCode

BetaRevise a classe

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

Serviço do Places

Classe PlacesService

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

Interface PlaceDetailsRequest

Propriedades: fields, language, placeId, region e sessionToken

Interface FindPlaceFromPhoneNumberRequest

Propriedades: fields, language, locationBias, phoneNumber

Interface FindPlaceFromQueryRequest

Propriedades: fields, language, locationBias, query

Interface PlaceSearchRequest

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

Interface TextSearchRequest

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

Constantes de RankBy

Constantes: DISTANCE, PROMINENCE

LocationBias typedef (em inglês)
LocationRestriction typedef (link em inglês)
Constantes de PlacesServiceStatus

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

Interface PlaceSearchPagination

Propriedades: hasNextPage

Métodos: nextPage

Interface do PlaceResult

Propriedades: address_components, adr_address, aspects, business_status, formatted_address, formatted_phone_number, geometry, html_attributions, icon, icon_background_color, icon_mask_base_uri, international_phone_number, name, opening_hours, photos, place_id, plus_code, price_level, place_id, }, }, , 2, 2, 2, 2, 2, 25, 22, 22, 22, 22 ou 25 ou 22 ou 22 ou leve {2 aparelho}

Interface da PlaceAspectRating

Propriedades: rating, type

Constantes de BusinessStatus

Constantes: CLOSED_PERMANENTLY, CLOSED_TEMPORARILY, OPERATIONAL

Interface PlaceGeo

Propriedades: location, viewport

Interface PlaceOpeningHours

Propriedades: periods, weekday_text, open_now

Métodos: isOpen

Interface PlaceOpeningHoursPeriod

Propriedades: close, open

Interface PlaceOpeningHoursTime

Propriedades: day, hours, minutes, nextDate e time

Interface do PlacePlusCode

Propriedades: compound_code, global_code

Interface do PlacePhoto

Propriedades: height, html_attributions, width

Métodos: getUrl

Interface PhotoOptions

Propriedades: maxHeight, maxWidth

Interface do PlaceReview

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

Serviço do Places Autocomplete

Classe AutocompleteService

Métodos: getPlacePredictions, getQueryPredictions

Interface de preenchimento automático de solicitação

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

Interface AutocompleteResponse

Propriedades: predictions

Interface QueryAutocompletionRequest

Propriedades: bounds, input, location, offset e radius

Classe AutocompleteSessionToken
Interface ComponentRestrictions

Propriedades: country

Interface AutocompletePrediction

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

Interface QueryAutocompletePrediction

Propriedades: description, matched_substrings, place_id, terms

Interface PredictionionTerm

Propriedades: offset, value

Interface PredictionSubstring

Propriedades: length, offset

Interface de formatação estruturada

Propriedades: main_text, main_text_matched_substrings, secondary_text

Geocoder

Classe geocodificador

Métodos: geocode

Interface de geocodificador

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

Interface ComponentComponentRestrictions

Propriedades: administrativeArea, country, locality, postalCode e route

Constantes de geocodificadorStatus

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

Interface de geocodificador

Propriedades: results

Interface ResultResult

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

Interface AddressAddressComponent

Propriedades: long_name, short_name, types

Interface GeoGeocoding

Propriedades: bounds, location, location_type, viewport

Constantes de geocodificadorLocationType

Constantes: APPROXIMATE, GEOMETRIC_CENTER, RANGE_INTERPOLATED, ROOFTOP

Rotas

Rotas

Classe DirectionsService

Métodos: route

Interface DirectionsRequest

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

Constantes de DirectionsStatus

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

Interface DirectionsResult

Propriedades: available_travel_modes, geocoded_waypoints, routes

Classe DirectionsRenderer

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

Eventos: directions_changed

Interface DirectionsRendererOptions

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

Interface DirectionsWaypoint

Propriedades: location, stopover

Interface DirectionsGeoencodedWaypoint

Propriedades: partial_match, place_id, types

Interface DirectionsRoute

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

Interface DirectionsLeg

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

Interface do DirectionsStep

Propriedades: 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

Interface DirectionsPolygon

Propriedades: points

Interface do lugar

Propriedades: location, placeId, query

Constantes de TravelMode

Constantes: BICYCLING, DRIVING, TRANSIT, WALKING

Interface DrivingOptions

Propriedades: departureTime, trafficModel

Constantes de TrafficModel

Constantes: BEST_GUESS, OPTIMISTIC, PESSIMISTIC

Interface TransitOptions

Propriedades: arrivalTime, departureTime, modes, routingPreference

Constantes de TransitMode (link em inglês)

Constantes: BUS, RAIL, SUBWAY, TRAIN, TRAM

Constantes de TransitRoutePreference

Constantes: FEWER_TRANSFERS, LESS_WALKING

Interface do TransitFare

Propriedades: currency, value

Interface TransitDetails

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

Interface TransitStop

Propriedades: location, name

Interface TransitLine

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

Interface do TransitAgency

Propriedades: name, phone, url

Interface TransitVehicle

Propriedades: 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

Interface de distância

Propriedades: text, value

Interface de duração

Propriedades: text, value

Interface de tempo

Propriedades: text, time_zone, value

Constantes de DirectionsTravelMode
Constantes de DirectionsUnitSystem

Matriz de distância

Classe DistanceMatrixService

Métodos: getDistanceMatrix

Interface DistanceMatrixRequest

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

Interface DistanceMatrixResponse

Propriedades: destinationAddresses, originAddresses, rows

Interface DistanceMatrixResponseRow

Propriedades: elements

Interface DistanceMatrixResponseElement

Propriedades: distance, duration, duration_in_traffic, fare e 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

Elevação

Classe ElevationService

Métodos: getElevationAlongPath, getElevationForLocations

Interface LocationElevationRequest

Propriedades: locations

Interface LocationElevationResponse

Propriedades: results

Interface ElevationElevationRequest

Propriedades: path, samples

Interface PathElevationResponse

Propriedades: results

Interface ElevationResult

Propriedades: elevation, location, resolution

Constantes de ElevationStatus

Constantes: INVALID_REQUEST, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR

Contexto local (Beta)

Visualização de mapa

BetaClasse LocalContextMapView

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

Métodos: addListener, hidePlaceDetailsView, search

Eventos: error, placedetailsviewhidestart, placedetailsviewshowstart

BetaInterface do LocalContextMapViewOptions

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

BetaPlaceTypePreference typedef
BetaClasse MapDirectionsOptions

Métodos: addListener

BetaInterface MapDirectionsOptionsLiteral

Propriedades: origin

BetaInterface do PinOptions

Propriedades: background, glyphColor, scale

Interface PlaceChooserViewSetupOptions

Propriedades: layoutMode, position

BetaConstantes de PlaceChooserLayoutMode

Constantes: HIDDEN, SHEET

BetaConstantes de PlaceChooserPosition

Constantes: BLOCK_END, INLINE_END, INLINE_START

Interface PlaceDetailsViewSetupOptions

Propriedades: hidesOnMapClick, layoutMode, position

BetaConstantes de PlaceDetailsLayoutMode

Constantes: INFO_WINDOW, SHEET

BetaConstantes de PlaceDetailsPosition

Constantes: INLINE_END, INLINE_START

Compartilhar trajeto (Beta)

Visualização de mapa

BetaClasse da jornada do Compartilhamento de mapas

Propriedades: anticipatedRoutePolylines, anticipatedRoutePolylineSetup, automaticViewportMode, element, enableTraffic, locationProvider, map, mapOptions, takenRoutePolylines, takenRoutePolylineSetup, destinationMarkerSetup, originMarkerSetup, pingMarkerSetup, successfulTaskMarkerSetup, taskOutcomeMarkerSetup, unsuccessfulTaskMarkerSetup, vehicleMarkerSetup, waypointMarkerSetup, destinationMarkers, }, }, }, , 2,2, 24, 25, 22,22,2, 22, 22 20 22,{28, 22:22, no automaticViewportMode, 20 ou 22 ou 20 ou 12 ou menos,

BetaInterface JourneySharingMapViewOptions

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

BetaConstantes de AutoViewportMode

Constantes: FIT_ANTICIPATED_ROUTE, NONE

BetaClasse abstrata LocationProvider

Métodos: addListener

BetaClasse abstrata PoPoingLocationProvider

Propriedades: isPolling

Eventos: ispollingchange

BetaInterface do PollingLocationProviderIsPollingChangeEvent

Propriedades: error

Authentication

BetaInterface do AuthToken

Propriedades: expiresInSeconds, token

BetaInterface do AuthTokenContext

Propriedades: deliveryVehicleId, taskId, trackingId, tripId e vehicleId

BetaAuthTokenFetcher typedef
BetaInterface AuthTokenFetcherOptions

Propriedades: context, serviceType

BetaConstantes de FleetEngineServiceType

Constantes: DELIVERY_VEHICLE_SERVICE, TASK_SERVICE, TRIP_SERVICE, UNKNOWN_SERVICE

Personalização de IU

BetaSuspensão da polilinha do tipo de configuração
BetaInterface de polilinha e configuração da polilinha

Propriedades: polylineOptions, visible

BetaInterface DefaultDefaultSetupOptions

Propriedades: defaultPolylineOptions, defaultVisible

BetaMarkerSetup typedef
BetaInterface MarkerSetupOptions

Propriedades: markerOptions

BetaInterface DefaultMarkerSetupOptions

Propriedades: defaultMarkerOptions

BetaInterface MarkerCustomizationFunctionParams

Propriedades: defaultOptions, isNew, marker

BetaInterface DeliveryVehicleMarkerCustomizationFunctionParams

Propriedades: vehicle

BetaInterface PlannedStopMarkerPersonalFunctionParams

Propriedades: stopIndex

BetaInterface TaskMarkerCustomizationFunctionParams

Propriedades: task

BetaInterface ShipmentMarkerCustomizationFunctionParamsParams

Propriedades: task

Entidades do frota do mecanismo

BetaInterface da tarefa

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

BetaInterface da viagem

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

BetaInterface DeliveryVehicle

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

BetaInterface VehicleJourneySegment

Propriedades: distanceMeters, durationMillis, extraDurationMillis, location e path

BetaInterface VehicleLocationUpdate

Propriedades: heading, location, speedKilometersPerHour, time

BetaInterface VehicleWaypoint

Propriedades: distanceMeters, durationMillis, location, path

Progresso do pedido e da viagem

BetaClasse FleetEngineTripLocationProvider

Propriedades: tripId

Métodos: refresh

Eventos: error, update

BetaInterface da FleetEngineTripLocationProviderOptions

Propriedades: authTokenFetcher, pollingIntervalMillis, projectId, tripId

BetaInterface da FleetEngineTripLocationProviderUpdateEvent

Propriedades: trip

Rastreamento de frotas

BetaClasse FleetEngineDeliverVehicleLocationProvider

Propriedades: deliveryVehicleId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis e taskFilterOptions

Eventos: error, update

BetaInterface da FleetEnginedeliveryVehicleLocationLocationOptions

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

BetaInterface da FleetEngineTaskFilterOptions

Propriedades: completionTimeFrom, completionTimeTo, state

BetaInterface da FleetEnginedeliveryVehicleLocationLocationUpdateUpdateEvent

Propriedades: completedVehicleJourneySegments, deliveryVehicle, tasks

BetaClasse FleetEnginedeliveryFleetLocationProvider

Propriedades: deliveryVehicleFilter, locationRestriction, pollingIntervalMillis, staleLocationThresholdMillis

Eventos: update

BetaInterface da FleetEnginedeliveryFleetLocationProviderOptions

Propriedades: authTokenFetcher, deliveryVehicleFilter, deliveryVehicleMarkerCustomization, locationRestriction, projectId e staleLocationThresholdMillis

BetaInterface da FleetEnginedeliveryFleetLocationProviderUpdateEvent

Propriedades: deliveryVehicles

Rastreamento de remessa

BetaClasse FleetEngineShipmentLocationProvider

Propriedades: trackingId

Métodos: getTask, refresh

Eventos: error, update

BetaInterface da FleetEngineShipmentLocationProviderOptions

Propriedades: authTokenFetcher, deliveryVehicleMarkerCustomization, destinationMarkerCustomization, pollingIntervalMillis, projectId e trackingId

BetaInterface da FleetEngineShipmentLocationProviderUpdateEvent

Propriedades: task