Google Maps JavaScript API V3 Reference

Última atualização: terça-feira, 11 de abril de 2023

Esse é um índice de todas as classes, métodos e interfaces na API Maps JavaScript versão 3.52.

Para mais informações, consulte as Notas de lançamento e o Controle de versão.

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

Conceitos globais

google.maps;

namespace google.maps

Métodos estáticos: importLibrary

Constantes: version

Interface CoreLibrary

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

Interface MapsLibrary

Propriedades: BicyclingLayer, Circle, Data, FeatureType, GroundOverlay, ImageMapType, InfoWindow, KmlLayer, KmlLayerStatus, Map, MapTypeControlStyle, MapTypeId, MapTypeRegistry, MaxZoomService, MaxZoomStatus, OverlayView, Polygon, Polyline, Rectangle, 22, , }, }, , }RenderingTypeStrokePositionStyledMapTypeTrafficLayerTransitLayerWebGLOverlayView

Interface PlacesLibrary

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

Interface GeocodingLibrary

Propriedades: Geocoder, GeocoderLocationType, GeocoderStatus

Interface RoutesLibrary (em inglês)

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

Interface MarkerLibrary

Propriedades: AdvancedMarkerView, Animation, CollisionBehavior, Marker, PinView

Interface GeometryLibrary

Propriedades: encoding, poly, spherical

Interface ElevationLibrary

Propriedades: ElevationService, ElevationStatus

Interface StreetViewLibrary

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

Interface JourneySharingLibrary

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

Interface DrawingLibrary

Propriedades: DrawingManager, OverlayType

Interface de visualização de biblioteca

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 do 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, setAt

Eventos: insert_at, remove_at, set_at

Interface do ErrorEvent

Propriedades: error

Erros

Classe MapsNetworkError

Propriedades: code, endpoint

Classe MapsRequestError
Classe MapsServerError
Constantes 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 PLACES_NEARBY_SEARCHSTREETVIEW_GET_PANORAMA

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, 22, , }, , , , 2{, 2{}, 2{setClickableIconssetHeadingsetMapTypeIdsetOptionssetStreetViewsetTiltsetZoom

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

Interface MapOptions

Propriedades: backgroundColor, /centerclickableIconscontrolSizedisableDefaultUIdisableDoubleClickZoomdraggableCursordraggingCursorfullscreenControlfullscreenControlOptionsgestureHandlingheadingisFractionalZoomEnabledkeyboardShortcutsmapIdmapTypeControlmapTypeControlOptionsmapTypeIdmaxZoomminZoomnoClearpanControlpanControlOptionsrestrictionrotateControlrotateControlOptionsscaleControlscaleControlOptionsscrollwheelstreetViewstreetViewControlstreetViewControlOptionsstylestiltzoomzoomControlzoomControlOptionsdraggable

Interface MapTypeStyle

Propriedades: elementType, featureType, stylers

Interface MapMouseEvent

Propriedades: domEvent, latLng

Métodos: stop

Interface do iconMouseEvent

Propriedades: placeId

Constantes MapTypeId

Constantes: HYBRID, ROADMAP, SATELLITE, TERRAIN

Classe MapTypeRegistry

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 CameraOptions

Propriedades: center, heading, tilt, zoom

Interface de RegionRegion

Propriedades: farLeft, farRight, latLngBounds, nearLeft, nearRight

Constantes de RenderType

Constantes: RASTER, UNINITIALIZED, VECTOR

BetaInterface MapCapabilities

Propriedades: isAdvancedMarkersAvailable, isDataDrivenStylingAvailable

WebGL;

Classe WebGLOverlayView

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

Interface WebGLDrawOptions

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

Interface LatLngLiteral

Propriedades: lat, lng

Classe LatLngBounds

Métodos: contains, equals, extend, getCenter, getNorthEast, getSouthWest, intersects, isEmpty, toJSON, toSpan, toString, toUrlValue, 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 de preenchimento

Propriedades: bottom, left, right, top

Interface CircleLiteral

Propriedades: center, radius

Estilo com base em dados (Beta)

BetaInterface FeatureLayer

Propriedades: featureType, isAvailable, style

Métodos: addListener

BetaConstantes de FeatureType

Constantes: ADMINISTRATIVE_AREA_LEVEL_1, ADMINISTRATIVE_AREA_LEVEL_2, COUNTRY, LOCALITY, POSTAL_CODE

BetaFeaturedef FunctionTypedef
BetaInterface FeatureStyleFunctionOptions

Propriedades: feature

BetaInterface FeatureStyleOptions

Propriedades: fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWeight

BetaInterface de recursos

Propriedades: featureType

BetaInterface PlaceFeature

Propriedades: placeId

Métodos: fetchPlace

BetaInterface FeatureMouseEvent

Propriedades: features

Controles

Interface FullscreenControlOptions

Propriedades: position

Interface MapTypeControlOptions

Propriedades: mapTypeIds, position, style

Constantes MapTypeControlStyle

Constantes: DEFAULT, DROPDOWN_MENU, HORIZONTAL_BAR

Interface MotionTrackingControlOptions

Propriedades: position

Interface PanControlOptions

Propriedades: position

Interface RotateControlOptions

Propriedades: position

Interface ScaleControlOptions

Propriedades: style

Constantes 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

Codificação do namespace

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

Desenhar no mapa

Marker

Classe Marker

Métodos: getAnimation, getClickable, getCursor, getDraggable, getIcon, getLabel, getMap, getOpacity, getPosition, getShape, getTitle, getVisible, getZIndex, setAnimation, setClickable, setCursor, setDraggable, setIcon, setLabel, 22, , }, , , , 2.} } , 2}}{setMapsetOpacitysetOptionssetPositionsetShapesetTitlesetVisiblesetZIndex

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

Interface MarkerOptions

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

BetaConstantes de colisões

Constantes: OPTIONAL_AND_HIDES_LOWER_PRIORITY, REQUIRED, REQUIRED_AND_HIDES_OPTIONAL

Interface do ícone

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

Interface MarkerLabel

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

Interface MarkerShape

Propriedades: coords, type

Interface de símbolos

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

Constantes SymbolPath (link em inglês)

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, gmpDraggable, map, position, title, zIndex, draggable

Métodos: addListener

Eventos: click, drag, dragend, dragstart

BetaInterface AdvancedMarkerViewOptions

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

BetaClasse PinView

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

Métodos: addListener

BetaInterface PinViewOptions

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

Janela de informações

Classe InfoWindow

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

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

Interface InfoWindowOptions

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

Interface InfoWindowOpenOptions

Propriedades: anchor, map, shouldFocus

Polígonos

Classe Polyline

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

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

Interface PolylineOptions

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

Interface do SequenceSequence

Propriedades: fixedRotation, icon, offset, repeat

Classe Polygon

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

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

Interface PolygonOptions

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

Interface PolyMouseEvent

Propriedades: edge, path, vertex

Classe Rectangle

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

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

Interface RectangleOptions

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

Classe Circle

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

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

Interface CircleOptions

Propriedades: center, clickable, draggable, editable, fillColor, fillOpacity, map, radius, strokeColor, strokeOpacity, strokePosition, strokeWeight, visible, 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, setStyle, toGeoJson

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

Interface Data.DataOptions

Propriedades: controlPosition, controls, drawingMode, featureFactory, map, 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.Geometry

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.GeometryCollection

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

Interface Data.MouseEvent

Propriedades: feature

Interface Data.AddFeatureEvent

Propriedades: feature

Interface Data.RemoveFeatureEvent

Propriedades: feature

Interface Data.SetGeometryEvent

Propriedades: feature, newGeometry, oldGeometry

Interface Data.SetPropertyEvent

Propriedades: feature, name, newValue, oldValue

Interface Data.RemovePropertyEvent

Propriedades: feature, name, oldValue

Elementos DOM

Classe OverlayView

Métodos estáticos: preventMapHitsAndGesturesFrom, preventMapHitsFrom

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

Interface do MapPanes

Propriedades: floatPane, mapPane, markerLayer, overlayLayer, overlayMouseTarget

Interface MapCanvasProjection

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

KML

Classe KmlLayer

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

Eventos: click, defaultviewport_changed, status_changed

Interface KmlLayerOptions

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

Interface KmlLayerMetadata

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

Interface KmlMouseEvent

Propriedades: featureData, latLng, pixelOffset

Interface KmlFeatureData

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

Interface KmlAuthor

Propriedades: email, name, uri

Sobreposições de imagem

Interface MapType

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

Métodos: getTile, releaseTile

Interface da projeção

Métodos: fromLatLngToPoint, fromPointToLatLng

Classe ImageMapType

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

Métodos: getOpacity, getTile, releaseTile, setOpacity

Eventos: tilesloaded

Interface ImageMapTypeOptions

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

Classe GroundOverlay

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

Eventos: click, dblclick

Interface GroundOverlayOptions

Propriedades: clickable, map, opacity

Classe StyledMapType

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

Métodos: getTile, releaseTile

Interface StyledMapTypeOptions

Propriedades: alt, maxZoom, minZoom, name

Biblioteca de desenho

Classe DrawingManager

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

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

Interface DrawingManagerOptions

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

Interface DrawingControlOptions

Propriedades: drawingModes, position

Interface OverlayCompleteEvent

Propriedades: overlay, type

Constantes OverlayType

Constantes: CIRCLE, MARKER, POLYGON, POLYLINE, RECTANGLE

Mapas de calor

Classe HeatmapLayer

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

Interface HeatmapLayerOptions

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

Interface WeightedLocation

Propriedades: location, weight

Zoom máximo

Classe MaxZoomService

Métodos: getMaxZoomAtLatLng

Interface MaxZoomResult

Propriedades: status, zoom

Constantes 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, setVisible, setZoom

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, 22, , }, , , }scrollwheelshowRoadLabelsvisiblezoomzoomControlzoomControlOptions

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

Propriedades: description, heading, pano

Places

Widgets do Places

AlfaClasse PlaceAutocompleteElement

Propriedades: element, inputElement

Métodos: addListener

Eventos: gmp-placeselect, gmp-requesterror

AlfaInterface PlaceAutocompleteElementOptions

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

Classe Autocomplete

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

Eventos: place_changed

Interface AutocompleteOptions

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

Métodos: getBounds, getPlaces, setBounds

Eventos: places_changed

Interface SearchBoxOptions

Propriedades: bounds

Lugar (Beta)

BetaClasse do lugar

Métodos estáticos: BetafindPlaceFromPhoneNumber, BetafindPlaceFromQuery

Propriedades: adrFormatAddress, /addressComponentsattributionsbusinessStatusdisplayNameformattedAddressgoogleMapsURIhasCurbsidePickuphasDeliveryhasDineInhasTakeouthasWheelchairAccessibleEntranceiconBackgroundColoridinternationalPhoneNumberisReservablelocationnationalPhoneNumberopeningHoursphotosplusCodepriceLevelratingrequestedLanguagerequestedRegionreviewsservesBeerservesBreakfastservesBrunchservesDinnerservesLunchservesVegetarianFoodservesWinesvgIconMaskURItypesuserRatingCountutcOffsetMinutesviewportwebsiteURI

Métodos: BetafetchFields, BetagetNextOpeningTime, BetaisOpen

BetaInterface PlaceOptions

Propriedades: id, requestedLanguage, requestedRegion

BetaClasse AddressComponent

Propriedades: longText, shortText, types

BetaClasse de atribuição

Propriedades: provider, providerURI

BetaInterface FetchFieldsRequest

Propriedades: fields, sessionToken

BetaClasse OpeningHours

Propriedades: periods, weekdayDescriptions

BetaClasse OpeningHoursPeriod

Propriedades: close, open

BetaClasse OpeningHoursPoint

Propriedades: day, hour, minute

BetaClasse de foto

Propriedades: attributions, heightPx, widthPx

Métodos: getURI

BetaClasse PhotoAssignment

Propriedades: author, authorURI

BetaClasse PlusCode

Propriedades: compoundCode, globalCode

BetaRevisar turma

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

BetaConstantes de PriceLevel

Constantes: EXPENSIVE, FREE, INEXPENSIVE, MODERATE, VERY_EXPENSIVE

Serviço do Places

Classe PlacesService

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

Interface PlaceDetailsRequest

Propriedades: fields, language, placeId, region, 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 (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 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, rating, 22, } }, , 2{ {}}price_levelreviewstypesurluser_ratings_totalutc_offset_minutesvicinitywebsiteutc_offsetpermanently_closed

Interface PlaceAspectRating

Propriedades: rating, type

Constantes BusinessStatus

Constantes: CLOSED_PERMANENTLY, CLOSED_TEMPORARILY, OPERATIONAL

Interface PlaceGeometry

Propriedades: location, viewport

Interface do PlaceOpeningHours

Propriedades: periods, weekday_text, open_now

Métodos: isOpen

Interface PlaceOpeningHoursPeriod

Propriedades: close, open

Interface PlaceOpeningHoursTime

Propriedades: day, hours, minutes, nextDate, time

Interface PlacePlusCode

Propriedades: compound_code, global_code

Interface PlacePhoto

Propriedades: height, html_attributions, width

Métodos: getUrl

Interface PhotoOptions

Propriedades: maxHeight, maxWidth

Interface PlaceReview

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

Serviço de preenchimento automático do Places

Classe AutocompleteService

Métodos: getPlacePredictions, getQueryPredictions

Interface de preenchimento automático

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

Interface AutocompleteResponse

Propriedades: predictions

Interface QueryAutocompletionRequest

Propriedades: bounds, input, location, offset, 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 do PredictionTerm

Propriedades: offset, value

Interface do PredictionSubstring

Propriedades: length, offset

Interface StructuredFormatting

Propriedades: main_text, main_text_matched_substrings, secondary_text

Geocoder

Classe geocodificador

Métodos: geocode

Interface GeocoderRequest

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

Interface GeocoderComponentRestrictions

Propriedades: administrativeArea, country, locality, postalCode, route

Constantes GeocoderStatus

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

Interface GeocoderResponse

Propriedades: results

Interface GeocoderResult

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

Interface GeocoderAddressComponent

Propriedades: long_name, short_name, types

Interface GeocoderGeometry

Propriedades: bounds, location, location_type, viewport

Constantes GeocoderLocationType

Constantes: APPROXIMATE, GEOMETRIC_CENTER, RANGE_INTERPOLATED, ROOFTOP

Rotas

Directions

Classe DirectionsService

Métodos: route

Interface DirectionsRequest

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

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

Interface DirectionsWaypoint

Propriedades: location, stopover

Interface DirectionsGeocodedWaypoint

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 DirectionsPolyline

Propriedades: points

Interface do lugar

Propriedades: location, placeId, query

Constantes TravelMode

Constantes: BICYCLING, DRIVING, TRANSIT, WALKING

Interface DrivingOptions

Propriedades: departureTime, trafficModel

Constantes TrafficModel

Constantes: BEST_GUESS, OPTIMISTIC, PESSIMISTIC

Interface TransitOptions

Propriedades: arrivalTime, departureTime, modes, routingPreference

Constantes TransitMode

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 do 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 UnitUnit (link em inglês)

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 DirectionsTravelMode
Constantes de DirectionsUnitSystem

Distance Matrix

Classe DistanceMatrixService

Métodos: getDistanceMatrix

Interface DistanceMatrixRequest

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

Interface do DistanceMatrixResponse

Propriedades: destinationAddresses, originAddresses, rows

Interface DistanceMatrixResponseRow

Propriedades: elements

Interface DistanceMatrixResponseElement

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

Classe ElevationService

Métodos: getElevationAlongPath, getElevationForLocations

Interface LocationElevationRequest

Propriedades: locations

Interface LocationElevationResponse

Propriedades: results

Interface PathElevationRequest

Propriedades: path, samples

Interface PathElevationResponse

Propriedades: results

Interface ElevationResult

Propriedades: elevation, location, resolution

Constantes ElevationStatus

Constantes: INVALID_REQUEST, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR

Compartilhamento de jornada

Visualização de mapa

Classe JourneySharingMapView

Propriedades: anticipatedRoutePolylines, anticipatedRoutePolylineSetup, automaticViewportMode, element, enableTraffic, locationProvider, map, mapOptions, takenRoutePolylines, takenRoutePolylineSetup, destinationMarkerSetup, originMarkerSetup, pingMarkerSetup, successfulTaskMarkerSetup, taskOutcomeMarkerSetup, unsuccessfulTaskMarkerSetup, vehicleMarkerSetup, waypointMarkerSetup, destinationMarkers, 22, , }, , , }originMarkerssuccessfulTaskMarkerstaskOutcomeMarkersunsuccessfulTaskMarkersvehicleMarkerswaypointMarkers

Interface JourneySharingMapViewOptions

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

Constantes AutomaticViewportMode

Constantes: FIT_ANTICIPATED_ROUTE, NONE

Classe abstrata LocationProvider

Métodos: addListener

Classe abstrata PollingLocationProvider

Propriedades: isPolling, pollingIntervalMillis

Eventos: ispollingchange

Interface PollingLocationProviderIsPollingChangeEvent

Propriedades: error

Authentication

Interface do AuthToken

Propriedades: expiresInSeconds, token

Interface do AuthTokenContext

Propriedades: deliveryVehicleId, taskId, trackingId, tripId, vehicleId

AuthTokenFetcher typedef (link em inglês)
Interface do AuthTokenFetcherOptions

Propriedades: context, serviceType

Constantes de FleetEngineServiceType

Constantes: DELIVERY_VEHICLE_SERVICE, TASK_SERVICE, TRIP_SERVICE, UNKNOWN_SERVICE

Personalização da IU

PolylineSetup typedef
Interface PolylineSetupOptions

Propriedades: polylineOptions, visible

Interface DefaultPolylineSetupOptions (em inglês)

Propriedades: defaultPolylineOptions, defaultVisible

MarkerSetup typedef (link em inglês)
Interface MarkerSetupOptions

Propriedades: markerOptions

Interface DefaultMarkerSetupOptions

Propriedades: defaultMarkerOptions

Interface MarkerCustomizationFunctionParams

Propriedades: defaultOptions, isNew, marker

Interface DeliveryVehicleMarkerCustomizationFunctionParams

Propriedades: vehicle

Interface PlannedStopMarkerCustomizationFunctionParams

Propriedades: stopIndex

Interface TaskMarkerCustomizationFunctionParams

Propriedades: task

Interface ShipmentMarkerCustomizationFunctionParams

Propriedades: taskTrackingInfo

Interface TripMarkerCustomizationFunctionParams

Propriedades: trip

Interface TripWaypointMarkerCustomizationFunctionParams

Propriedades: waypointIndex

Entidades do Fleet Engine

Interface de tarefas

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

Interface TaskTrackingInfo

Propriedades: estimatedArrivalTime, estimatedTaskCompletionTime, latestVehicleLocationUpdate, name, plannedLocation, remainingDrivingDistanceMeters, remainingStopCount, routePolylinePoints, state, taskOutcome, taskOutcomeTime, trackingId

Interface de viagem

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

Interface DeliveryVehicle (link em inglês)

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

Interface DeliveryVehicleStop

Propriedades: tasks

Constantes DeliveryVehicleStopState (link em inglês)

Constantes: ARRIVED, ENROUTE, NEW, UNSPECIFIED

Interface VehicleJourneySegment

Propriedades: drivingDistanceMeters, drivingDurationMillis, path, stop

Interface VehicleLocationUpdate

Propriedades: heading, location, speedKilometersPerHour, time

Interface VehicleWaypoint (em inglês)

Propriedades: distanceMeters, durationMillis, location, path

Progresso da viagem e do pedido

Classe FleetEngineTripLocationProvider

Propriedades: tripId

Métodos: refresh

Eventos: error, update

Interface FleetEngineTripLocationProviderOptions

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

Interface FleetEngineTripLocationProviderUpdateEvent

Propriedades: trip

Rastreamento de frotas

Classe FleetEngineDeliveryVehicleLocationProvider

Propriedades: deliveryVehicleId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

Eventos: error, update

Interface do FleetEngineDeliveryVehicleLocationProviderOptions

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

Interface FleetEngineTaskFilterOptions

Propriedades: completionTimeFrom, completionTimeTo, state

Interface FleetEngineDeliveryVehicleLocationProviderUpdateEvent (link em inglês)

Propriedades: completedVehicleJourneySegments, deliveryVehicle, tasks

Classe FleetEngineDeliveryFleetLocationProvider

Propriedades: deliveryVehicleFilter, locationRestriction, staleLocationThresholdMillis

Eventos: update

Interface do FleetEngineDeliveryFleetLocationProviderOptions

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

Interface do FleetEngineDeliveryFleetLocationProviderUpdateEvent

Propriedades: deliveryVehicles

Rastreamento de frete

Classe FleetEngineShipmentLocationProvider

Propriedades: trackingId

Métodos: refresh

Eventos: error, update

Interface FleetEngineShipmentLocationProviderOptions

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

Interface do FleetEngineShipmentLocationProviderUpdateEvent

Propriedades: taskTrackingInfo

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 LocalContextMapViewOptions

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

BetaPlaceTypePreference typedef (link em inglês)
BetaClasse MapDirectionsOptions

Métodos: addListener

BetaInterface MapDirectionsOptionsLiteral

Propriedades: origin

BetaInterface 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