Google Maps JavaScript API V3 Reference

Restez organisé à l'aide des collections Enregistrez et classez les contenus selon vos préférences.

Dernière mise à jour le lundi 6 mars 2023

Il s'agit d'un index de toutes les classes, méthodes et interfaces de la version 3.52 (canal hebdomadaire) de l'API Maps JavaScript. Cette référence est mise à jour avec les dernières modifications apportées à l'API.

Pour en savoir plus, consultez les notes de version et la gestion des versions.
Consultez également la documentation de référence sur les versions 3.51 (trimestrielles), 3.50 et 3.49.

Cliquez sur le nom d'un élément pour afficher la documentation détaillée.

Concepts généraux

google.maps.

Espace de noms google.maps

Méthodes statiques : importLibrary

Constantes : version

Interface CoreLibrary

Propriétés : ControlPosition, event, LatLng, LatLngAltitude, LatLngBounds, MapsNetworkError, MapsNetworkErrorEndpoint, MapsRequestError, MapsServerError, MVCArray, MVCObject, Point, Settings, Size, SymbolPath, UnitSystem

Interface MapsLibrary

Propriétés : BicyclingLayer, Circle, Data, FeatureType, GroundOverlay, ImageMapType, InfoWindow, KmlLayer, KmlLayerStatus, Map, MapTypeControlStyle, MapTypeId, MapTypeRegistry, MaxZoomService, MaxZoomStatus, OverlayView, Polygon, Polyline,Rectangle, Rectangle, Rectangle,

Interface PlacesLibrary

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

Interface GeocodingLibrary

Propriétés : Geocoder, GeocoderLocationType, GeocoderStatus

Interface RoutesLibrary

Propriétés : DirectionsRenderer, DirectionsService, DirectionsStatus, DistanceMatrixElementStatus, DistanceMatrixService, DistanceMatrixStatus, TrafficModel, TransitMode, TransitRoutePreference, TravelMode, VehicleType

Interface MarkerLibrary

Propriétés : AdvancedMarkerView, Animation, CollisionBehavior, Marker, PinView

Interface GeometryLibrary

Propriétés : encoding, poly, spherical

Interface ElevationLibrary

Propriétés : ElevationService, ElevationStatus

Interface StreetViewLibrary

Propriétés : InfoWindow, OverlayView, StreetViewCoverageLayer, StreetViewPanorama, StreetViewPreference, StreetViewService, StreetViewSource, StreetViewStatus

BêtaInterface de SharedSharingLibrary

Propriétés : AutomaticViewportMode, DeliveryVehicleStopState, FleetEngineDeliveryFleetLocationProvider, FleetEngineDeliveryVehicleLocationProvider, FleetEngineServiceType, FleetEngineShipmentLocationProvider, FleetEngineTripLocationProvider, JourneySharingMapView

Interface DrawingLibrary

Propriétés : DrawingManager, OverlayType

InterfaceVisualizationLibrary

Propriétés : HeatmapLayer

Paramètres (bêta)

BêtaClasse des paramètres

Méthodes statiques : BetagetInstance

Propriétés : BetaexperienceIds

Système d'événements

classe

Méthodes statiques : addListener, addListenerOnce, clearInstanceListeners, clearListeners, hasListeners, removeListener, trigger, addDomListener, addDomListenerOnce

Interface MapsEventListener

Méthodes : remove

Classe MVCObject

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

Classe MVCArray

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

Événements : insert_at, remove_at, set_at

Interface ErrorEvent

Propriétés : error

Erreurs

Classe MapsNetworkError

Propriétés : 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,MAPS_MAX_ZOOM

Maps

Maps

Classe de carte

Propriétés : controls, data, mapTypes, overlayMapTypes

Méthodes : fitBounds, getBounds, getCenter, getClickableIcons, getDiv, BetagetFeatureLayer, getHeading, BetagetMapCapabilities, getMapTypeId, getProjection, getRenderingType, getStreetView, getTilt, getZoom, moveCamera, panBy, panTo, panToBounds, setCenter, setCenter,

Constantes : DEMO_MAP_ID

Événements : 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,

Interface MapOptions

backgroundColor !

Interface MapTypeStyle

Propriétés : elementType, featureType, stylers

Interface MapMouseEvent

Propriétés : domEvent, latLng

Méthodes : stop

Interface IconMouseEvent

Propriétés : placeId

Constantes MapTypeId

Constantes : HYBRID, ROADMAP, SATELLITE, TERRAIN

Classe MapTypeRegistry

Méthodes : set

Interface MapRestriction

Propriétés : latLngBounds, strictBounds

Classe TrafficLayer

Méthodes : getMap, setMap, setOptions

Interface TrafficLayerOptions

Propriétés : autoRefresh, map

Classe TransitLayer

Méthodes : getMap, setMap

Classe BicyclingLayer

Méthodes : getMap, setMap

BêtaInterface CameraOptions

Propriétés : center, heading, tilt, zoom

Interface VisibleRegion

Propriétés : farLeft, farRight, latLngBounds, nearLeft, nearRight

Constantes de rendu

Constantes : RASTER, UNINITIALIZED, VECTOR

BêtaInterface MapCapabilities

Propriétés : isAdvancedMarkersAvailable, isDataDrivenStylingAvailable

WebGL

Classe WebGLOverlayView

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

Interface WebGLDrawOptions

Propriétés : gl, transformer

Interface WebGLStateOptions

Propriétés : gl

Interface Coordinateord

Méthodes : fromLatLngAltitude, getCameraParams

Interface CameraParams

Propriétés : center, heading, tilt, zoom

Coordonnées

Classe LatLng

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

Interface LatLngLiteral

Propriétés : lat, lng

Classe LatLngBounds

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

Constantes : MAX_BOUNDS

Interface LatLngBoundsLiteral

Propriétés : east, north, south, west

Classe LatLngAltitude

Propriétés : altitude, lat, lng

Méthodes : equals, toJSON

Interface LatLngAltitudeLiteral

Propriétés : altitude, lat, lng

Classe de points

Propriétés : x, y

Méthodes : equals, toString

Classe de taille

Propriétés : height, width

Méthodes : equals, toString

Interface de remplissage

Propriétés : bottom, left, right, top

Interface circulaire

Propriétés : center, radius

Style basé sur les données (bêta)

BêtaInterface FeatureLayer

Propriétés : featureType, isAvailable, style

Méthodes : addListener

BêtaConstantes de caractéristiques

Constantes : ADMINISTRATIVE_AREA_LEVEL_1, ADMINISTRATIVE_AREA_LEVEL_2, COUNTRY, LOCALITY, POSTAL_CODE

BêtaFeatureStyleFunction typedef
BêtaInterfaceFeatureStyleFunctionOptions

Propriétés : feature

BêtaInterfaceFeatureStyleOptions

Propriétés : fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWeight

BêtaInterface des fonctionnalités

Propriétés : featureType

BêtaInterface PlaceFeature

Propriétés : placeId

Méthodes : fetchPlace

BêtaInterface FeatureMouseEvent

Propriétés : features

Commandes

Interface FullscreenControlOptions

Propriétés : position

Interface MapTypeControlOptions

Propriétés : mapTypeIds, position, style

Constantes MapTypeControlStyle

Constantes : DEFAULT, DROPDOWN_MENU, HORIZONTAL_BAR

Interface MotionTrackingControlOptions

Propriétés : position

Interface PanControlOptions

Propriétés : position

Interface RotateControlOptions

Propriétés : position

Interface ScaleControlOptions

Propriétés : style

Constantes ScaleControlStyle

Constantes : DEFAULT

Interface StreetViewControlOptions

Propriétés : position

Interface ZoomControlOptions

Propriétés : position

Constantes de contrôlePositionPosition

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

Bibliothèque Geometry

espace de noms d'encodage

Méthodes statiques : decodePath, encodePath

espace de noms sphérique

Méthodes statiques : computeArea, computeDistanceBetween, computeHeading, computeLength, computeOffset, computeOffsetOrigin, computeSignedArea, interpolate

Espace de noms poly

Méthodes statiques : containsLocation, isLocationOnEdge

Dessiner sur la carte

Marker

Classe de repère

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

Constantes : MAX_ZINDEX

Événements : 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,

Interface MarkerOptions

Propriétés : anchorPoint, animation, clickable, BetacollisionBehavior, crossOnDrag, cursor, draggable, icon, label, map, opacity, optimized, position, shape, title, visible, zIndex

BêtaConstantes de CollisionBehavior

Constantes : OPTIONAL_AND_HIDES_LOWER_PRIORITY, REQUIRED, REQUIRED_AND_HIDES_OPTIONAL

Interface de l'icône

Propriétés : anchor, labelOrigin, origin, scaledSize, size, url

Interface MarkerLabel

Propriétés : className, color, fontFamily, fontSize, fontWeight, text

Interface MarkerShape

Propriétés : coords, type

Interface des symboles

Propriétés : anchor, fillColor, fillOpacity, labelOrigin, path, rotation, scale, strokeColor, strokeOpacity, strokeWeight

Constantes SymbolPath

Constantes : BACKWARD_CLOSED_ARROW, BACKWARD_OPEN_ARROW, CIRCLE, FORWARD_CLOSED_ARROW, FORWARD_OPEN_ARROW

Constantes d'animation

Constantes : BOUNCE, DROP

Repères avancés (bêta)

BêtaClasse AdvancedMarkerView

Propriétés : collisionBehavior, content, draggable, element, map, position, title, zIndex

Méthodes : addListener

Événements : click, drag, dragend, dragstart

BêtaInterface AdvancedMarkerViewOptions

Propriétés : collisionBehavior, content, draggable, element, map, position, title, zIndex

BêtaClasse PinView

Propriétés : background, borderColor, element, glyph, glyphColor, scale

Méthodes : addListener

BêtaInterface PinViewOptions

Propriétés : background, borderColor, element, glyph, glyphColor, scale

Fenêtre d'informations

Classe InfoWindow

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

Événements : closeclick, content_changed, domready, position_changed, visible, zindex_changed

Interface InfoWindowOptions

Propriétés : ariaLabel, content, disableAutoPan, maxWidth, minWidth, pixelOffset, position, zIndex

Interface InfoWindowOpenOptions

Propriétés : anchor, map, shouldFocus

Polygones

Classe de polyligne

Méthodes : getDraggable, getEditable, getMap, getPath, getVisible, setDraggable, setEditable, setMap, setOptions, setPath, {10/

Événements : click, contextmenu, dblclick, drag, dragend, dragstart, mousedown, mousemove, mouseout, mouseover, mouseup, rightclick

Interface PolylineOptions

Propriétés : clickable, draggable, editable, geodesic, icons, map, path, strokeColor, strokeOpacity, strokeWeight, visible, zIndex

Interface IconSequence

Propriétés : fixedRotation, icon, offset, repeat

Classe de polygone

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

Événements : click, contextmenu, dblclick, drag, dragend, dragstart, mousedown, mousemove, mouseout, mouseover, mouseup, rightclick

Interface PolygonOptions

Propriétés : clickable, draggable, editable, fillColor, fillOpacity, geodesic, map, paths, strokeColor, strokeOpacity, strokePosition, strokeWeight, visible, zIndex

Interface PolyMouseEvent

Propriétés : edge, path, vertex

Classe rectangulaire

Méthodes : getBounds, getDraggable, getEditable, getMap, getVisible, setBounds, setDraggable, setEditable, setMap, setOptions, {10/

Événements : bounds_changed, click, contextmenu, dblclick, drag, dragend, dragstart, mousedown, mousemove, mouseout, mouseover, mouseup, rightclick

Interface RectangleOptions

Propriétés : bounds, clickable, draggable, editable, fillColor, fillOpacity, map, strokeColor, strokeOpacity, strokePosition, strokeWeight, visible, zIndex

Classe du cercle

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

Événements : center_changed, click, dblclick, drag, dragend, dragstart, mousedown, mousemove, mouseout, mouseover, mouseup, radius_changed, rightclick

Interface de CircleOptions

Propriétés : center, clickable, draggable, editable, fillColor, fillOpacity, map, radius, strokeColor, strokeOpacity, strokePosition, strokeWeight, visible, zIndex

Constantes de positionnement de trait

Constantes : CENTER, INSIDE, OUTSIDE

Données

Classe de données

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

Événements : addfeature, click, contextmenu, dblclick, mousedown, mouseout, mouseover, mouseup, removefeature, removeproperty, setgeometry, setproperty, rightclick

Interface Data.DataOptions

Propriétés : controlPosition, controls, drawingMode, featureFactory, map, style

Interface Data.GeoJsonOptions

Propriétés : idPropertyName

Interface Data.StyleOptions

Propriétés : 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éthodes : forEachProperty, getGeometry, getId, getProperty, removeProperty, setGeometry, setProperty, toGeoJson

Événements : removeproperty, setgeometry, setproperty

Interface Data.FeatureOptions

Propriétés : geometry, id, properties

Interface Data.Geometry

Méthodes : forEachLatLng, getType

Classe Data.Point

Méthodes : forEachLatLng, get, getType

Classe Data.MultiPoint

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

Classe Data.LineString

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

Classe Data.MultiLineString

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

Classe Data.LinearRing

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

Classe Data.Polygon

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

Classe Data.MultiPolygon

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

Classe Data.GeometryCollection

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

Interface Data.MouseEvent

Propriétés : feature

Interface Data.AddFeatureEvent

Propriétés : feature

Interface Data.RemoveFeatureEvent

Propriétés : feature

Interface Data.SetGeometryEvent

Propriétés : feature, newGeometry, oldGeometry

Interface Data.SetPropertyEvent

Propriétés : feature, name, newValue, oldValue

Interface Data.RemovePropertyEvent

Propriétés : feature, name, oldValue

Éléments DOM

Classe OverlayView

Méthodes statiques : preventMapHitsAndGesturesFrom, preventMapHitsFrom

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

Interface MapPanes

Propriétés : floatPane, mapPane, markerLayer, overlayLayer, overlayMouseTarget

Interface ProjectCanvasProjection

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

KML

Classe KmlLayer

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

Événements : click, defaultviewport_changed, status_changed

Interface KmlLayerOptions

Propriétés : clickable, map, preserveViewport, screenOverlays, suppressInfoWindows, url, zIndex

Interface KmlLayerMetadata

Propriétés : 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

Propriétés : featureData, latLng, pixelOffset

Interface KmlFeatureData

Propriétés : author, description, id, infoWindowHtml, name, snippet

Interface KmlAuthor

Propriétés : email, name, uri

Superpositions d'images

Interface MapType

Propriétés : alt, maxZoom, minZoom, name, projection, radius, tileSize

Méthodes : getTile, releaseTile

Interface de projection

Méthodes : fromLatLngToPoint, fromPointToLatLng

Classe ImageMapType

Propriétés : alt, maxZoom, minZoom, name, projection, radius, tileSize

Méthodes : getOpacity, getTile, releaseTile, setOpacity

Événements : tilesloaded

Interface ImageMapTypeOptions

Propriétés : alt, getTileUrl, maxZoom, minZoom, name, opacity, tileSize

Classe GroundOverlay

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

Événements : click, dblclick

Interface GroundOverlayOptions

Propriétés : clickable, map, opacity

Classe StyledMapType

Propriétés : alt, maxZoom, minZoom, name, projection, radius, tileSize

Méthodes : getTile, releaseTile

InterfaceStyleMapMapOptions

Propriétés : alt, maxZoom, minZoom, name

Bibliothèque Drawing

Classe DrawingManager

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

Événements : circlecomplete, markercomplete, overlaycomplete, polygoncomplete, polylinecomplete, rectanglecomplete

Interface DrawingManagerOptions

Propriétés : circleOptions, drawingControl, drawingControlOptions, drawingMode, map, markerOptions, polygonOptions, polylineOptions, rectangleOptions

Interface DrawingsControlOptions

Propriétés : drawingModes, position

InterfaceOverlayCompleteEvent

Propriétés : overlay, type

Constantes de OverlayType

Constantes : CIRCLE, MARKER, POLYGON, POLYLINE, RECTANGLE

Cartes de densité

Classe HeatmapLayer

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

Interface HeatmapLayerOptions

Propriétés : data, dissipating, gradient, map, maxIntensity, opacity, radius

Interface WeightedLocation

Propriétés : location, weight

Zoom maximal

Classe MaxZoomService

Méthodes : getMaxZoomAtLatLng

Interface de MaxZoomResult

Propriétés : status, zoom

Constantes MaxZoomStatus

Constantes : ERROR, OK

Street View

Affichage

Classe StreetViewPanorama

Propriétés : controls

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

Événements : closeclick, pano_changed, position_changed, pov_changed, resize, status_changed, visible_changed, zoom_changed

Interface StreetViewPanoramaOptions

Propriétés : addressControl, addressControlOptions, clickToGo, controlSize, disableDefaultUI, disableDoubleClickZoom, enableCloseButton, fullscreenControl, fullscreenControlOptions, imageDateControl, linksControl, motionTracking, motionTrackingControl, motionTrackingControlOptions, panControl, panControlOptions, pano, position,pov, pov, pov,

Interface StreetViewAddressControlOptions

Propriétés : position

Interface PanoProviderOptions

Propriétés : cors

Interface StreetViewTileData

Propriétés : centerHeading, tileSize, worldSize

Méthodes : getTileUrl

Interface StreetViewPov

Propriétés : heading, pitch

Classe StreetViewCoverageLayer

Méthodes : getMap, setMap

Service

Classe StreetViewService

Méthodes : getPanorama

Constantes StreetViewStatus

Constantes : OK, UNKNOWN_ERROR, ZERO_RESULTS

Interface StreetViewLocationRequest

Propriétés : location, preference, radius, source

Interface StreetViewPanoRequest

Propriétés : pano

Interface StreetViewResponse

Propriétés : data

Interface StreetViewLocation

Propriétés : description, latLng, pano, shortDescription

Constantes StreetViewPreference

Constantes : BEST, NEAREST

Constantes StreetViewSource

Constantes : DEFAULT, OUTDOOR

Interface StreetViewPanoramaData

Propriétés : copyright, imageDate, links, location, tiles

Propriétés : description, heading, pano

Places

Widgets Places

Cours de saisie semi-automatique

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

Événements : place_changed

Interface AutocompleteOptions

Propriétés : bounds, componentRestrictions, fields, strictBounds, types, placeIdOnly

Méthodes : getBounds, getPlaces, setBounds

Événements : places_changed

Interface SearchBoxOptions

Propriétés : bounds

Place (bêta)

BêtaClasse de lieu

Méthodes statiques : findPlaceFromPhoneNumber, findPlaceFromQuery

addressComponents !

Méthodes : fetchFields, getNextOpeningTime, isOpen

BêtaInterface PlaceOptions

Propriétés : id, requestedLanguage, requestedRegion

BêtaClasse AddressComponent

Propriétés : longText, shortText, types

BêtaClasse d'attribution

Propriétés : provider, providerURI

BêtaInterface FetchFieldsRequest

Propriétés : fields, sessionToken

BêtaCours d'ouverture

Propriétés : periods, weekdayDescriptions

BêtaClasse OpeningHoursPeriod

Propriétés : close, open

BêtaClasse OpeningHoursPoint

Propriétés : day, hour, minute

BêtaCours photo

Propriétés : attributions, heightPx, widthPx

Méthodes : getURI

BêtaClasse PhotoAttribution

Propriétés : author, authorURI

BêtaClasse PlusCode

Propriétés : compoundCode, globalCode

BêtaExaminer le cours

Propriétés : author, authorPhotoURI, authorURI, publishTime, rating, relativePublishTimeDescription, text, textLanguageCode

Service Places

Classe PlacesService

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

Interface PlaceDetailsRequest

Propriétés : fields, language, placeId, region, sessionToken

Interface FindPlaceFromPhoneNumberRequest

Propriétés : fields, language, locationBias, phoneNumber

Interface FindPlaceFromQueryRequest

Propriétés : fields, language, locationBias, query

Interface PlaceSearchRequest

Propriétés : bounds, keyword, language, location, maxPriceLevel, minPriceLevel, openNow, radius, rankBy, type, name

Interface TextSearchRequest

Propriétés : bounds, language, location, query, radius, region, type

Constantes de classement Par

Constantes : DISTANCE, PROMINENCE

LocationBias typedef
LocationRestriction typedef
Constantes PlacesServiceStatus

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

Interface PlaceSearchPagination

Propriétés : hasNextPage

Méthodes : nextPage

Interface PlaceResult

Propriétés : 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,rating,

Interface PlaceAspectRating

Propriétés : rating, type

Constantes BusinessStatus

Constantes : CLOSED_PERMANENTLY, CLOSED_TEMPORARILY, OPERATIONAL

Interface PlaceGeometry

Propriétés : location, viewport

Interface PlaceOpeningHours

Propriétés : periods, weekday_text, open_now

Méthodes : isOpen

Interface PlaceOpeningHoursPeriod

Propriétés : close, open

Interface PlaceOpeningHoursTime

Propriétés : day, hours, minutes, nextDate, time

Interface PlacePlusCode

Propriétés : compound_code, global_code

Interface PlacePhoto

Propriétés : height, html_attributions, width

Méthodes : getUrl

Interface PhotoOptions

Propriétés : maxHeight, maxWidth

Interface PlaceReview

Propriétés : author_name, author_url, language, profile_photo_url, rating, relative_time_description, text, time, aspects

Service Places Autocomplete

Classe AutocompleteService

Méthodes : getPlacePredictions, getQueryPredictions

Interface AutocompleteRequest

Propriétés : bounds, componentRestrictions, input, language, location, offset, origin, radius, region, sessionToken, types

Interface AutocompleteResponse

Propriétés : predictions

Interface QueryAutocompletionRequest

Propriétés : bounds, input, location, offset, radius

Classe AutocompleteSessionToken
Interface ComponentRestrictions

Propriétés : country

Interface AutocompletePrediction

Propriétés : description, distance_meters, matched_substrings, place_id, structured_formatting, terms, types

Interface QueryAutocompletePrediction

Propriétés : description, matched_substrings, place_id, terms

Interface PredictionTerm

Propriétés : offset, value

Interface PredictionSubSub

Propriétés : length, offset

Interface de StructuredFormatting

Propriétés : main_text, main_text_matched_substrings, secondary_text

Application de géocodage

Classe Geocoder

Méthodes : geocode

Interface GeocoderRequest

Propriétés : address, bounds, componentRestrictions, language, location, placeId, region

Interface GeocoderComponentRestrictions

Propriétés : administrativeArea, country, locality, postalCode, route

Constantes GeocoderStatus

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

Interface GeocoderResponse

Propriétés : results

Interface GeocoderResult

Propriétés : address_components, formatted_address, geometry, partial_match, place_id, plus_code, postcode_localities, types

Interface GeocoderAddressComponent

Propriétés : long_name, short_name, types

Interface GeocoderGeometry

Propriétés : bounds, location, location_type, viewport

Constantes GeocoderLocationType

Constantes : APPROXIMATE, GEOMETRIC_CENTER, RANGE_INTERPOLATED, ROOFTOP

Routes

Itinéraire

Classe DirectionsService

Méthodes : route

Interfaces Requests

Propriétés : avoidFerries, avoidHighways, avoidTolls, destination, drivingOptions, language, optimizeWaypoints, origin, provideRouteAlternatives, region, transitOptions, travelMode, unitSystem, waypoints

Constantes DirectionsStatus

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

Interface DirectionsResult

Propriétés : available_travel_modes, geocoded_waypoints, routes

Classe DirectionsRenderer

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

Événements : directions_changed

Interfaces DirectionsRendererOptions

Propriétés : directions, draggable, hideRouteList, infoWindow, map, markerOptions, panel, polylineOptions, preserveViewport, routeIndex, suppressBicyclingLayer, suppressInfoWindows, suppressMarkers, suppressPolylines

Interface DirectionsWaypoint

Propriétés : location, stopover

Interface DirectionsGeocodeWaypoint

Propriétés : partial_match, place_id, types

Interface DirectionsRoute

Propriétés : bounds, copyrights, fare, legs, overview_path, overview_polyline, summary, warnings, waypoint_order

Interface DirectionsLeg

Propriétés : 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

Propriétés : 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

Propriétés : points

Interface Place

Propriétés : location, placeId, query

Constantes de mode de voyage

Constantes : BICYCLING, DRIVING, TRANSIT, WALKING

Interface DrivingOptions

Propriétés : departureTime, trafficModel

Constantes TrafficModel

Constantes : BEST_GUESS, OPTIMISTIC, PESSIMISTIC

Interface TransitOptions

Propriétés : arrivalTime, departureTime, modes, routingPreference

Constantes TransitMode

Constantes : BUS, RAIL, SUBWAY, TRAIN, TRAM

Constantes RoutageRoutePreference

Constantes : FEWER_TRANSFERS, LESS_WALKING

Interface TransitFare

Propriétés : currency, value

Interface TransitDetails

Propriétés : arrival_stop, arrival_time, departure_stop, departure_time, headsign, headway, line, num_stops, trip_short_name

Interface TransitStop

Propriétés : location, name

Interface TransitLine

Propriétés : agencies, color, icon, name, short_name, text_color, url, vehicle

Interface TransitAgency

Propriétés : name, phone, url

Interface TransitVehicle

Propriétés : icon, local_icon, name, type

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

Constantes : IMPERIAL, METRIC

Interface de distance

Propriétés : text, value

Interface de durée

Propriétés : text, value

Interface temporelle

Propriétés : text, time_zone, value

Constantes DirectionsTravelMode
Constantes DirectionsUnitSystem

Distance Matrix

Classe DistanceMatrixService

Méthodes : getDistanceMatrix

Interface DistanceMatrixRequest

Propriétés : avoidFerries, avoidHighways, avoidTolls, destinations, drivingOptions, language, origins, region, transitOptions, travelMode, unitSystem

Interface DistanceMatrixResponse

Propriétés : destinationAddresses, originAddresses, rows

Interface DistanceMatrixResponseRow

Propriétés : elements

Interface DistanceMatrixResponseElement

Propriétés : 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éthodes : getElevationAlongPath, getElevationForLocations

InterfaceLocationElevationRequest

Propriétés : locations

Interface LocationElevationResponse

Propriétés : results

Interface PathElevationRequest

Propriétés : path, samples

Interface PathElevationResponse

Propriétés : results

Interface ElevationResult

Propriétés : elevation, location, resolution

Constantes ElevationStatus

Constantes : INVALID_REQUEST, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR

Contexte local (bêta)

Vue plan

BêtaClasse LocalContextMapView

Propriétés : directionsOptions, element, isTransitioningMapBounds, locationBias, locationRestriction, maxPlaceCount, placeTypePreferences

Méthodes : addListener, hidePlaceDetailsView, search

Événements : error, placedetailsviewhidestart, placedetailsviewshowstart

BêtaInterface LocalContextMapViewOptions

Propriétés : directionsOptions, element, locationBias, locationRestriction, map, maxPlaceCount, pinOptionsSetup, placeChooserViewSetup, placeDetailsViewSetup, placeTypePreferences

BêtaPlaceTypePreference typedef
BêtaClasse MapDirectionsOptions

Méthodes : addListener

BêtaInterface LiteMapDirectionsOptionsLiteral

Propriétés : origin

BêtaInterface PinOptions

Propriétés : background, glyphColor, scale

Interface PlaceChooserViewSetupOptions

Propriétés : layoutMode, position

BêtaConstantes PlaceChooserLayoutMode

Constantes : HIDDEN, SHEET

BêtaConstantes PlaceChooserPosition

Constantes : BLOCK_END, INLINE_END, INLINE_START

Interface PlaceDetailsViewSetupOptions

Propriétés : hidesOnMapClick, layoutMode, position

BêtaConstantes PlaceDetailsLayoutMode

Constantes : INFO_WINDOW, SHEET

BêtaConstantes PlaceDetailsPosition

Constantes : INLINE_END, INLINE_START

Partage de trajet (bêta)

Vue plan

BêtaClasse ShareneyMapView

Propriétés : anticipatedRoutePolylines, anticipatedRoutePolylineSetup, automaticViewportMode, element, enableTraffic, locationProvider, map, mapOptions, takenRoutePolylines, takenRoutePolylineSetup, destinationMarkerSetup, originMarkerSetup, pingMarkerSetup, successfulTaskMarkerSetup, taskOutcomeMarkerSetup, unsuccessfulTaskMarkerSetup, vehicleMarkerSetup, waypointMarkerSetup,destinationMarkers, destinationMarkers, destinationMarkers,

BêtaInterface de JourneySharingMapViewOptions

Propriétés : anticipatedRoutePolylineSetup, automaticViewportMode, element, locationProvider, mapOptions, takenRoutePolylineSetup, destinationMarkerSetup, originMarkerSetup, pingMarkerSetup, successfulTaskMarkerSetup, taskOutcomeMarkerSetup, unsuccessfulTaskMarkerSetup, vehicleMarkerSetup, waypointMarkerSetup

BêtaConstantes AutomatiqueViewportMode

Constantes : FIT_ANTICIPATED_ROUTE, NONE

BêtaClasse abstraite LocationProvider

Méthodes : addListener

BêtaClasse abstraite PollingLocationProvider

Propriétés : isPolling

Événements : ispollingchange

BêtaInterface PollingLocationProviderIsPollingChangeEvent

Propriétés : error

Authentification

BêtaInterface AuthToken

Propriétés : expiresInSeconds, token

BêtaInterface AuthTokenContext

Propriétés : deliveryVehicleId, taskId, trackingId, tripId, vehicleId

BêtaType AuthTokenFetcher
BêtaInterface AuthTokenFetcherOptions

Propriétés : context, serviceType

BêtaConstantes FleetEngineServiceType

Constantes : DELIVERY_VEHICLE_SERVICE, TASK_SERVICE, TRIP_SERVICE, UNKNOWN_SERVICE

Personnalisation de l'UI

BêtaType Polylinedef
BêtaInterface PolylineSetupOptions

Propriétés : polylineOptions, visible

BêtaInterface DefaultPolylineSetupOptions

Propriétés : defaultPolylineOptions, defaultVisible

BêtaMarkerSetup typedef
BêtaInterface MarkerSetupOptions

Propriétés : markerOptions

BêtaInterface DefaultMarkerSetupOptions

Propriétés : defaultMarkerOptions

BêtaInterface MarkerPersonnalisationFunctionParams

Propriétés : defaultOptions, isNew, marker

BêtaInterface DeliveryVehicleMarkerCustomizingFunctionParams

Propriétés : vehicle

BêtaInterface de PlannedStopMarkerCustomizingFunctionParams

Propriétés : stopIndex

BêtaInterface TaskMarkerCustomizingFunctionParams

Propriétés : task

BêtaInterface ShipmentMarkerCustomizingFunctionParams

Propriétés : taskTrackingInfo

BêtaInterface TripMarkerCustomizingFunctionParams

Propriétés : trip

BêtaInterface tripTripayMarkerMarkerFunctionParams

Propriétés : waypointIndex

Entités de moteur de parc

BêtaInterface des tâches

Propriétés : estimatedCompletionTime, latestVehicleLocationUpdate, name, outcome, outcomeLocation, outcomeLocationSource, outcomeTime, plannedLocation, remainingVehicleJourneySegments, status, trackingId, type, vehicleId

BêtaInterface TaskTrackingInfo

Propriétés : estimatedArrivalTime, estimatedTaskCompletionTime, latestVehicleLocationUpdate, name, plannedLocation, remainingDrivingDistanceMeters, remainingStopCount, routePolylinePoints, state, taskOutcome, taskOutcomeTime, trackingId

BêtaInterface du trajet

Propriétés : actualDropOffLocation, actualPickupLocation, dropOffTime, latestVehicleLocationUpdate, name, passengerCount, pickupTime, plannedDropOffLocation, plannedPickupLocation, remainingWaypoints, status, type, vehicleId

BêtaInterface DeliveryVehicle

Propriétés : attributes, currentRouteSegmentEndPoint, latestVehicleLocationUpdate, name, navigationStatus, remainingDistanceMeters, remainingDurationMillis, remainingVehicleJourneySegments

BêtaInterface DeliveryVehicleStop

Propriétés : tasks

BêtaConstantes DeliveryVehicleStopState

Constantes : ARRIVED, ENROUTE, NEW, UNSPECIFIED

BêtaInterface de VehicleJourneySegment

Propriétés : drivingDistanceMeters, drivingDurationMillis, path, stop

BêtaInterface VehicleLocationUpdate

Propriétés : heading, location, speedKilometersPerHour, time

BêtaInterface VehicleWaypoint

Propriétés : distanceMeters, durationMillis, location, path

Progression du trajet et de la commande

BêtaClasse FleetEngineTripLocationProvider

Propriétés : tripId

Méthodes : refresh

Événements : error, update

BêtaInterface FleetEngineTripLocationProviderOptions

Propriétés : authTokenFetcher, destinationMarkerCustomization, originMarkerCustomization, pollingIntervalMillis, projectId, tripId, vehicleMarkerCustomization, waypointMarkerCustomization

BêtaInterface de FleetEngineTripLocationProviderUpdateUpdate

Propriétés : trip

Suivi du parc

BêtaClasse FleetEngineDeliveryVehicleLocationProvider

Propriétés : deliveryVehicleId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

Événements : error, update

BêtaInterface FleetEngineDeliveryVehicleLocationProviderOptions

Propriétés : authTokenFetcher, deliveryVehicleId, deliveryVehicleMarkerCustomization, plannedStopMarkerCustomization, pollingIntervalMillis, projectId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions, taskMarkerCustomization, taskOutcomeMarkerCustomization

BêtaInterface FleetEngineTaskFilterOptions

Propriétés : completionTimeFrom, completionTimeTo, state

BêtaInterface de FleetEngineDeliveryVehicleLocationProviderUpdateEvent

Propriétés : completedVehicleJourneySegments, deliveryVehicle, tasks

BêtaClasse FleetEngineDeliveryFleetLocationProvider

Propriétés : deliveryVehicleFilter, locationRestriction, pollingIntervalMillis, staleLocationThresholdMillis

Événements : update

BêtaInterface FleetEngineDeliveryFleetLocationProviderOptions

Propriétés : authTokenFetcher, deliveryVehicleFilter, deliveryVehicleMarkerCustomization, locationRestriction, projectId, staleLocationThresholdMillis

BêtaInterface de FleetEngineDeliveryFleetLocationProviderUpdateEvent

Propriétés : deliveryVehicles

Suivi de l'expédition

BêtaClasse FleetEngineShipmentLocationProvider

Propriétés : trackingId

Méthodes : refresh

Événements : error, update

BêtaInterface FleetEngineShipmentLocationProviderOptions

Propriétés : authTokenFetcher, deliveryVehicleMarkerCustomization, destinationMarkerCustomization, pollingIntervalMillis, projectId, trackingId

BêtaInterface de FleetEngineShipmentLocationProviderUpdateEvent

Propriétés : taskTrackingInfo