Google Maps JavaScript API V3 Reference

Dernière mise à jour le jeudi 27 octobre 2022

Il s'agit d'un index de toutes les classes, méthodes et interfaces de l'API Maps JavaScript version 3.50.

Pour en savoir plus, consultez les notes de version et la gestion des versions.

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

Constantes : version

Paramètres (bêta)

">Classe des paramètres

Méthodes statiques : ">getInstance

Propriétés : ">experienceIds

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, ">getFeatureLayer, getHeading, ">getMapCapabilities, 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, ">mapcapabilities_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

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

">Interface de 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)

">Interface FeatureLayer

Propriétés : featureType, isAvailable, style

Méthodes : addListener

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

Propriétés : feature

">Interface FeatureStyleOptions

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

">Interface de la fonctionnalité

Propriétés : featureType

">Interface PlaceFeature

Propriétés : displayName, placeId

">Interface 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, ">collisionBehavior, crossOnDrag, cursor, draggable, icon, label, map, opacity, optimized, position, shape, title, visible, zIndex

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

">Classe AdvancedMarkerView

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

Méthodes : addListener

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

">Interface AdvancedMarkerViewOptions

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

">Classe PinView

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

Méthodes : addListener

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

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

">Classe LocalContextMapView

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

Méthodes : addListener, hidePlaceDetailsView, search

Événements : error, placedetailsviewhidestart, placedetailsviewshowstart

">Interface LocalContextMapViewOptions

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

">PlaceTypePreference typedef
">Classe MapDirectionsOptions

Méthodes : addListener

">Interface LiteMapDirectionsOptionsLiteral

Propriétés : origin

">Interface PinOptions

Propriétés : background, glyphColor, scale

Interface PlaceChooserViewSetupOptions

Propriétés : layoutMode, position

">Constantes PlaceChooserLayoutMode

Constantes : HIDDEN, SHEET

">Constantes PlaceChooserPosition

Constantes : BLOCK_END, INLINE_END, INLINE_START

Interface PlaceDetailsViewSetupOptions

Propriétés : hidesOnMapClick, layoutMode, position

">Constantes PlaceDetailsLayoutMode

Constantes : INFO_WINDOW, SHEET

">Constantes PlaceDetailsPosition

Constantes : INLINE_END, INLINE_START

Partage de trajet (bêta)

Vue plan

">Classe JourneySharingMapView

Propriétés : anticipatedRoutePolylines, anticipatedRoutePolylineSetup, automaticViewportMode, destinationMarkers, destinationMarkerSetup, element, enableTraffic, locationProvider, map, mapOptions, originMarkers, originMarkerSetup, pingMarkerSetup, successfulTaskMarkers, successfulTaskMarkerSetup, takenRoutePolylines, takenRoutePolylineSetup, taskOutcomeMarkers,taskOutcomeMarkerSetup, taskOutcomeMarkerSetup,

">Interface de JourneySharingMapViewOptions

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

">Constantes AutomatiqueViewportMode

Constantes : FIT_ANTICIPATED_ROUTE, NONE

">Classe abstraite LocationProvider

Méthodes : addListener

Authentification

">Interface AuthToken

Propriétés : expiresInSeconds, token

">Interface AuthTokenContext

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

">Type d'authentification AuthTokenFetcher
">Interface AuthTokenFetcherOptions

Propriétés : context, serviceType

">Constantes FleetEngineServiceType

Constantes : DELIVERY_VEHICLE_SERVICE, TASK_SERVICE, TRIP_SERVICE, UNKNOWN_SERVICE

Personnalisation de l'UI

">Type Polylinedef
">Interface PolylineSetupOptions

Propriétés : polylineOptions, visible

">Interface DefaultPolylineSetupOptions

Propriétés : defaultPolylineOptions, defaultVisible

">MarkerSetup typedef
">Interface MarkerSetupOptions

Propriétés : markerOptions

">Interface DefaultMarkerSetupOptions

Propriétés : defaultMarkerOptions

Entités de moteur de parc

">Interface des tâches

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

">Interface du trajet

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

">Interface DeliveryVehicle

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

">Interface de VehicleJourneySegment

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

">Interface de VehicleLocationUpdate

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

">Interface VehicleWaypoint

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

Progression du trajet et de la commande

">Classe FleetEngineTripLocationProvider

Propriétés : tripId

Méthodes : refresh

Événements : error, update

">Interface FleetEngineTripLocationProviderOptions

Propriétés : authTokenFetcher, pollingIntervalMillis, projectId, tripId

">Interface de FleetEngineTripLocationProviderUpdateEvent

Propriétés : trip

Suivi du parc

">Classe FleetEngineDeliveryVehicleLocationProvider

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

Événements : error, update

">Interface FleetEngineDeliveryVehicleLocationProviderOptions

Propriétés : authTokenFetcher, deliveryVehicleId, pollingIntervalMillis, projectId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

">Interface FleetEngineTaskFilterOptions

Propriétés : completionTimeFrom, completionTimeTo, state

">Interface de FleetEngineDeliveryVehicleLocationProviderUpdateEvent

Propriétés : completedVehicleJourneySegments, deliveryVehicle, tasks

">Classe FleetEngineDeliveryFleetLocationProvider

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

Événements : update

">Interface FleetEngineDeliveryFleetLocationProviderOptions

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

">Interface FleetEngineDeliveryFleetLocationProviderUpdateEvent

Propriétés : deliveryVehicles

Suivi de l'expédition

">Classe FleetEngineShipmentLocationProvider

Propriétés : trackingId

Méthodes : getTask, refresh

Événements : error, update

">Interface FleetEngineShipmentLocationProviderOptions

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

">Interface de FleetEngineShipmentLocationProviderUpdateEvent

Propriétés : task