Google Maps JavaScript API V3 Reference

Última atualização na quinta-feira, 27 de outubro de 2022

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

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

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

Conceitos globais

google.maps

Namespace do google.maps

Constantes: version

Configurações (Beta)

">Classe de configurações

Métodos estáticos: ">getInstance

Propriedades: ">experienceIds

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 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_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, ">getFeatureLayer, getHeading, ">getMapCapabilities, getMapTypeId, getProjection, getRenderingType, getStreetView, getTilt, getZoom, moveCamera, panBy, panTo, panToBounds, setCenter, {28 }

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

Interface MapOptions

Mídia respeitável

Interface JumpStyle

Propriedades: elementType, featureType, stylers

Interface MapArgs

Propriedades: domEvent, latLng

Métodos: stop

Interface do iconIcon

Propriedades: placeId

Constantes de JumpId

Constantes: HYBRID, ROADMAP, SATELLITE e TERRAIN

Classe vTPMRegistry

Métodos: set

Interface MapRestriction

Propriedades: latLngBounds, strictBounds

Classe TrafficLayer

Métodos: getMap, setMap, setOptions

Interface TrafficLayerOptions

Propriedades: autoRefresh, map

Classe TransitLayer

Métodos: getMap, setMap

Classe BicyclingLayer

Métodos: getMap, setMap

">Interface CameraOptions

Propriedades: center, heading, tilt, zoom

Interface RegionRegion

Propriedades: farLeft, farRight, latLngBounds, nearLeft, nearRight

Constantes de RenderType

Constantes: RASTER, UNINITIALIZED, VECTOR

">Interface MapCapabilities

Propriedades: isAdvancedMarkersAvailable, isDataDrivenStylingAvailable

GLG

Classe WebGLOverlayView

Métodos: getMap, onAdd, onContextLost, onContextRestored, onDraw, onRemove, onStateUpdate, requestRedraw, requestStateUpdate e 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 GCLID

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

Interface LiteLiteral

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 BoundBoundsLiteral

Propriedades: east, north, south, west

Classe AltAltitude

Propriedades: altitude, lat, lng

Métodos: equals, toJSON

Interface AltAltitudeLiteral

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 CircleLiteral

Propriedades: center, radius

Estilo com base em dados (Beta)

">Interface FeatureLayer

Propriedades: featureType, isAvailable, style

Métodos: addListener

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

">FeatureStyleFunction typedef
">Interface FeatureStyleFunctionOptions

Propriedades: feature

">Interface FeatureStyleOptions

Propriedades: fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWeight

">Interface de recursos

Propriedades: featureType

">Interface PlaceFeature

Propriedades: displayName, placeId

">Interface FeatureFeature

Propriedades: features

Controles

Interface FullscreenControlOptions

Propriedades: position

Interface JumpControlOptions

Propriedades: mapTypeIds, position, style

Constantes de vTPMControlStyle

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

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

Métodos estáticos: containsLocation, isLocationOnEdge

Como 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, {28, {28, 12, 20, 12, 15, 15, 15, 15, 15, 13,

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, zindex_changed/

Interface MarkerOptions

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

">Constantes de CollisionBehavior

Constantes: OPTIONAL_AND_HIDES_LOWER_PRIORITY, REQUIRED, REQUIRED_AND_HIDES_OPTIONAL

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

Constantes de SymbolPath

Constantes: BACKWARD_CLOSED_ARROW, BACKWARD_OPEN_ARROW, CIRCLE, FORWARD_CLOSED_ARROW e FORWARD_OPEN_ARROW

Constantes de animação

Constantes: BOUNCE, DROP

Marcadores avançados (Beta)

">Classe AdvancedMarkerView

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

Métodos: addListener

Eventos: click, drag, dragend, dragstart

">Interface AdvancedMarkerViewOptions

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

">Classe PinView

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

Métodos: addListener

">Interface PinViewOptions

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

Janela de informações

Classe da 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, zindex_changed

Interface OptionsOptions

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

Interface WindowOpenOptions

Propriedades: anchor, map, shouldFocus

Polígonos

Classe Polygon

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 GeocodingOptions

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

Interface do PolyArgs

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

Classe Circle

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

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

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

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

KML

Classe omnibox

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

Eventos: click, defaultviewport_changed, status_changed

Interface do Options

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

Interface ConfigMapMetadata

Propriedades: author, description, hasScreenOverlays, name, snippet

Constantes de STATUSStatus

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

Interface LoadBalancerArgs

Propriedades: featureData, latLng, pixelOffset

Interface FeatureFeatureData

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

Interface LoadBalancerAuthor

Propriedades: email, name, uri

Sobreposições de imagem

Interface PSA

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

Métodos: getTile, releaseTile

Interface de projeção

Métodos: fromLatLngToPoint, fromPointToLatLng

Classe ImageJump

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

Métodos: getOpacity, getTile, releaseTile, setOpacity

Eventos: tilesloaded

Interface ImageJumpOptions

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 Styledsplash

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

Métodos: getTile, releaseTile

Interface StyledJumpOptions

Propriedades: alt, maxZoom, minZoom, name

Biblioteca de desenho

Classe DesenhoManager

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

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

Interface DrawManagerOptions

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

Interface DrawControlOptions

Propriedades: drawingModes, position

Interface OverlayCompleteEvent (link em inglês)

Propriedades: overlay, type

Constantes de OverlayType

Constantes: CIRCLE, MARKER, POLYGON, POLYLINE e RECTANGLE

Mapas de calor

Classe HeatmapLayer

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

Interface StreetViewAddressControlOptions

Propriedades: position

Interface PanorProviderOptions (em inglês)

Propriedades: cors

Interface 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 StreetViewLocationRequest

Propriedades: location, preference, radius, source

Interface StreetViewPanoRequest

Propriedades: pano

Interface StreetViewResponse

Propriedades: data

Interface StreetViewLocation

Propriedades: description, latLng, pano, shortDescription

Constantes de PreferencePreference

Constantes: BEST, NEAREST

Constantes do StreetViewSource

Constantes: DEFAULT, OUTDOOR

Interface StreetViewPanoramaData

Propriedades: copyright, imageDate, links, location, tiles

Propriedades: description, heading, pano

Places

Widgets do Places

Classe Autocomplete

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

Eventos: place_changed

Interface AutocompleteOptions (em inglês)

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

Métodos: getBounds, getPlaces, setBounds

Eventos: places_changed

Interface SearchBoxOptions

Propriedades: bounds

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 (link em inglês)
Constantes de 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 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, rating, {28, {28, 12, 12, 15, 15, 12, 15, 12, 15, 12, 12 e um 12 aspects, {22, 12, 15, 15/12

Interface do PlaceAspectRating

Propriedades: rating, type

Constantes BusinessStatus

Constantes: CLOSED_PERMANENTLY, CLOSED_TEMPORARILY, OPERATIONAL

Interface PlaceGeo

Propriedades: location, viewport

Interface do PlaceOpeningHours

Propriedades: periods, weekday_text, open_now

Métodos: isOpen

Interface 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 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 de preenchimento automático do Places

Classe AutocompleteService

Métodos: getPlacePredictions, getQueryPredictions

Interface AutocompletionRequest

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 PredictionSubstring

Propriedades: length, offset

Interface StructuredFormat

Propriedades: main_text, main_text_matched_substrings, secondary_text

Geocoder

Classe geocodificador

Métodos: geocode

Interface GeocodingRequest

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

Interface ComponentComponentRestrictions

Propriedades: administrativeArea, country, locality, postalCode, route

Constantes de geocodificador

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

Interface GeocodingResponse

Propriedades: results

Interface GeocodingResult

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

Interface AddressAddressComponent

Propriedades: long_name, short_name, types

Interface GeocodingGeometria

Propriedades: bounds, location, location_type, viewport

Constantes de GeolocationLocationType

Constantes: APPROXIMATE, GEOMETRIC_CENTER, RANGE_INTERPOLATED e ROOFTOP

Rotas

Directions

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

Interface DirectionsPolygon

Propriedades: points

Interface do lugar

Propriedades: location, placeId, query

Constantes TravelMode

Constantes: BICYCLING, DRIVING, TRANSIT e WALKING

Interface DriverOptions

Propriedades: departureTime, trafficModel

Constantes de TrafficModel (link em inglês)

Constantes: BEST_GUESS, OPTIMISTIC, PESSIMISTIC

Interface TransitOptions

Propriedades: arrivalTime, departureTime, modes, routingPreference

Constantes de TransitMode

Constantes: BUS, RAIL, SUBWAY, TRAIN e 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 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 e 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

Distance Matrix

Classe DistanceMatrixService

Métodos: getDistanceMatrix

Interface do DistanceMatrixRequest

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

Interface do DistanceMatrixResponse

Propriedades: destinationAddresses, originAddresses, rows

Interface do DistanceMatrixResponseRow

Propriedades: elements

Interface DistanceMatrixResponseElement (link em inglês)

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

Propriedades: locations

Interface LocationElevationResponse

Propriedades: results

Interface PathElevationRequest

Propriedades: path, samples

Interface PathElevationResponse

Propriedades: results

Interface ElevationResult (em inglês)

Propriedades: elevation, location, resolution

Constantes de ElevationStatus

Constantes: INVALID_REQUEST, OK, OVER_QUERY_LIMIT, REQUEST_DENIED e UNKNOWN_ERROR

Contexto local (Beta)

Visualização de mapa

">Classe LocalContextMapView

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

Métodos: addListener, hidePlaceDetailsView, search

Eventos: error, placedetailsviewhidestart, placedetailsviewshowstart

">Interface do LocalContextMapViewOptions

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

">PlaceTypePreference typedef.
">Classe MapDirectionsOptions

Métodos: addListener

">Interface MapDirectionsOptionsLiteral

Propriedades: origin

">Interface de pinOptions

Propriedades: background, glyphColor, scale

Interface PlaceChooserViewSetupOptions

Propriedades: layoutMode, position

">Constantes PlaceChooserLayoutMode

Constantes: HIDDEN, SHEET

">Constantes PlaceChooserPosition

Constantes: BLOCK_END, INLINE_END, INLINE_START

Interface PlaceDetailsViewSetupOptions

Propriedades: hidesOnMapClick, layoutMode, position

">Constantes PlaceDetailsLayoutMode

Constantes: INFO_WINDOW, SHEET

">Constantes PlaceDetailsPosition

Constantes: INLINE_END, INLINE_START

Compartilhar trajeto (Beta)

Visualização de mapa

">Classe JourneysharingMapView

Propriedades: anticipatedRoutePolylines, anticipatedRoutePolylineSetup, automaticViewportMode, destinationMarkers, destinationMarkerSetup, element, enableTraffic, locationProvider, map, mapOptions, originMarkers, originMarkerSetup, pingMarkerSetup, successfulTaskMarkers, successfulTaskMarkerSetup, takenRoutePolylines, takenRoutePolylineSetup, taskOutcomeMarkers, taskOutcomeMarkerSetup, {28, {28, }}

">Interface JourneysharingMapViewOptions

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

">Constantes de AutoViewportMode

Constantes: FIT_ANTICIPATED_ROUTE, NONE

">Classe abstrata LocationProvider

Métodos: addListener

Authentication

">Interface do 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 do FleetEngineServiceType

Constantes: DELIVERY_VEHICLE_SERVICE, TASK_SERVICE, TRIP_SERVICE e UNKNOWN_SERVICE

Personalização da IU

">PolySetup typedef
">Interface GeocodingSetupOptions

Propriedades: polylineOptions, visible

">Interface DefaultDefaultSetupOptions

Propriedades: defaultPolylineOptions, defaultVisible

">MarkerSetup typedef
">Interface MarkerSetupOptions

Propriedades: markerOptions

">Interface DefaultMarkerSetupOptions

Propriedades: defaultMarkerOptions

Entidades de frota

">Interface de tarefas

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

">Interface de viagens

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

">Interface DeliveryVehicle

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

">Interface VehicleJourneySegment

Propriedades: distanceMeters, durationMillis, extraDurationMillis, location, path

">Interface VehicleLocationUpdate

Propriedades: heading, location, speedKilometersPerHour, time

">Interface VehicleWaypoint

Propriedades: distanceMeters, durationMillis, location, path

Progresso de viagens e pedidos

">Classe FleetEngineTripLocationProvider

Propriedades: tripId

Métodos: refresh

Eventos: error, update

">Interface FleetEngineTripLocationProviderOptions

Propriedades: authTokenFetcher, pollingIntervalMillis, projectId, tripId

">Interface FleetEngineTripLocationProviderUpdateEvent

Propriedades: trip

Rastreamento de frotas

">Classe FleetEngineDeliveryVehicleLocationProvider

Propriedades: deliveryVehicleId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

Eventos: error, update

">Interface FleetEngineDeliveryVehicleLocationProviderOptions

Propriedades: authTokenFetcher, deliveryVehicleId, pollingIntervalMillis, projectId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

">Interface FleetEngineTaskFilterOptions

Propriedades: completionTimeFrom, completionTimeTo, state

">Interface FleetEngineDeliveryVehicleLocationProviderUpdateEvent

Propriedades: completedVehicleJourneySegments, deliveryVehicle, tasks

">Classe FleetEngineDeliveryFleetLocationProvider

Propriedades: deliveryVehicleFilter, locationRestriction, pollingIntervalMillis, staleLocationThresholdMillis

Eventos: update

">Interface FleetEngineDeliveryFleetLocationProviderOptions

Propriedades: authTokenFetcher, deliveryVehicleFilter, locationRestriction, projectId, staleLocationThresholdMillis

">Interface FleetEngineDeliveryFleetLocationProviderUpdateEvent

Propriedades: deliveryVehicles

Rastreamento de frete

">Classe FleetEngineShipmentLocationProvider

Propriedades: trackingId

Métodos: getTask, refresh

Eventos: error, update

">Interface FleetEngineShipmentLocationProviderOptions

Propriedades: authTokenFetcher, pollingIntervalMillis, projectId, trackingId

">Interface FleetEngineShipmentLocationProviderUpdateEvent

Propriedades: task