Google Maps JavaScript API V3 Reference

Última atualização: segunda-feira, 26 de fevereiro de 2024

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

Para mais informações, consulte as Notas de lançamento e o Controle de versões.
Consulte também a documentação de referência da versão 3.55 (canal trimestral), da versão 3.54 e da versão 3.53.

Clique no nome de qualquer item para acessar 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 do MapsLibrary

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

Interface do PlacesLibrary

Propriedades: AccessibilityOptions, AddressComponent, Attribution, AuthorAttribution, Autocomplete, AutocompleteService, AutocompleteSessionToken, BusinessStatus, OpeningHours, OpeningHoursPeriod, OpeningHoursPoint, ParkingOptions, PaymentOptions, Photo, Place, PlacesService, PlacesServiceStatus, PlusCode, PriceLevel, Attribution, Attribution, Attribution, AttributionRankByReviewSearchBoxSearchByTextRankPreference

Interface GeocodingLibrary

Propriedades: Geocoder, GeocoderLocationType, GeocoderStatus

Interface RoutesLibrary

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

Interface MarkerLibrary

Propriedades: AdvancedMarkerClickEvent, AdvancedMarkerElement, Animation, CollisionBehavior, Marker, PinElement

Interface GeometryLibrary

Propriedades: encoding, poly, spherical

Interface ElevationLibrary

Propriedades: ElevationService, ElevationStatus

Interface do StreetViewLibrary

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

Interface JourneySharingLibrary

Propriedades: AutomaticViewportMode, DeliveryVehicleStopState, FleetEngineDeliveryFleetLocationProvider, FleetEngineDeliveryVehicleLocationProvider, FleetEngineFleetLocationProvider, FleetEngineServiceType, FleetEngineShipmentLocationProvider, FleetEngineTripLocationProvider, FleetEngineVehicleLocationProvider, JourneySharingMapView, Speed, TripType, VehicleNavigationStatus, VehicleState, VehicleType, WaypointType

Interface DrawingLibrary

Propriedades: DrawingManager, OverlayType

Interface da VisualizaçãoLibrary

Propriedades: HeatmapLayer

Configurações (Beta)

BetaClasse Settings

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 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_GET_PLACE, PLACES_GET_PLACE, PLACES_GET_PLACE, PLACES_GET_PLACEPLACES_LOCAL_CONTEXT_SEARCHPLACES_NEARBY_SEARCHPLACES_SEARCH_TEXTSTREETVIEW_GET_PANORAMA

Mapas

Maps

Classe do mapa

Propriedades: controls, data, mapTypes, overlayMapTypes

Métodos: fitBounds, getBounds, getCenter, getClickableIcons, BetagetDatasetFeatureLayer, getDiv, getFeatureLayer, getHeading, getMapCapabilities, getMapTypeId, getProjection, getRenderingType, getStreetView, getTilt, getZoom, moveCamera, panBy, panTo, panToBounds, , , getCenter, getCenter, getCentersetCentersetClickableIconssetHeadingsetMapTypeIdsetOptionssetStreetViewsetTiltsetZoom

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, mouseout, mouseover, projection_changed, renderingtype_changed, tilesloaded, renderingtype_changed, tilesloaded, clicktilt_changedzoom_changedrightclick

Interface MapOptions

Propriedades: backgroundColor, center, clickableIcons, controlSize, disableDefaultUI, disableDoubleClickZoom, draggableCursor, draggingCursor, fullscreenControl, fullscreenControlOptions, gestureHandling, heading, isFractionalZoomEnabled, keyboardShortcuts, mapId, mapTypeControl, mapTypeControlOptions, mapTypeId, maxZoom, mapTypeId, maxZoom, mapTypeId,maxZoom, mapTypeId,maxZoom, maxZoomminZoomnoClearrestrictionrotateControlrotateControlOptionsscaleControlscaleControlOptionsscrollwheelstreetViewstreetViewControlstreetViewControlOptionsstylestiltzoomzoomControlzoomControlOptionsdraggablepanControlpanControlOptions

BetaClasse MapElement

Propriedades: center, innerMap, mapId, zoom

Métodos: BetaaddEventListener, BetaremoveEventListener

Eventos: gmp-zoomchange

BetaInterface MapElementOptions

Propriedades: center, mapId, zoom

BetaClasse ZoomChangeEvent
Interface MapTypeStyle

Propriedades: elementType, featureType, stylers

Interface do MapMouseEvent

Propriedades: domEvent, latLng

Métodos: stop

Interface IconMouseEvent

Propriedades: placeId

Constantes de MapTypeId

Constantes: HYBRID, ROADMAP, SATELLITE, TERRAIN

Classe MapTypeRegistry

Métodos: set

Interface da MapRestriction

Propriedades: latLngBounds, strictBounds

Classe TrafficLayer

Métodos: getMap, setMap, setOptions

Interface TrafficLayerOptions

Propriedades: autoRefresh, map

Classe TransitLayer

Métodos: getMap, setMap

Classe BicycleLayer

Métodos: getMap, setMap

BetaInterface CameraOptions

Propriedades: center, heading, tilt, zoom

Interface VisibleRegion

Propriedades: farLeft, farRight, latLngBounds, nearLeft, nearRight

Constantes de RenderingType

Constantes: RASTER, UNINITIALIZED, VECTOR

Interface do 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 do 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 do LatLngBoundsLiteral

Propriedades: east, north, south, west

Classe LatLngAltitude

Propriedades: altitude, lat, lng

Métodos: equals, toJSON

Interface do 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 padding

Propriedades: bottom, left, right, top

Interface do CircleLiteral

Propriedades: center, radius

Estilo orientado a dados

Interface FeatureLayer (em inglês)

Propriedades: BetadatasetId, featureType, isAvailable, style

Métodos: addListener

Eventos: click, mousemove

Constantes de FeatureType

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

FeatureStyleFunction typedef
Interface FeatureStyleFunctionOptions

Propriedades: feature

Interface FeatureStyleOptions

Propriedades: fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWeight

Interface de recursos

Propriedades: featureType

Interface PlaceFeature

Propriedades: placeId

Métodos: fetchPlace

BetaInterface DatasetFeature

Propriedades: datasetAttributes, datasetId

Interface FeatureMouseEvent

Propriedades: features

Controles

Interface FullscreenControlOptions

Propriedades: position

Interface MapTypeControlOptions

Propriedades: mapTypeIds, position, style

Constantes deMapTypeControlStyle

Constantes: DEFAULT, DROPDOWN_MENU, HORIZONTAL_BAR

Interface MotionTrackingControlOptions

Propriedades: position

Interface PanControlOptions

Propriedades: position

Interface GirarControlOptions

Propriedades: position

Interface ScaleControlOptions

Propriedades: style

Constantes ScaleControlStyle

Constantes: DEFAULT

Interface do StreetViewControlOptions

Propriedades: position, sources

Interface ZoomControlOptions

Propriedades: position

Constantes de ControlPosition

Constantes: BLOCK_END_INLINE_CENTER, BLOCK_END_INLINE_END, BLOCK_END_INLINE_START, BLOCK_START_INLINE_CENTER, BLOCK_START_INLINE_END, BLOCK_START_INLINE_START, BOTTOM_CENTER, BOTTOM_LEFT, BOTTOM_RIGHT, INLINE_END_BLOCK_CENTER, INLINE_END_BLOCK_END, INLINE_END_BLOCK_START, INLINE_START_BLOCK_CENTER, INLINE_START_BLOCK_END, INLINE_START_BLOCK_START, LEFT_BOTTOM, LEFT_CENTER, LEFT_TOP, RIGHT_BOTTOM, BLOCK_END_INLINE_START, BLOCK_END_INLINE_START, BLOCK_END_INLINE_STARTRIGHT_CENTERRIGHT_TOPTOP_CENTERTOP_LEFTTOP_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

Desenhar no mapa

Marcadores Avançados

Classe AdvancedMarkerElement

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

Métodos: BetaaddEventListener, addListener, BetaremoveEventListener

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

Interface AdvancedMarkerElementOptions

Propriedades: collisionBehavior, content, BetagmpClickable, gmpDraggable, map, position, title, zIndex

BetaClasse AdvancedMarkerClickEvent
Classe PinElement

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

Métodos: BetaaddEventListener, BetaremoveEventListener

Interface PinElementOptions

Propriedades: background, borderColor, glyph, glyphColor, scale

Janela de informações

Classe da janela de informações

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

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

Interface JanelaOptions

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

Interface janelaOpenOptions

Propriedades: anchor, map, shouldFocus

Polígonos

Classe 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, rightclick

Interface PolylineOptions

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

Interface IconSequence

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 Retâ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

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, 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 (link em inglês)
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 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 de 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 desenhos

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

Constantes: CIRCLE, MARKER, POLYGON, POLYLINE, RECTANGLE

Mapas de calor

Classe HeatmapLayer

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

Interface HeatmapLayerOptions (link em inglês)

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

Interface ponderadaLocation

Propriedades: location, weight

Zoom máximo

Classe MaxZoomService

Métodos: getMaxZoomAtLatLng

Interface MaxZoomResult

Propriedades: status, zoom

Constantes de MaxZoomStatus

Constantes: ERROR, OK

Marcador (legado)

Classe Marker

Métodos: getAnimation, getClickable, getCursor, getDraggable, getIcon, getLabel, getMap, getOpacity, getPosition, getShape, getTitle, getVisible, getZIndex, setAnimation, setClickable, setCursor, setDraggable, setIcon, setLabel, , , getCursor, getCursor, getCursorsetMapsetOpacitysetOptionssetPositionsetShapesetTitlesetVisiblesetZIndex

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

Interface MarkerOptions

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

Constantes CollisionBehavior (em inglês)

Constantes: OPTIONAL_AND_HIDES_LOWER_PRIORITY, REQUIRED, REQUIRED_AND_HIDES_OPTIONAL

Interface de í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 de SymbolPath

Constantes: BACKWARD_CLOSED_ARROW, BACKWARD_OPEN_ARROW, CIRCLE, FORWARD_CLOSED_ARROW, FORWARD_OPEN_ARROW

Constantes de animação

Constantes: BOUNCE, DROP

Street View

Renderização

Classe do 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, setZoom

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

Interface do StreetViewPanoramaOptions

Propriedades: addressControl, addressControlOptions, clickToGo, controlSize, disableDefaultUI, disableDoubleClickZoom, enableCloseButton, fullscreenControl, fullscreenControlOptions, imageDateControl, linksControl, motionTracking, motionTrackingControl, motionTrackingControlOptions, panControl, panControlOptions, pano, position, pov, position, pov, clickToGo, clickToGo, clickToGoscrollwheelshowRoadLabelsvisiblezoomzoomControlzoomControlOptions

Interface do StreetViewAddressControlOptions

Propriedades: position

Interface PanoProviderOptions

Propriedades: cors

Interface do StreetViewTileData

Propriedades: centerHeading, tileSize, worldSize

Métodos: getTileUrl

Interface do StreetViewPov

Propriedades: heading, pitch

Classe StreetViewCoverageLayer

Métodos: getMap, setMap

Serviço

Classe StreetViewService

Métodos: getPanorama

Constantes do StreetViewStatus

Constantes: OK, UNKNOWN_ERROR, ZERO_RESULTS

Interface do StreetViewLocationRequest

Propriedades: location, preference, radius, sources, source

Interface do StreetViewPanoRequest

Propriedades: pano

Interface do StreetViewResponse

Propriedades: data

Interface do StreetViewLocation

Propriedades: description, latLng, pano, shortDescription

Constantes do StreetViewPreference

Constantes: BEST, NEAREST

Constantes do StreetViewSource

Constantes: DEFAULT, GOOGLE, OUTDOOR

Interface do StreetViewPanoramaData

Propriedades: copyright, imageDate, links, location, tiles

Propriedades: description, heading, pano

Places

Widgets do Places

BetaClasse PlaceAutocompleteElement

Propriedades: componentRestrictions, locationBias, locationRestriction, name, requestedLanguage, requestedRegion, types

Métodos: BetaaddEventListener, BetaremoveEventListener

BetaInterface PlaceAutocompleteElementOptions

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

BetaClasse PlaceAutocompletePlaceSelectEvent

Propriedades: Betaplace

BetaClasse PlaceAutocompleteRequestErrorEvent
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, placeIdOnly

Métodos: getBounds, getPlaces, setBounds

Eventos: places_changed

Interface SearchBoxOptions

Propriedades: bounds

Place

Classe Place

Métodos estáticos: searchByText

Propriedades: accessibilityOptions, addressComponents, adrFormatAddress, allowsDogs, attributions, businessStatus, displayName, editorialSummary, editorialSummaryLanguageCode, formattedAddress, googleMapsURI, hasCurbsidePickup, hasDelivery, hasDineIn, hasLiveMusic, hasMenuForChildren, hasOutdoorSeating, hasRestroom,hasTakeout, hasRestroom,hasTakeout, hasRestroom,hasTakeouthasWiFiiconBackgroundColoridinternationalPhoneNumberisGoodForChildrenisGoodForGroupsisGoodForWatchingSportsisReservablelocationnationalPhoneNumberparkingOptionspaymentOptionsphotosplusCodepriceLevelratingregularOpeningHoursrequestedLanguagerequestedRegionreviewsservesBeerservesBreakfastservesBrunchservesCocktailsservesCoffeeservesDessertservesDinnerservesLunchservesVegetarianFoodservesWinesvgIconMaskURItypesuserRatingCountutcOffsetMinutesviewportwebsiteURIopeningHours

Métodos: fetchFields, BetagetNextOpeningTime, BetaisOpen, toJSON

Interface PlaceOptions

Propriedades: id, requestedLanguage, requestedRegion

Classe AccessibilityOptions

Propriedades: hasWheelchairAccessibleEntrance, hasWheelchairAccessibleParking, hasWheelchairAccessibleRestroom, hasWheelchairAccessibleSeating

BetaClasse AddressComponent

Propriedades: longText, shortText, types

BetaClasse de atribuição

Propriedades: provider, providerURI

Interface FetchFieldsRequest

Propriedades: fields

BetaClasse OpeningHours

Propriedades: periods, weekdayDescriptions

BetaClasse OpeningHoursPeriod

Propriedades: close, open

BetaClasse OpeningHoursPoint

Propriedades: day, hour, minute

Classe ParkingOptions

Propriedades: hasFreeGarageParking, hasFreeParkingLot, hasFreeStreetParking, hasPaidGarageParking, hasPaidParkingLot, hasPaidStreetParking, hasValetParking

Classe PaymentOptions

Propriedades: acceptsCashOnly, acceptsCreditCards, acceptsDebitCards, acceptsNFC

BetaClasse de fotos

Propriedades: authorAttributions, heightPx, widthPx

Métodos: getURI

BetaClasse AuthorAttribution

Propriedades: displayName, photoURI, uri

BetaClasse PlusCode

Propriedades: compoundCode, globalCode

BetaRevisar turma

Propriedades: authorAttribution, publishTime, rating, relativePublishTimeDescription, text, textLanguageCode

BetaConstantes de PriceLevel

Constantes: EXPENSIVE, FREE, INEXPENSIVE, MODERATE, VERY_EXPENSIVE

Interface SearchByTextRequest

Propriedades: fields, includedType, isOpenNow, language, locationBias, locationRestriction, maxResultCount, minRating, priceLevels, rankPreference, region, textQuery, useStrictTypeFiltering, query, BetarankBy

Constantes SearchByTextRankPreference

Constantes: DISTANCE, RELEVANCE

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 RankBy

Constantes: DISTANCE, PROMINENCE

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

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

Interface do 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, price_level, rating, price_level, rating, aspects, aspects, aspects, aspectsreviewstypesurluser_ratings_totalutc_offset_minutesvicinitywebsiteutc_offsetpermanently_closed

Interface PlaceAspectRating

Propriedades: rating, type

Constantes de 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 do PlaceOpeningHoursPeriod

Propriedades: close, open

Interface do PlaceOpeningHoursTime

Propriedades: day, hours, minutes, nextDate, time

Interface do PlacePlusCode

Propriedades: compound_code, global_code

Interface do PlacePhoto

Propriedades: height, html_attributions, width

Métodos: getUrl

Interface do 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 Places Autocomplete

Classe AutocompleteService

Métodos: getPlacePredictions, getQueryPredictions

Interface AutocompletionRequest

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

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

Propriedades: offset, value

Interface da PredictionSubstring

Propriedades: length, offset

Interface de formatação estruturada

Propriedades: main_text, main_text_matched_substrings, secondary_text

Geocoder

Classe do geocodificador

Métodos: geocode

Interface GeocoderRequest

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

Interface GeocoderComponentRestrictions

Propriedades: administrativeArea, country, locality, postalCode, route

Constantes de serviço do geocodificador (link em inglês)

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

Constantes: APPROXIMATE, GEOMETRIC_CENTER, RANGE_INTERPOLATED, ROOFTOP

Rotas

Directions

Classe DirectionsService

Métodos: route

Interface do 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 do DirectionsResult

Propriedades: available_travel_modes, geocoded_waypoints, request, 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 do DirectionsWaypoint

Propriedades: location, stopover

Interface DirectionsGeoencodedWaypoint (em inglês)

Propriedades: partial_match, place_id, types

Interface do DirectionsRoute

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

Interface do 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 Place

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 de 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 da TransitAgency

Propriedades: name, phone, url

Interface do TransitVehicle

Propriedades: icon, local_icon, name, type

Constantes de VehicleType (em inglês)

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 UnitSystem

Constantes: IMPERIAL, METRIC

Interface de distância

Propriedades: text, value

Interface de duração

Propriedades: text, value

Interface de hora

Propriedades: text, time_zone, value

Constantes de DirectionsTravelMode
Constantes DirectionsUnitSystem (link em inglês)

Distance Matrix

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

Constantes de DistanceMatrixStatus

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

Constantes de DistanceMatrixElementStatus

Constantes: NOT_FOUND, OK, ZERO_RESULTS

Elevation

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

Constantes: INVALID_REQUEST, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR

Compartilhamento de jornada

Visualização de mapa

Classe JourneySharingMapView

Propriedades: automaticViewportMode, element, enableTraffic, locationProviders, map, mapOptions, locationProvider, destinationMarkerSetup, originMarkerSetup, taskOutcomeMarkerSetup, unsuccessfulTaskMarkerSetup, vehicleMarkerSetup, waypointMarkerSetup, anticipatedRoutePolylineSetup, takenRoutePolylineSetup, pingMarkerSetup, successfulTaskMarkerSetup, destinationMarkers, originMarkers, destinationMarkers, originMarkers, enableTraffic, enableTraffic, enableTrafficsuccessfulTaskMarkerstaskOutcomeMarkersunsuccessfulTaskMarkersvehicleMarkerswaypointMarkersanticipatedRoutePolylinestakenRoutePolylines

Métodos: addLocationProvider, removeLocationProvider

Interface JourneySharingMapViewOptions

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

Constantes AutoViewportMode (link em inglês)

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 AuthToken

Propriedades: expiresInSeconds, token

Interface do AuthTokenContext

Propriedades: deliveryVehicleId, taskId, trackingId, tripId, vehicleId

AuthTokenFetcher typedef (link em inglês)
Interface AuthTokenFetcherOptions

Propriedades: context, serviceType

Constantes de FleetEngineServiceType

Constantes: DELIVERY_VEHICLE_SERVICE, TASK_SERVICE, TRIP_SERVICE, UNKNOWN_SERVICE

Personalização da interface

polySetup typedef
Interface PolylineSetupOptions

Propriedades: polylineOptions, visible

Interface DefaultPolylineSetupOptions

Propriedades: defaultPolylineOptions, defaultVisible

MarkerSetup typedef
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

BetaInterface VehicleMarkerCustomizationFunctionParams

Propriedades: vehicle

BetaInterface VehicleWaypointMarkerCustomizationFunctionParams

Propriedades: waypointIndex

Interface PolylineCustomizationFunctionParams

Propriedades: defaultOptions, isNew, polylines

Interface ShipmentPolylineCustomizationFunctionParams

Propriedades: taskTrackingInfo

Interface TrippolyCustomizationFunctionParams

Propriedades: trip

Interface VehiclePolylineCustomizationFunctionParams

Propriedades: vehicle

Interface DeliveryVehiclepolyCustomizationFunctionParams

Propriedades: deliveryVehicle

Entidades do Fleet Engine

Interface da tarefa

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

Interface TaskInfo

Propriedades: extraDurationMillis, id, targetTimeWindow

Interface TaskTrackingInfo

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

Interface de viagem

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

Interface do DeliveryVehicle

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

Interface DeliveryVehicleStop

Propriedades: plannedLocation, state, tasks

Constantes DeliveryVehicleStopState

Constantes: ARRIVED, ENROUTE, NEW, UNSPECIFIED

Interface do VehicleJourneyTopic (link em inglês)

Propriedades: drivingDistanceMeters, drivingDurationMillis, path, stop

Interface VehicleLocationUpdate

Propriedades: heading, location, speedKilometersPerHour, time

Interface VehicleWaypoint (em inglês)

Propriedades: distanceMeters, durationMillis, location, path, speedReadingIntervals

BetaInterface do veículo

Propriedades: attributes, currentRouteSegmentEndPoint, currentRouteSegmentVersion, currentTrips, etaToFirstWaypoint, latestLocation, maximumCapacity, name, navigationStatus, remainingDistanceMeters, supportedTripTypes, vehicleState, vehicleType, waypoints, waypointsVersion

BetaConstantes VehicleNavigationStatus

Constantes: ARRIVED_AT_DESTINATION, ENROUTE_TO_DESTINATION, NO_GUIDANCE, OFF_ROUTE, UNKNOWN_NAVIGATION_STATUS

BetaConstantes VehicleState

Constantes: OFFLINE, ONLINE, UNKNOWN_VEHICLE_STATE

BetaConstantes de VehicleType

Constantes: AUTO, TAXI, TRUCK, TWO_WHEELER, UNKNOWN

BetaConstantes de TripType

Constantes: EXCLUSIVE, SHARED, UNKNOWN_TRIP_TYPE

BetaInterface do TripWaypoint

Propriedades: distanceMeters, durationMillis, location, path, speedReadingIntervals, tripId, waypointType

BetaConstantes de WaypointType

Constantes: DROP_OFF_WAYPOINT_TYPE, INTERMEDIATE_DESTINATION_WAYPOINT_TYPE, PICKUP_WAYPOINT_TYPE, UNKNOWN_WAYPOINT_TYPE

Interface TimeWindow

Propriedades: endTime, startTime

Constantes de velocidade

Constantes: NORMAL, SLOW, TRAFFIC_JAM

Interface do SpeedReadingInterval

Propriedades: endPolylinePointIndex, speed, startPolylinePointIndex

Progresso da viagem e do pedido

Classe FleetEngineTripLocationProvider

Métodos estáticos: TRAFFIC_AWARE_ACTIVE_POLYLINE_CUSTOMIZATION_FUNCTION, TRAFFIC_AWARE_REMAINING_POLYLINE_CUSTOMIZATION_FUNCTION

Propriedades: tripId

Métodos: refresh

Eventos: error, update

Interface do FleetEngineTripLocationProviderOptions

Propriedades: activePolylineCustomization, authTokenFetcher, destinationMarkerCustomization, originMarkerCustomization, pollingIntervalMillis, projectId, remainingPolylineCustomization, takenPolylineCustomization, tripId, vehicleMarkerCustomization, waypointMarkerCustomization

Interface do FleetEngineTripLocationProviderUpdateEvent

Propriedades: trip

Rastreamento de frota — Última etapa da frota

Classe FleetEngineDeliveryVehicleLocationProvider

Propriedades: deliveryVehicleId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

Eventos: error, update

Interface do FleetEngineDeliveryVehicleLocationProviderOptions

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

Interface do FleetEngineTaskFilterOptions

Propriedades: completionTimeFrom, completionTimeTo, state

Interface do FleetEngineDeliveryVehicleLocationProviderUpdateEvent

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 frota — Viagens e entregas sob demanda (Beta)

BetaClasse FleetEngineVehicleLocationProvider

Métodos estáticos: TRAFFIC_AWARE_ACTIVE_POLYLINE_CUSTOMIZATION_FUNCTION, TRAFFIC_AWARE_REMAINING_POLYLINE_CUSTOMIZATION_FUNCTION

Propriedades: staleLocationThresholdMillis, vehicleId

Eventos: error, update

BetaInterface do FleetEngineVehicleLocationProviderOptions

Propriedades: activePolylineCustomization, authTokenFetcher, destinationMarkerCustomization, intermediateDestinationMarkerCustomization, originMarkerCustomization, pollingIntervalMillis, projectId, remainingPolylineCustomization, staleLocationThresholdMillis, takenPolylineCustomization, vehicleId, vehicleMarkerCustomization

BetaInterface do FleetEngineVehicleLocationProviderUpdateEvent

Propriedades: trips, vehicle

BetaClasse FleetEngineFleetLocationProvider

Propriedades: locationRestriction, staleLocationThresholdMillis, vehicleFilter

Eventos: update

BetaInterface do FleetEngineFleetLocationProviderOptions

Propriedades: authTokenFetcher, locationRestriction, projectId, staleLocationThresholdMillis, vehicleFilter, vehicleMarkerCustomization

BetaInterface do FleetEngineFleetLocationProviderUpdateEvent

Propriedades: vehicles

Rastreamento de envio

Classe FleetEngineShipmentLocationProvider

Propriedades: trackingId

Métodos: refresh

Eventos: error, update

Interface do FleetEngineShipmentLocationProviderOptions

Propriedades: activePolylineCustomization, authTokenFetcher, deliveryVehicleMarkerCustomization, destinationMarkerCustomization, pollingIntervalMillis, projectId, remainingPolylineCustomization, takenPolylineCustomization, 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
BetaClasse MapDirectionsOptions

Métodos: addListener

BetaInterface do MapDirectionsOptionsLiteral

Propriedades: origin

BetaInterface PinOptions

Propriedades: background, glyphColor, scale

Interface PlaceChooserViewSetupOptions

Propriedades: layoutMode, position

BetaConstantes PlaceChooserLayoutMode

Constantes: HIDDEN, SHEET

BetaConstantes PlaceChooserPosition

Constantes: BLOCK_END, INLINE_END, INLINE_START

Interface PlaceDetailsViewSetupOptions

Propriedades: hidesOnMapClick, layoutMode, position

BetaConstantes PlaceDetailsLayoutMode

Constantes: INFO_WINDOW, SHEET

BetaConstantes PlaceDetailsPosition

Constantes: INLINE_END, INLINE_START