Google Maps JavaScript API V3 Reference

Mit Sammlungen den Überblick behalten Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.

Letzte Aktualisierung: Donnerstag, 17. November 2022

Dies ist ein Index aller Klassen, Methoden und Schnittstellen in der Maps JavaScript API Version 3.51 (wöchentlicher Kanal). Diese Referenz wird mit den neuesten Änderungen an der API aktualisiert.

Weitere Informationen finden Sie unter Versionshinweise und Versionsverwaltung.
Weitere Informationen finden Sie in der Referenzdokumentation zu Version 3.50 (vierteljährliche Version), Version 3.49 und Version 3.48.

Klicken Sie auf den Namen eines Elements, um eine detaillierte Dokumentation aufzurufen.

Globale Konzepte

google.maps

google.maps-Namespace

Konstanten: version

Einstellungen (Beta)

BetaEinstellungsklasse

Statische Methoden: BetagetInstance

Unterkünfte: BetaexperienceIds

Ereignissystem

Ereignisklasse

Statische Methoden: addListener, addListenerOnce, clearInstanceListeners, clearListeners, hasListeners, removeListener, trigger, addDomListener, addDomListenerOnce

MapsEventListener-Oberfläche

Methoden: remove

MVCObject-Klasse

Methoden: addListener, bindTo, get, notify, set, setValues, unbind, unbindAll

MVCArray-Klasse

Methoden: clear, forEach, getArray, getAt, getLength, insertAt, pop, push, removeAt, setAt

Termine: insert_at, remove_at, set_at

ErrorEvent-Schnittstelle

Unterkünfte: error

Fehler

MapsNetworkError-Klasse

Properties: code, endpoint

MapsRequestError-Klasse
MapsServerError-Klasse
MapsNetworkErrorEndpoint Konstanten

Konstanten: 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_MAX_ZOOM,

Maps

Maps

Kartenklasse

Properties: controls, data, mapTypes, overlayMapTypes

Methoden: fitBounds, getBounds, getCenter, getClickableIcons, getDiv, BetagetFeatureLayer, getHeading, BetagetMapCapabilities, getMapTypeId, getProjection, getRenderingType, getStreetView, getTilt, getZoom, moveCamera,panBy, panTo,panToBounds,setCenter,{2/3,getCenter,{2/3/}

Konstanten: DEMO_MAP_ID

Veranstaltungen: bounds_changed, center_changed, click, contextmenu, dblclick, drag, dragend, dragstart, heading_changed, idle, isfractionalzoomenabled_changed, Betamapcapabilities_changed, maptypeid_changed, mousemove, mouseout, mouseover, projection_changed, renderingtype_changed,tilesloaded,tilesloaded,tilesloaded,isfractionalzoomenabled_changed

MapOptions-Schnittstelle

Wird 1 2 EIN EINDEINEN WENACHENEN DURCH KENMEEN BIEEN

AdManagerStyle-Schnittstelle

Properties: elementType, featureType, stylers

MapMouseEvent-Schnittstelle

Properties: domEvent, latLng

Methoden: stop

IconMouseEvent-Schnittstelle

Unterkünfte: placeId

Kartentyp-Konstanten

Konstanten: HYBRID, ROADMAP, SATELLITE, TERRAIN

AdManagerRegistry-Klasse

Methoden: set

MapRestriction-Schnittstelle

Properties: latLngBounds, strictBounds

TrafficLayer-Klasse

Methoden: getMap, setMap, setOptions

TrafficLayerOptions-Schnittstelle

Properties: autoRefresh, map

TransitLayer-Klasse

Methoden: getMap, setMap

BicyclingLayer-Klasse

Methoden: getMap, setMap

BetaKameraoptionen

Properties: center, heading, tilt, zoom

ViewableRegion-Schnittstelle

Properties: farLeft, farRight, latLngBounds, nearLeft, nearRight

RenderingType-Konstanten

Konstanten: RASTER, UNINITIALIZED, VECTOR

BetaMapFunctions-Oberfläche

Properties: isAdvancedMarkersAvailable, isDataDrivenStylingAvailable

WebGL

WebGLOverlayView-Klasse

Methoden: getMap, onAdd, onContextLost, onContextRestored, onDraw, onRemove, onStateUpdate, requestRedraw, requestStateUpdate, setMap

WebGLDrawOptions-Schnittstelle

Properties: gl, transformer

WebGLStateOptions-Schnittstelle

Unterkünfte: gl

CoordinateTransformer-Schnittstelle

Methoden: fromLatLngAltitude, getCameraParams

CameraParams-Schnittstelle

Properties: center, heading, tilt, zoom

Koordinaten

LatLng-Klasse

Methoden: equals, lat, lng, toJSON, toString, toUrlValue

LatLngLiteral-Schnittstelle

Properties: lat, lng

LatLngBounds-Klasse

Methoden: contains, equals, extend, getCenter, getNorthEast, getSouthWest, intersects, isEmpty, toJSON, toSpan, toString, toUrlValue, union

Konstanten: MAX_BOUNDS

LatLngBoundsLiteral-Schnittstelle

Properties: east, north, south, west

LatLngAltitude-Klasse

Properties: altitude, lat, lng

Methoden: equals, toJSON

LatLngAltitudeLiteral-Schnittstelle

Properties: altitude, lat, lng

Punktklasse

Properties: x, y

Methoden: equals, toString

Größenklasse

Properties: height, width

Methoden: equals, toString

Padding-Schnittstelle

Properties: bottom, left, right, top

CircleLiteral-Schnittstelle

Properties: center, radius

Datengestützte Stile (Beta)

BetaFeatureLayer-Oberfläche

Properties: featureType, isAvailable, style

Methoden: addListener

BetaFeatureType-Konstanten

Konstanten: ADMINISTRATIVE_AREA_LEVEL_1, ADMINISTRATIVE_AREA_LEVEL_2, ADMINISTRATIVE_AREA_LEVEL_3, ADMINISTRATIVE_AREA_LEVEL_4, COUNTRY, LOCALITY, NEIGHBORHOOD, POSTAL_CODE, SUBLOCALITY_LEVEL_1

BetaFeatureStyleFunction typedef
BetaFeatureStyleFunctionOptions-Oberfläche

Unterkünfte: feature

BetaFeatureStyleOptions-Schnittstelle

Properties: fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWeight

BetaFunktionsoberfläche

Unterkünfte: featureType

BetaPlaceFeature-Oberfläche

Properties: displayName, placeId

BetaFeatureMouseEvent-Oberfläche

Unterkünfte: features

Steuerelemente

Benutzeroberfläche der Vollbildsteuerung

Unterkünfte: position

AdManagerControlOptions-Schnittstelle

Properties: mapTypeIds, position, style

AdManagerControlStyle-Konstanten

Konstanten: DEFAULT, DROPDOWN_MENU, HORIZONTAL_BAR

Oberfläche für MotionTrackingControlOptions

Unterkünfte: position

PanControlOptions-Schnittstelle

Unterkünfte: position

RotationControlOptions-Schnittstelle

Unterkünfte: position

ScaleControlOptions-Schnittstelle

Unterkünfte: style

ScaleControlStyle-Konstanten

Konstanten: DEFAULT

StreetControlOptions-Schnittstelle

Unterkünfte: position

ZoomControlOptions-Schnittstelle

Unterkünfte: position

ControlPosition-Konstanten

Konstanten: BOTTOM_CENTER, BOTTOM_LEFT, BOTTOM_RIGHT, LEFT_BOTTOM, LEFT_CENTER, LEFT_TOP, RIGHT_BOTTOM, RIGHT_CENTER, RIGHT_TOP, TOP_CENTER, TOP_LEFT, TOP_RIGHT

Geometry Library

Codierung des Namespace

Statische Methoden: decodePath, encodePath

sphärischer Namespace

Statische Methoden: computeArea, computeDistanceBetween, computeHeading, computeLength, computeOffset, computeOffsetOrigin, computeSignedArea, interpolate

Poly-Namespace

Statische Methoden: containsLocation, isLocationOnEdge

Auf Karten zeichnen

Marker

Markierungsklasse

Methoden: getAnimation, getClickable, getCursor, getDraggable, getIcon, getLabel, getMap, getOpacity, getPosition, getShape, getTitle, getVisible, getZIndex, setAnimation, setClickable,setCursor, setDraggable,setIcon,,{2/3/getCursor,getCursor

Konstanten: MAX_ZINDEX

Veranstaltungen: animation_changed, click, clickable_changed, contextmenu, cursor_changed, dblclick, drag, dragend, draggable_changed, dragstart, flat_changed, icon_changed, mousedown, mouseout, mouseover, mouseup, position_changed, shape_changed,title_changed,title_changed,title_changed,flat_changed

MarkerOptions-Schnittstelle

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

BetaKollisionBehavior-Konstanten

Konstanten: OPTIONAL_AND_HIDES_LOWER_PRIORITY, REQUIRED, REQUIRED_AND_HIDES_OPTIONAL

Symbolleiste

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

MarkerLabel-Schnittstelle

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

MarkerShape-Oberfläche

Properties: coords, type

Symbolschnittstelle

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

SymbolPath-Konstanten

Konstanten: BACKWARD_CLOSED_ARROW, BACKWARD_OPEN_ARROW, CIRCLE, FORWARD_CLOSED_ARROW, FORWARD_OPEN_ARROW

Animationskonstanten

Konstanten: BOUNCE, DROP

Erweiterte Markierungen (Beta)

BetaAdvancedMarkerView-Klasse

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

Methoden: addListener

Termine: click, drag, dragend, dragstart

BetaSchnittstelle „AdvancedMarkerViewOptions“

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

BetaPinView-Klasse

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

Methoden: addListener

BetaPinViewOptions-Schnittstelle

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

Infofenster

InfoWindow-Klasse

Methoden: close, focus, getContent, getPosition, getZIndex, open, setContent, setOptions, setPosition, setZIndex

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

InfoWindowOptions-Schnittstelle

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

InfoWindowOpenOptions-Schnittstelle

Properties: anchor, map, shouldFocus

Polygone

Polylinienklasse

Methoden: getDraggable, getEditable, getMap, getPath, getVisible, setDraggable, setEditable, setMap, setOptions, setPath, setVisible

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

Polylinien-Schnittstelle

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

IconSequenz-Schnittstelle

Properties: fixedRotation, icon, offset, repeat

Polygon-Klasse

Methoden: getDraggable, getEditable, getMap, getPath, getPaths, getVisible, setDraggable, setEditable, setMap, setOptions, setPath, setPaths, setVisible

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

PolygonOptions-Oberfläche

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

PolyMouseEvent-Oberfläche

Properties: edge, path, vertex

Rectangle-Klasse

Methoden: getBounds, getDraggable, getEditable, getMap, getVisible, setBounds, setDraggable, setEditable, setMap, setOptions, setVisible

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

RectangleOptions-Schnittstelle

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

Kreisklasse

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

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

CircleOptions-Schnittstelle

Properties: center, clickable, draggable, editable, fillColor, fillOpacity, map, radius, strokeColor, strokeOpacity, strokePosition, strokeWeight, visible, zIndex

StrokePosition-Konstanten

Konstanten: CENTER, INSIDE, OUTSIDE

Daten

Datenklasse

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

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

Data.DataOptions-Schnittstelle

Properties: controlPosition, controls, drawingMode, featureFactory, map, style

Data.GeoJsonOptions-Schnittstelle

Unterkünfte: idPropertyName

Data.StyleOptions-Schnittstelle

Properties: animation, clickable, cursor, draggable, editable, fillColor, fillOpacity, icon, icons, label, opacity, shape, strokeColor, strokeOpacity, strokeWeight, title, visible, zIndex

Data.StylingFunction typedef
Data.Feature-Klasse

Methoden: forEachProperty, getGeometry, getId, getProperty, removeProperty, setGeometry, setProperty, toGeoJson

Termine: removeproperty, setgeometry, setproperty

Data.FeatureOptions-Schnittstelle

Properties: geometry, id, properties

Data.Geometry-Schnittstelle

Methoden: forEachLatLng, getType

Data.Point-Klasse

Methoden: forEachLatLng, get, getType

Data.MultiPoint-Klasse

Methoden: forEachLatLng, getArray, getAt, getLength, getType

Data.LineString-Klasse

Methoden: forEachLatLng, getArray, getAt, getLength, getType

Data.MultiLineString-Klasse

Methoden: forEachLatLng, getArray, getAt, getLength, getType

Data.LinearRing-Klasse

Methoden: forEachLatLng, getArray, getAt, getLength, getType

Data.Polygon-Klasse

Methoden: forEachLatLng, getArray, getAt, getLength, getType

Data.MultiPolygon-Klasse

Methoden: forEachLatLng, getArray, getAt, getLength, getType

Data.GeometryCollection-Klasse

Methoden: forEachLatLng, getArray, getAt, getLength, getType

Data.MouseEvent-Schnittstelle

Unterkünfte: feature

Data.AddFeatureEvent-Schnittstelle

Unterkünfte: feature

Data.RemoveFeatureEvent-Schnittstelle

Unterkünfte: feature

Data.SetGeometryEvent-Schnittstelle

Properties: feature, newGeometry, oldGeometry

Data.SetPropertyEvent-Schnittstelle

Properties: feature, name, newValue, oldValue

Data.RemovePropertyEvent-Schnittstelle

Properties: feature, name, oldValue

DOM-Elemente

OverlayView-Klasse

Statische Methoden: preventMapHitsAndGesturesFrom, preventMapHitsFrom

Methoden: draw, getMap, getPanes, getProjection, onAdd, onRemove, setMap

MapPanes-Oberfläche

Properties: floatPane, mapPane, markerLayer, overlayLayer, overlayMouseTarget

MapCanvasProjection-Schnittstelle

Methoden: fromContainerPixelToLatLng, fromDivPixelToLatLng, fromLatLngToContainerPixel, fromLatLngToDivPixel, getVisibleRegion, getWorldWidth

KML

KmlLayer-Klasse

Methoden: getDefaultViewport, getMap, getMetadata, getStatus, getUrl, getZIndex, setMap, setOptions, setUrl, setZIndex

Termine: click, defaultviewport_changed, status_changed

KmlLayerOptions-Schnittstelle

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

KmlLayerMetadata-Oberfläche

Properties: author, description, hasScreenOverlays, name, snippet

Konstanten „KmlLayerStatus“

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

KmlMouseEvent-Schnittstelle

Properties: featureData, latLng, pixelOffset

KmlFeatureData-Schnittstelle

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

KmlAuthor-Schnittstelle

Properties: email, name, uri

Bild-Overlays

Kartentyp-Schnittstelle

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

Methoden: getTile, releaseTile

Projektionsoberfläche

Methoden: fromLatLngToPoint, fromPointToLatLng

ImageAdManager-Klasse

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

Methoden: getOpacity, getTile, releaseTile, setOpacity

Termine: tilesloaded

ImageAdManagerOptions-Schnittstelle

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

GroundOverlay-Klasse

Methoden: getBounds, getMap, getOpacity, getUrl, setMap, setOpacity

Termine: click, dblclick

GroundOverlayOptions-Schnittstelle

Properties: clickable, map, opacity

StyledAdManager-Klasse

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

Methoden: getTile, releaseTile

StyledAdManagerOptions-Schnittstelle

Properties: alt, maxZoom, minZoom, name

Zeichnungsbibliothek

Zeichnungsmanager-Klasse

Methoden: getDrawingMode, getMap, setDrawingMode, setMap, setOptions

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

ZeichenmanagerOptions-Schnittstelle

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

Zeichnungskontrolloptionen-Schnittstelle

Properties: drawingModes, position

OverlayCompleteEvent-Schnittstelle

Properties: overlay, type

OverlayType-Konstanten

Konstanten: CIRCLE, MARKER, POLYGON, POLYLINE, RECTANGLE

Heatmaps

HeatmapLayer-Klasse

Methoden: getData, getMap, setData, setMap, setOptions

HeatmapLayerOptions-Schnittstelle

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

WeightedLocation-Schnittstelle

Properties: location, weight

Maximaler Zoom

MaxZoomService-Klasse

Methoden: getMaxZoomAtLatLng

MaxZoomResult-Schnittstelle

Properties: status, zoom

Konstanten „MaxZoomStatus“

Konstanten: ERROR, OK

Street View

Rendering

StreetPanorama-Klasse

Unterkünfte: controls

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

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

StreetPanoramaOptions-Schnittstelle

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

StreetAddressControlOptions-Schnittstelle

Unterkünfte: position

PanoProviderOptions-Schnittstelle

Unterkünfte: cors

StreetTileData-Schnittstelle

Properties: centerHeading, tileSize, worldSize

Methoden: getTileUrl

StreetViewPov-Schnittstelle

Properties: heading, pitch

StreetAbdeckungLayer-Klasse

Methoden: getMap, setMap

Dienst

StreetService-Klasse

Methoden: getPanorama

StreetStatus-Konstanten

Konstanten: OK, UNKNOWN_ERROR, ZERO_RESULTS

StreetLocationRequest-Schnittstelle

Properties: location, preference, radius, source

StreetPanoRequest-Oberfläche

Unterkünfte: pano

StreetViewResponse-Oberfläche

Unterkünfte: data

StreetLocation-Oberfläche

Properties: description, latLng, pano, shortDescription

StreetPreferences-Konstanten

Konstanten: BEST, NEAREST

StreetViewSource-Konstanten

Konstanten: DEFAULT, OUTDOOR

StreetPanoramaData-Schnittstelle

Properties: copyright, imageDate, links, location, tiles

Properties: description, heading, pano

Orte

Places-Widgets

Klasse für die automatische Vervollständigung

Methoden: getBounds, getFields, getPlace, setBounds, setComponentRestrictions, setFields, setOptions, setTypes

Termine: place_changed

AutocompleteOptions-Schnittstelle

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

Methoden: getBounds, getPlaces, setBounds

Termine: places_changed

SearchBoxOptions-Schnittstelle

Unterkünfte: bounds

Ort (Beta)

BetaOrtsklasse

Statische Methoden: findPlaceFromPhoneNumber, findPlaceFromQuery

Properties: addressComponents, adrFormatAddress, attributions, businessStatus, displayName, formattedAddress, googleMapsURI, icon, iconBackgroundColor, id, internationalPhoneNumber, location, nationalPhoneNumber, openingHours, photos, plusCode, priceLevel, rating,reviews,websiteURI,websiteURI

Methoden: fetchFields, getNextOpeningTime, isOpen

BetaPlaceOptions-Schnittstelle

Properties: id, requestedLanguage, requestedRegion

BetaAddressComponent-Klasse

Properties: longText, shortText, types

BetaAttributionsklasse

Properties: provider, providerURI

BetaFetchFieldsRequest-Oberfläche

Properties: fields, sessionToken

BetaÖffnungszeiten

Properties: periods, weekdayDescriptions

BetaOpeningHoursClass-Klasse

Properties: close, open

BetaOpeningHoursPoint-Klasse

Properties: day, hour, minute

BetaFotoklasse

Properties: attributions, heightPx, widthPx

Methoden: getURI

BetaPhotoAttribution-Klasse

Properties: author, authorURI

BetaPlusCode-Klasse

Properties: compoundCode, globalCode

BetaKurs überprüfen

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

Places-Dienst

PlacesService-Klasse

Methoden: findPlaceFromPhoneNumber, findPlaceFromQuery, getDetails, nearbySearch, textSearch

PlaceDetailsRequest-Schnittstelle

Properties: fields, language, placeId, region, sessionToken

FindPlaceFromPhoneNumberRequest-Schnittstelle

Properties: fields, language, locationBias, phoneNumber

FindPlaceFromQueryRequest-Oberfläche

Properties: fields, language, locationBias, query

PlaceSearchRequest-Oberfläche

Properties: bounds, keyword, language, location, maxPriceLevel, minPriceLevel, openNow, radius, rankBy, type, name

TextSearchRequest-Oberfläche

Properties: bounds, language, location, query, radius, region, type

RankBy-Konstanten

Konstanten: DISTANCE, PROMINENCE

LocationBias typedef
LocationRestriction typedef
Konstanten „PlacesServiceStatus“

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

PlaceSearchPagination-Schnittstelle

Unterkünfte: hasNextPage

Methoden: nextPage

PlaceResult-Schnittstelle

Properties: 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, permanently_closed,utc_offset,permanently_closed

PlaceAspectRating-Oberfläche

Properties: rating, type

BusinessStatus-Konstanten

Konstanten: CLOSED_PERMANENTLY, CLOSED_TEMPORARILY, OPERATIONAL

PlaceGeometry-Schnittstelle

Properties: location, viewport

PlaceOpeningHours-Oberfläche

Properties: periods, weekday_text, open_now

Methoden: isOpen

PlaceOpeningHoursPeriod-Schnittstelle

Properties: close, open

PlaceOpeningHoursTime-Oberfläche

Properties: day, hours, minutes, nextDate, time

PlacePlusCode-Schnittstelle

Properties: compound_code, global_code

PlacePhoto-Oberfläche

Properties: height, html_attributions, width

Methoden: getUrl

PhotoOptions-Oberfläche

Properties: maxHeight, maxWidth

PlaceReview-Benutzeroberfläche

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

„Places Autocomplete“-Dienst

AutocompleteService-Klasse

Methoden: getPlacePredictions, getQueryPredictions

Schnittstelle zur automatischen Vervollständigungsanfrage

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

AutocompleteResponse-Schnittstelle

Unterkünfte: predictions

Schnittstelle zur automatischen Vervollständigung für Anfragen

Properties: bounds, input, location, offset, radius

AutocompleteSessionToken-Klasse
ComponentRestrictions-Oberfläche

Unterkünfte: country

AutocompletePrediction-Schnittstelle

Properties: description, distance_meters, matched_substrings, place_id, structured_formatting, terms, types

QueryAutocompletePrediction-Schnittstelle

Properties: description, matched_substrings, place_id, terms

PredictionTerm-Schnittstelle

Properties: offset, value

PredictionSubstring-Schnittstelle

Properties: length, offset

Oberfläche für strukturierte Formatierung

Properties: main_text, main_text_matched_substrings, secondary_text

Geocoder

Geocoder-Klasse

Methoden: geocode

GeocoderRequest-Schnittstelle

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

GeocoderComponentRestrictions-Schnittstelle

Properties: administrativeArea, country, locality, postalCode, route

Konstanten für GeocoderStatus

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

GeocoderResponse-Schnittstelle

Unterkünfte: results

GeocoderResult-Schnittstelle

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

GeocoderAddressComponent-Schnittstelle

Properties: long_name, short_name, types

GeocoderGeometry-Schnittstelle

Properties: bounds, location, location_type, viewport

GeocoderLocationType-Konstanten

Konstanten: APPROXIMATE, GEOMETRIC_CENTER, RANGE_INTERPOLATED, ROOFTOP

Routen

Route

DirectionsService-Klasse

Methoden: route

DirectionsRequest-Schnittstelle

Properties: avoidFerries, avoidHighways, avoidTolls, destination, drivingOptions, language, optimizeWaypoints, origin, provideRouteAlternatives, region, transitOptions, travelMode, unitSystem, waypoints

DirectionsStatus-Konstanten

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

DirectionsResult-Schnittstelle

Properties: available_travel_modes, geocoded_waypoints, routes

DirectionsRenderer-Klasse

Methoden: getDirections, getMap, getPanel, getRouteIndex, setDirections, setMap, setOptions, setPanel, setRouteIndex

Termine: directions_changed

DirectionsRendererOptions-Schnittstelle

Properties: directions, draggable, hideRouteList, infoWindow, map, markerOptions, panel, polylineOptions, preserveViewport, routeIndex, suppressBicyclingLayer, suppressInfoWindows, suppressMarkers, suppressPolylines

DirectionsWaypoint-Schnittstelle

Properties: location, stopover

DirectionsGeocodedWaypoint-Schnittstelle

Properties: partial_match, place_id, types

DirectionsRoute-Schnittstelle

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

DirectionsLeg-Schnittstelle

Properties: arrival_time, departure_time, distance, duration, duration_in_traffic, end_address, end_location, start_address, start_location, steps, via_waypoints, traffic_speed_entry

DirectionsStep-Oberfläche

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

DirectionsPoly-Schnittstelle

Unterkünfte: points

Ortskarte

Properties: location, placeId, query

TravelMode-Konstanten

Konstanten: BICYCLING, DRIVING, TRANSIT, WALKING

DrivingOptions-Schnittstelle

Properties: departureTime, trafficModel

TrafficModel-Konstanten

Konstanten: BEST_GUESS, OPTIMISTIC, PESSIMISTIC

TransitOptions-Schnittstelle

Properties: arrivalTime, departureTime, modes, routingPreference

Konstanten für TransitMode

Konstanten: BUS, RAIL, SUBWAY, TRAIN, TRAM

Konstanten für TransitRoutePreferences

Konstanten: FEWER_TRANSFERS, LESS_WALKING

Benutzeroberfläche von TransitFare

Properties: currency, value

TransitDetails-Schnittstelle

Properties: arrival_stop, arrival_time, departure_stop, departure_time, headsign, headway, line, num_stops, trip_short_name

TransitStop-Schnittstelle

Properties: location, name

TransitLine-Schnittstelle

Properties: agencies, color, icon, name, short_name, text_color, url, vehicle

Benutzeroberfläche von TransitAgency

Properties: name, phone, url

Schnittstelle für öffentliche Verkehrsmittel

Properties: icon, local_icon, name, type

VehicleType-Konstanten

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

UnitSystem-Konstanten

Konstanten: IMPERIAL, METRIC

Entfernung

Properties: text, value

Schnittstelle zur Dauer

Properties: text, value

Zeitoberfläche

Properties: text, time_zone, value

DirectionsTravelMode-Konstanten
DirectionsUnitSystem-Konstanten

Distance Matrix

DistanceMatrixService-Klasse

Methoden: getDistanceMatrix

DistanceMatrixRequest-Schnittstelle

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

DistanceMatrixResponse-Schnittstelle

Properties: destinationAddresses, originAddresses, rows

DistanceMatrixResponseRow-Schnittstelle

Unterkünfte: elements

DistanceMatrixResponseElement

Properties: distance, duration, duration_in_traffic, fare, status

DistanceMatrixStatus-Konstanten

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

Konstanten „DistanceMatrixElementStatus“

Konstanten: NOT_FOUND, OK, ZERO_RESULTS

Elevation

ElevationService-Klasse

Methoden: getElevationAlongPath, getElevationForLocations

LocationElevationRequest-Schnittstelle

Unterkünfte: locations

LocationElevationResponse-Schnittstelle

Unterkünfte: results

PathElevationRequest-Schnittstelle

Properties: path, samples

PathElevationResponse-Schnittstelle

Unterkünfte: results

ElevationResult-Schnittstelle

Properties: elevation, location, resolution

Konstanten für ElevationStatus

Konstanten: INVALID_REQUEST, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR

Lokaler Kontext (Beta)

Kartenansicht

BetaLocalContextMapView-Klasse

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

Methoden: addListener, hidePlaceDetailsView, search

Termine: error, placedetailsviewhidestart, placedetailsviewshowstart

BetaLocalContextMapViewOptions-Schnittstelle

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

BetaPlaceTypePreferences typedef
BetaMapDirectionsOptions-Klasse

Methoden: addListener

BetaMapDirectionsOptionsLiteral-Schnittstelle

Unterkünfte: origin

BetaPinOptions-Schnittstelle

Properties: background, glyphColor, scale

PlaceChooserViewSetupOptions-Schnittstelle

Properties: layoutMode, position

BetaPlaceChooserLayoutMode-Konstanten

Konstanten: HIDDEN, SHEET

BetaPlaceChooserPosition-Konstanten

Konstanten: BLOCK_END, INLINE_END, INLINE_START

PlaceDetailsViewSetupOptions-Schnittstelle

Properties: hidesOnMapClick, layoutMode, position

BetaPlaceDetailsLayoutMode-Konstanten

Konstanten: INFO_WINDOW, SHEET

BetaPlaceDetailsPosition-Konstanten

Konstanten: INLINE_END, INLINE_START

Reise teilen (Beta)

Kartenansicht

BetaJourneySharingMapView-Klasse

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

BetaJourneySharingMapViewOptions-Schnittstelle

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

BetaAutomaticViewportMode-Konstanten

Konstanten: FIT_ANTICIPATED_ROUTE, NONE

BetaAbstrakte Klasse „LocationProvider“

Methoden: addListener

Authentifizierung

BetaAuthToken-Schnittstelle

Properties: expiresInSeconds, token

BetaAuthTokenContext-Schnittstelle

Properties: deliveryVehicleId, taskId, trackingId, tripId, vehicleId

BetaAuthTokenFetcher-Typdef
BetaAuthTokenFetcherOptions-Schnittstelle

Properties: context, serviceType

BetaFleetEngineServiceType-Konstanten

Konstanten: DELIVERY_VEHICLE_SERVICE, TASK_SERVICE, TRIP_SERVICE, UNKNOWN_SERVICE

UI-Anpassung

BetaPolyline-Konfigurationstyp
BetaPolygonSetupOptions-Oberfläche

Properties: polylineOptions, visible

BetaDefaultPolygonSetupOptions-Oberfläche

Properties: defaultPolylineOptions, defaultVisible

BetaMarkerSetup typedef:
BetaMarkerSetupOptions-Oberfläche

Unterkünfte: markerOptions

BetaDefaultMarkerSetupOptions-Oberfläche

Unterkünfte: defaultMarkerOptions

BetaMarkerCustomizeFunctionParams-Schnittstelle

Properties: defaultOptions, isNew, marker

BetaDeliveryVehicleMarkerCustomizeFunctionFunctions Schnittstelle

Unterkünfte: vehicle

BetaPlannedStopMarkerCustomizeFunctionParams Interface

Unterkünfte: stopIndex

BetaTaskMarkerCustomizeFunctionParams-Schnittstelle

Unterkünfte: task

BetaShipmentMarkerCustomizeFunctionFunctions Schnittstelle

Unterkünfte: task

Entitäten für Fleet Engine

BetaTask-Oberfläche

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

BetaFahrtoberfläche

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

BetaDeliveryVehicle-Oberfläche

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

BetaVehicleJourneySegment-Oberfläche

Properties: distanceMeters, durationMillis, extraDurationMillis, location, path

BetaVehicleLocationUpdate-Schnittstelle

Properties: heading, location, speedKilometersPerHour, time

BetaVehicleWaypoint-Schnittstelle

Properties: distanceMeters, durationMillis, location, path

Fahrt und Auftragsfortschritt

BetaFleetEngineTripLocationProvider-Klasse

Unterkünfte: tripId

Methoden: refresh

Termine: error, update

BetaFleetEngineTripLocationProviderOptions-Schnittstelle

Properties: authTokenFetcher, pollingIntervalMillis, projectId, tripId

BetaFleetEngineTripLocationProviderUpdateEvent-Schnittstelle

Unterkünfte: trip

Flotten-Tracking

BetaFleetEngineDeliveryVehicleLocationProvider-Klasse

Properties: deliveryVehicleId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

Termine: error, update

BetaFleetEngineDeliveryVehicleLocationProviderOptions

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

BetaFleetEngineTaskFilterOptions-Schnittstelle

Properties: completionTimeFrom, completionTimeTo, state

BetaFleetEngineDeliveryVehicleLocationProviderUpdateEvent-Schnittstelle

Properties: completedVehicleJourneySegments, deliveryVehicle, tasks

BetaFleetEngineDeliveryFleetLocationProvider-Klasse

Properties: deliveryVehicleFilter, locationRestriction, pollingIntervalMillis, staleLocationThresholdMillis

Termine: update

BetaFleetEngineDeliveryFleetLocationProviderOptions-Schnittstelle

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

BetaFleetEngineDeliveryFleetLocationProviderUpdateEvent-Schnittstelle

Unterkünfte: deliveryVehicles

Sendungsverfolgung

BetaFleetEngineShipmentLocationProvider-Klasse

Unterkünfte: trackingId

Methoden: getTask, refresh

Termine: error, update

BetaFleetEngineShipmentLocationProviderOptions

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

BetaFleetEngineShipmentLocationProviderUpdateEvent-Schnittstelle

Unterkünfte: task