Google Maps JavaScript API V3 Reference

Ostatnia aktualizacja: czwartek, 27 października 2022 r.

To jest indeks wszystkich klas, metod i interfejsów dostępnych w Maps JavaScript API w wersji 3.50.

Więcej informacji znajdziesz w informacjach o wersjach i wersjach.

Kliknij nazwę dowolnego elementu, aby wyświetlić szczegółową dokumentację.

Koncepcje globalne

google.maps

Przestrzeń nazw google.maps

Stałe: version

Ustawienia (beta)

">Klasa ustawień

Metody statyczne: ">getInstance

Właściwości: ">experienceIds

System zdarzeń

klasa wydarzenia

Metody statyczne: addListener, addListenerOnce, clearInstanceListeners, clearListeners, hasListeners, removeListener, trigger, addDomListener, addDomListenerOnce

Interfejs MapsEventListener

Metody: remove

Klasa MVCObject

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

Klasa MVCArray

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

Wydarzenia: insert_at, remove_at, set_at

Interfejs EventEvent

Właściwości: error

Błędy

Klasa MapsNetworkError

Właściwości: code, endpoint

Klasa MapsRequestError
Klasa serwera Server Maps
Stałe MapsMapsErrorEndpoint

Stałe: 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_LOCAL_CONTEXT_SEARCH

Mapy

Mapy

Klasa mapy

Właściwości: controls, data, mapTypes, overlayMapTypes

Metody: fitBounds, getBounds, getCenter, getClickableIcons, getDiv, ">getFeatureLayer, getHeading, ">getMapCapabilities, getMapTypeId, getProjection, getRenderingType, getStreetView, getTilt, getZoom, moveCamera, getTilt,getTilt, {3/2, 2, {2/2, 2, {2/2, }, 2/2, {2/2}:}

Stałe: DEMO_MAP_ID

Zdarzenia: bounds_changed, center_changed, click, contextmenu, dblclick, drag, dragend, dragstart, heading_changed, idle, isfractionalzoomenabled_changed, ">mapcapabilities_changed, maptypeid_changed, mousemove, mouseout, mouseover, tilesloaded, tilt_changed, tilesloaded, 2

Interfejs MapOptions

Properties: backgroundColor, center, clickableIcons, controlSize, disableDefaultUI, disableDoubleClickZoom, draggableCursor, draggingCursor, fullscreenControl, fullscreenControlOptions, gestureHandling, heading, isFractionalZoomEnabled, keyboardShortcuts, mapId, mapTypeControl, mapTypeControlOptions, mapTypeId, maxZoom, minZoom, noClear, panControl, panControlOptions, restriction, rotateControl, rotateControlOptions, scaleControl, scaleControlOptions, scrollwheel, streetView, streetViewControl, streetViewControlOptions, styles, tilt, zoom, zoomControl, zoomControlOptions, draggable

Interfejs MapTypeStyle

Właściwości: elementType, featureType, stylers

Interfejs MapMyEvent

Właściwości: domEvent, latLng

Metody: stop

Interfejs IconBrowserEvent

Właściwości: placeId

Stałe MapTypeId

Stałe: HYBRID, ROADMAP, SATELLITE, TERRAIN

Klasa rejestru MapType

Metody: set

Interfejs MapRestriction

Właściwości: latLngBounds, strictBounds

Klasa TrayLayer

Metody: getMap, setMap, setOptions

Interfejs TrafficLayerOptions

Właściwości: autoRefresh, map

Klasa TransportLayer

Metody: getMap, setMap

Klasa rowerów

Metody: getMap, setMap

">Interfejs CameraOptions

Właściwości: center, heading, tilt, zoom

Interfejs VisibleRegion

Właściwości: farLeft, farRight, latLngBounds, nearLeft, nearRight

Stałe renderowania typu

Stałe: RASTER, UNINITIALIZED, VECTOR

">Interfejs MapCapities

Właściwości: isAdvancedMarkersAvailable, isDataDrivenStylingAvailable

WebGL

Klasa WebGLOverlayView

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

Interfejs WebGLDrawOptions

Właściwości: gl, transformer

Interfejs WebGLStateOptions

Właściwości: gl

Interfejs CoordinateTransformer

Metody: fromLatLngAltitude, getCameraParams

Interfejs CameraParams

Właściwości: center, heading, tilt, zoom

Współrzędne

Klasa LatLng

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

Interfejs LatLngLiteral

Właściwości: lat, lng

Klasa LatLngBounds

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

Stałe: MAX_BOUNDS

Interfejs LatLngBoundsLiteral

Właściwości: east, north, south, west

Klasa LatLngAltitude

Właściwości: altitude, lat, lng

Metody: equals, toJSON

Interfejs LatLngAltitudeLiteral

Właściwości: altitude, lat, lng

Klasa punktu

Właściwości: x, y

Metody: equals, toString

Klasa rozmiaru

Właściwości: height, width

Metody: equals, toString

Dopełnienie interfejsu

Właściwości: bottom, left, right, top

Interfejs CircleLiteral

Właściwości: center, radius

Styl oparty na danych (beta)

">Interfejs warstwy funkcji

Właściwości: featureType, isAvailable, style

Metody: addListener

">Stałe typu cech

Stałe: ADMINISTRATIVE_AREA_LEVEL_1, ADMINISTRATIVE_AREA_LEVEL_2, ADMINISTRATIVE_AREA_LEVEL_3, ADMINISTRATIVE_AREA_LEVEL_4, COUNTRY, LOCALITY, NEIGHBORHOOD, POSTAL_CODE, SUBLOCALITY_LEVEL_1

">FeatureStyleFunctiondefdef
">Interfejs FeatureStyleFunctionOptions

Właściwości: feature

">Interfejs FeatureStyleOptions

Właściwości: fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWeight

">Interfejs funkcji

Właściwości: featureType

">Interfejs PlaceFeature

Właściwości: displayName, placeId

">Interfejs FeatureBrowserEvent

Właściwości: features

Opcje

Interfejs FullscreenControlOptions

Właściwości: position

Interfejs MapTypeControlOptions

Właściwości: mapTypeIds, position, style

Stałe MapTypeControlStyle

Stałe: DEFAULT, DROPDOWN_MENU, HORIZONTAL_BAR

Interfejs MotionTrackingControlOptions

Właściwości: position

Interfejs PanControlOptions

Właściwości: position

Interfejs ControlControlOptions

Właściwości: position

Interfejs ScaleControlOptions

Właściwości: style

Stałe ScaleControlStyle

Stałe: DEFAULT

Interfejs StreetViewControlOptions

Właściwości: position

Interfejs ZoomControlOptions

Właściwości: position

Stałe pozycji elementu sterującego

Stałe: BOTTOM_CENTER, BOTTOM_LEFT, BOTTOM_RIGHT, LEFT_BOTTOM, LEFT_CENTER, LEFT_TOP, RIGHT_BOTTOM, RIGHT_CENTER, RIGHT_TOP, TOP_CENTER, TOP_LEFT, TOP_RIGHT

Biblioteka geometryczna

kodowanie przestrzeni nazw

Metody statyczne: decodePath, encodePath

sferyczna przestrzeń nazw

Metody statyczne: computeArea, computeDistanceBetween, computeHeading, computeLength, computeOffset, computeOffsetOrigin, computeSignedArea, interpolate

Przestrzeń nazw poly

Metody statyczne: containsLocation, isLocationOnEdge

Rysunek na mapie

Znacznik

Klasa znacznika

Metody: getAnimation, getClickable, getCursor, getDraggable, getIcon, getLabel, getMap, getOpacity, getPosition, getShape, getTitle, getVisible, getZIndex, setAnimation, setClickable, setCursor,{2/2,}2,{2/2,}2, {2/2,}2, {2/2, 2, }, {2/2, 2, }, {2/2, }, 2{2/2}:}

Stałe: MAX_ZINDEX

Zdarzenia: animation_changed, click, clickable_changed, contextmenu, cursor_changed, dblclick, drag, dragend, draggable_changed, dragstart, flat_changed, icon_changed, mousedown, mouseout, mouseover, mouseup, title_changed, visible_changed, title_changed, 2

Interfejs MarkerOptions

Właściwości: anchorPoint, animation, clickable, ">collisionBehavior, crossOnDrag, cursor, draggable, icon, label, map, opacity, optimized, position, shape, title, visible, zIndex

">Stałe kolizji

Stałe: OPTIONAL_AND_HIDES_LOWER_PRIORITY, REQUIRED, REQUIRED_AND_HIDES_OPTIONAL

Interfejs ikony

Właściwości: anchor, labelOrigin, origin, scaledSize, size, url

Interfejs MarkerLabel

Właściwości: className, color, fontFamily, fontSize, fontWeight, text

Interfejs MarkerShape

Właściwości: coords, type

Interfejs symboli

Właściwości: anchor, fillColor, fillOpacity, labelOrigin, path, rotation, scale, strokeColor, strokeOpacity, strokeWeight

Stałe SymbolPath

Stałe: BACKWARD_CLOSED_ARROW, BACKWARD_OPEN_ARROW, CIRCLE, FORWARD_CLOSED_ARROW, FORWARD_OPEN_ARROW

Stałe animacji

Stałe: BOUNCE, DROP

Znaczniki zaawansowane (beta)

">Klasa AdvancedMarkerView

Właściwości: collisionBehavior, content, draggable, element, map, position, title, zIndex

Metody: addListener

Wydarzenia: click, drag, dragend, dragstart

">Interfejs AdvancedMarkerViewOptions

Właściwości: collisionBehavior, content, draggable, element, map, position, title, zIndex

">Klasa PinView

Właściwości: background, borderColor, element, glyph, glyphColor, scale

Metody: addListener

">Interfejs PinViewOptions

Właściwości: background, borderColor, element, glyph, glyphColor, scale

Okno informacyjne

Klasa InfoWindow

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

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

Interfejs InfoWindowOptions

Właściwości: ariaLabel, content, disableAutoPan, maxWidth, minWidth, pixelOffset, position, zIndex

Interfejs InfoWindowOpenOptions

Właściwości: anchor, map, shouldFocus

Wielokąty

Klasa linii łamanej

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

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

Interfejs PolylineOptions

Właściwości: clickable, draggable, editable, geodesic, icons, map, path, strokeColor, strokeOpacity, strokeWeight, visible, zIndex

Interfejs IconSession

Właściwości: fixedRotation, icon, offset, repeat

Klasa wielokąta

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

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

Interfejs PolygonOptions

Właściwości: clickable, draggable, editable, fillColor, fillOpacity, geodesic, map, paths, strokeColor, strokeOpacity, strokePosition, strokeWeight, visible, zIndex

Interfejs PolyMyEvent

Właściwości: edge, path, vertex

Klasa prostokąta

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

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

Interfejs Options

Właściwości: bounds, clickable, draggable, editable, fillColor, fillOpacity, map, strokeColor, strokeOpacity, strokePosition, strokeWeight, visible, zIndex

Klasa koła

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

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

Interfejs CircleOptions

Właściwości: center, clickable, draggable, editable, fillColor, fillOpacity, map, radius, strokeColor, strokeOpacity, strokePosition, strokeWeight, visible, zIndex

Stałe położenia kreski

Stałe: CENTER, INSIDE, OUTSIDE

Dane

Klasa danych

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

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

Interfejs Data.DataOptions

Właściwości: controlPosition, controls, drawingMode, featureFactory, map, style

Interfejs Data.sonJsonOptions

Właściwości: idPropertyName

Interfejs Data.StyleOptions

Właściwości: animation, clickable, cursor, draggable, editable, fillColor, fillOpacity, icon, icons, label, opacity, shape, strokeColor, strokeOpacity, strokeWeight, title, visible, zIndex

Data.StyleingFunction typedef
Klasa Data.Feature

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

Wydarzenia: removeproperty, setgeometry, setproperty

Interfejs Data.FeatureOptions

Właściwości: geometry, id, properties

Interfejs Data.Geometry

Metody: forEachLatLng, getType

Klasa Data.Point

Metody: forEachLatLng, get, getType

Klasa Data.MultiPoint

Metody: forEachLatLng, getArray, getAt, getLength, getType

Klasa Data.LineString

Metody: forEachLatLng, getArray, getAt, getLength, getType

Klasa Data.MultiLineString

Metody: forEachLatLng, getArray, getAt, getLength, getType

Klasa Data.LinearRing

Metody: forEachLatLng, getArray, getAt, getLength, getType

Klasa Data.Polygon

Metody: forEachLatLng, getArray, getAt, getLength, getType

Klasa Data.MultiPolygon

Metody: forEachLatLng, getArray, getAt, getLength, getType

Klasa DataDataGeoGeoCollection

Metody: forEachLatLng, getArray, getAt, getLength, getType

Interfejs Data.MyEvent

Właściwości: feature

Interfejs Data.AddFeatureEvent

Właściwości: feature

Interfejs Data.RemoveFeatureEvent

Właściwości: feature

Interfejs Data.SetGeometryEvent

Właściwości: feature, newGeometry, oldGeometry

Interfejs Data.SetPropertyEvent

Właściwości: feature, name, newValue, oldValue

Interfejs Data.RemovePropertyEvent

Właściwości: feature, name, oldValue

Elementy DOM

Klasa ViewOverlay

Metody statyczne: preventMapHitsAndGesturesFrom, preventMapHitsFrom

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

Interfejs MapPanes

Właściwości: floatPane, mapPane, markerLayer, overlayLayer, overlayMouseTarget

Interfejs MapCanvasProjection

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

KML

Klasa KML

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

Wydarzenia: click, defaultviewport_changed, status_changed

Interfejs KmlLayerOptions

Właściwości: clickable, map, preserveViewport, screenOverlays, suppressInfoWindows, url, zIndex

Interfejs KmlLayerMetadata

Właściwości: author, description, hasScreenOverlays, name, snippet

Stałe KmlLayerStatus

Stałe: DOCUMENT_NOT_FOUND, DOCUMENT_TOO_LARGE, FETCH_ERROR, INVALID_DOCUMENT, INVALID_REQUEST, LIMITS_EXCEEDED, OK, TIMED_OUT, UNKNOWN

Interfejs KML

Właściwości: featureData, latLng, pixelOffset

Interfejs KmlFeatureData

Właściwości: author, description, id, infoWindowHtml, name, snippet

Interfejs KMLAuthor

Właściwości: email, name, uri

Obrazy nad powierzchnią

Interfejs MapType

Właściwości: alt, maxZoom, minZoom, name, projection, radius, tileSize

Metody: getTile, releaseTile

Interfejs projekcji

Metody: fromLatLngToPoint, fromPointToLatLng

Klasa mapy obrazu

Właściwości: alt, maxZoom, minZoom, name, projection, radius, tileSize

Metody: getOpacity, getTile, releaseTile, setOpacity

Wydarzenia: tilesloaded

Interfejs MapMapTypeOptions

Właściwości: alt, getTileUrl, maxZoom, minZoom, name, opacity, tileSize

Klasa GroundOverlay

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

Wydarzenia: click, dblclick

Interfejs GroundOverlayOptions

Właściwości: clickable, map, opacity

Klasa TypeedMapType

Właściwości: alt, maxZoom, minZoom, name, projection, radius, tileSize

Metody: getTile, releaseTile

Interfejs StyledMapTypeOptions

Właściwości: alt, maxZoom, minZoom, name

Biblioteka rysunków

Zajęcia z rysunku

Metody: getDrawingMode, getMap, setDrawingMode, setMap, setOptions

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

Interfejs RysunekManager

Właściwości: circleOptions, drawingControl, drawingControlOptions, drawingMode, map, markerOptions, polygonOptions, polylineOptions, rectangleOptions

Interfejs RysunekControlOptions

Właściwości: drawingModes, position

Interfejs OverlayCompleteEvent

Właściwości: overlay, type

Stałe typu nakładki

Stałe: CIRCLE, MARKER, POLYGON, POLYLINE, RECTANGLE

Mapy termiczne

Klasa warstwy termicznej

Metody: getData, getMap, setData, setMap, setOptions

Interfejs HeatmapLayerOptions

Właściwości: data, dissipating, gradient, map, maxIntensity, opacity, radius

Interfejs WeightedLocation

Właściwości: location, weight

Powiększenie

Klasa MaxZoomService

Metody: getMaxZoomAtLatLng

Interfejs MaxZoomResult

Właściwości: status, zoom

Stałe ZoomZoomStatus

Stałe: ERROR, OK

Street View

Renderowanie

Klasa Street View Panorama

Właściwości: controls

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

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

Interfejs Street ViewPanoramaOptions

Właściwości: addressControl, addressControlOptions, clickToGo, controlSize, disableDefaultUI, disableDoubleClickZoom, enableCloseButton, fullscreenControl, fullscreenControlOptions, imageDateControl, linksControl, motionTracking, motionTrackingControl, motionTrackingControlOptions, panControl, pov, motionTrackingControl, motionTrackingControl, 2, 2, 2, 2, 2}, {2/2, 2},

Interfejs StreetViewAddressControlOptions

Właściwości: position

Interfejs PananoProviderOptions

Właściwości: cors

Interfejs StreetViewTileData

Właściwości: centerHeading, tileSize, worldSize

Metody: getTileUrl

Interfejs Street ViewPov

Właściwości: heading, pitch

Klasa warstwy Street View

Metody: getMap, setMap

Usługa

Klasa usługi Street View

Metody: getPanorama

Stałe Street View

Stałe: OK, UNKNOWN_ERROR, ZERO_RESULTS

Interfejs StreetViewRequestRequest

Właściwości: location, preference, radius, source

Interfejs StreetViewPanoRequest

Właściwości: pano

Interfejs StreetView

Właściwości: data

Interfejs Street View Location

Właściwości: description, latLng, pano, shortDescription

Stałe StreetView

Stałe: BEST, NEAREST

Stałe StreetView

Stałe: DEFAULT, OUTDOOR

Interfejs Street ViewPanoramaData

Właściwości: copyright, imageDate, links, location, tiles

Właściwości: description, heading, pano

Miejsca

Widżety miejsc

Autouzupełnianie zajęć

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

Wydarzenia: place_changed

Interfejs autouzupełniania

Właściwości: bounds, componentRestrictions, fields, strictBounds, types, placeIdOnly

Metody: getBounds, getPlaces, setBounds

Wydarzenia: places_changed

Interfejs SearchBoxOptions

Właściwości: bounds

Usługa Miejsca

Klasa PlacesService

Metody: findPlaceFromPhoneNumber, findPlaceFromQuery, getDetails, nearbySearch, textSearch

Interfejs PlaceDetailsRequest

Właściwości: fields, language, placeId, region, sessionToken

Interfejs FindFindFromPhoneNumberRequest

Właściwości: fields, language, locationBias, phoneNumber

Interfejs FindFindFromQueryRequest

Właściwości: fields, language, locationBias, query

Interfejs PlaceSearchRequest

Właściwości: bounds, keyword, language, location, maxPriceLevel, minPriceLevel, openNow, radius, rankBy, type, name

Interfejs TextSearchRequest

Właściwości: bounds, language, location, query, radius, region, type

Stałe RankBy

Stałe: DISTANCE, PROMINENCE

Odmiana lokalizacji Bias
Definicja typu ograniczenia lokalizacji
Stałe PlacesServiceStatus

Stałe: INVALID_REQUEST, NOT_FOUND, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR, ZERO_RESULTS

Interfejs PlaceSearchPagination

Właściwości: hasNextPage

Metody: nextPage

Interfejs PlaceResult

Usługi: 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, rating,{2/2,}2, {2/2, 2, 2, 2, 2, {2/2, 2, {2/2, 2, {2/2}, {2/2, 2}, {2/2, 2}, {2/2, 2},

Interfejs PlaceAspectRating

Właściwości: rating, type

stały status firmy

Stałe: CLOSED_PERMANENTLY, CLOSED_TEMPORARILY, OPERATIONAL

Interfejs PlaceGeometry

Właściwości: location, viewport

Interfejs PlaceOpeningHours

Właściwości: periods, weekday_text, open_now

Metody: isOpen

InterfejsPlaceOpeningHoursPeriod

Właściwości: close, open

InterfejsPlaceOpeningHoursTime

Właściwości: day, hours, minutes, nextDate, time

Interfejs PlacePlusCode

Właściwości: compound_code, global_code

Interfejs PlacePhoto

Właściwości: height, html_attributions, width

Metody: getUrl

Interfejs PhotoOptions

Właściwości: maxHeight, maxWidth

Interfejs PlaceReview

Właściwości: author_name, author_url, language, profile_photo_url, rating, relative_time_description, text, time, aspects

Usługa autouzupełniania miejsc

Klasa autouzupełniania usługi

Metody: getPlacePredictions, getQueryPredictions

Interfejs autouzupełniania żądań

Właściwości: bounds, componentRestrictions, input, language, location, offset, origin, radius, region, sessionToken, types

Interfejs autouzupełniania odpowiedzi

Właściwości: predictions

Interfejs API autouzupełniania zapytań

Właściwości: bounds, input, location, offset, radius

Klasa AutocompleteSessionToken
Interfejs ComponentRestrictions

Właściwości: country

Interfejs autouzupełniania podpowiedzi

Właściwości: description, distance_meters, matched_substrings, place_id, structured_formatting, terms, types

Interfejs autouzupełniania zapytań prognozy

Właściwości: description, matched_substrings, place_id, terms

Interfejs PredictionTerm

Właściwości: offset, value

Interfejs PredictionSubstring

Właściwości: length, offset

Interfejs StructuredFormatowanie

Właściwości: main_text, main_text_matched_substrings, secondary_text

Geokoder

Klasa geokodera

Metody: geocode

Interfejs GeocoderRequest

Właściwości: address, bounds, componentRestrictions, ">language, location, placeId, region

Interfejs GeocoderComponentRestrictions

Właściwości: administrativeArea, country, locality, postalCode, route

Stałe GeocoderStatus

Stałe: ERROR, INVALID_REQUEST, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR, ZERO_RESULTS

Interfejs GeocoderResponse

Właściwości: results

Interfejs GeocoderResult

Właściwości: address_components, formatted_address, geometry, partial_match, place_id, plus_code, postcode_localities, types

Interfejs GeocoderAddressComponent

Właściwości: long_name, short_name, types

Interfejs GeocoderGeometry

Właściwości: bounds, location, location_type, viewport

Stałe GeocoderLocationType

Stałe: APPROXIMATE, GEOMETRIC_CENTER, RANGE_INTERPOLATED, ROOFTOP

Trasy

Trasa

Klasa ServiceService

Metody: route

Interfejs RequestRequest

Właściwości: avoidFerries, avoidHighways, avoidTolls, destination, drivingOptions, ">language, optimizeWaypoints, origin, provideRouteAlternatives, region, transitOptions, travelMode, unitSystem, waypoints

Stałe trasy dojazdu

Stałe: INVALID_REQUEST, MAX_WAYPOINTS_EXCEEDED, NOT_FOUND, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR, ZERO_RESULTS

Interfejs ResultResult

Właściwości: available_travel_modes, geocoded_waypoints, routes

Klasa Renderowania

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

Wydarzenia: directions_changed

Interfejs RouteRendererOptions

Właściwości: directions, draggable, hideRouteList, infoWindow, map, markerOptions, panel, polylineOptions, preserveViewport, routeIndex, suppressBicyclingLayer, suppressInfoWindows, suppressMarkers, suppressPolylines

Interfejs RouteWaypoint

Właściwości: location, stopover

Interfejs GeoGeodWaypoint

Właściwości: partial_match, place_id, types

Interfejs RouteRoute

Właściwości: bounds, copyrights, fare, legs, overview_path, overview_polyline, summary, warnings, waypoint_order

Interfejs LeLeg

Właściwości: arrival_time, departure_time, distance, duration, duration_in_traffic, end_address, end_location, start_address, start_location, steps, via_waypoints, traffic_speed_entry

Interfejs RouteStep

Właściwości: 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

Interfejs RoutePolyline

Właściwości: points

Interfejs miejsca

Właściwości: location, placeId, query

stałe trybu podróży

Stałe: BICYCLING, DRIVING, TRANSIT, WALKING

Interfejs OptionsOptions

Właściwości: departureTime, trafficModel

stałe modelu ruchu

Stałe: BEST_GUESS, OPTIMISTIC, PESSIMISTIC

Interfejs TransportOptions

Właściwości: arrivalTime, departureTime, modes, routingPreference

Stałe w trybie transportu publicznego

Stałe: BUS, RAIL, SUBWAY, TRAIN, TRAM

Stałe RouteRoutetras

Stałe: FEWER_TRANSFERS, LESS_WALKING

Interfejs TransportFare

Właściwości: currency, value

Interfejs TransportDetails

Właściwości: arrival_stop, arrival_time, departure_stop, departure_time, headsign, headway, line, num_stops, trip_short_name

Interfejs TransportStop

Właściwości: location, name

Interfejs TransportLine

Właściwości: agencies, color, icon, name, short_name, text_color, url, vehicle

Interfejs Transport Agency

Właściwości: name, phone, url

Interfejs Transportowy

Właściwości: icon, local_icon, name, type

Stałe typu pojazdu

Stałe: 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

Stałe UnitSystem

Stałe: IMPERIAL, METRIC

Interfejs odległości

Właściwości: text, value

Interfejs czasu trwania

Właściwości: text, value

Interfejs czasowy

Właściwości: text, time_zone, value

Stałe w trybie RouteTravel
Stałe RouteUnitSystem

Tablica macierzy

Klasa OdległośćMatrix

Metody: getDistanceMatrix

Interfejs OdległośćMatrixRequest

Właściwości: avoidFerries, avoidHighways, avoidTolls, destinations, drivingOptions, ">language, origins, region, transitOptions, travelMode, unitSystem

Interfejs OdległośćMatrixResponse

Właściwości: destinationAddresses, originAddresses, rows

Interfejs OdległośćMatrixResponse

Właściwości: elements

Interfejs OdległośćMatrixResponseElement

Właściwości: distance, duration, duration_in_traffic, fare, status

stałe OdległośćMatryca

Stałe: INVALID_REQUEST, MAX_DIMENSIONS_EXCEEDED, MAX_ELEMENTS_EXCEEDED, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR

Stałe odległości

Stałe: NOT_FOUND, OK, ZERO_RESULTS

Wysokość

Klasa ElevationService

Metody: getElevationAlongPath, getElevationForLocations

Interfejs LocationElevationRequest

Właściwości: locations

Interfejs LocationElevationResponse

Właściwości: results

Interfejs PathElevationRequest

Właściwości: path, samples

Interfejs PathElevationResponse

Właściwości: results

Interfejs ElevationResult

Właściwości: elevation, location, resolution

Stałe wysokości względnej

Stałe: INVALID_REQUEST, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR

Kontekst lokalny (beta)

Widok mapy

">Klasa ViewLocalMapMap

Właściwości: directionsOptions, element, isTransitioningMapBounds, locationBias, locationRestriction, maxPlaceCount, placeTypePreferences

Metody: addListener, hidePlaceDetailsView, search

Wydarzenia: error, placedetailsviewhidestart, placedetailsviewshowstart

">Interfejs LocalContextMapViewView

Właściwości: directionsOptions, element, locationBias, locationRestriction, map, maxPlaceCount, pinOptionsSetup, placeChooserViewSetup, placeDetailsViewSetup, placeTypePreferences

">Miejsce typuTypedef
">Klasa MapRouteOptions

Metody: addListener

">Interfejs MapRouteOptionsLiteral

Właściwości: origin

">Interfejs PinOptions

Właściwości: background, glyphColor, scale

Interfejs PlaceChooserViewSetupOptions

Właściwości: layoutMode, position

">Stałe PlacePlacerLayoutMode

Stałe: HIDDEN, SHEET

">Stałe położenia miejsca wyboru

Stałe: BLOCK_END, INLINE_END, INLINE_START

InterfejsPlaceDetailsViewSetupOptions

Właściwości: hidesOnMapClick, layoutMode, position

">Stałe PlacePlaceLayoutMode

Stałe: INFO_WINDOW, SHEET

">Stałe położenia miejsca

Stałe: INLINE_END, INLINE_START

Udostępnianie doświadczeń (beta)

Widok mapy

">Klasa JourneySharedMapView

Właściwości: anticipatedRoutePolylines, anticipatedRoutePolylineSetup, automaticViewportMode, destinationMarkers, destinationMarkerSetup, element, enableTraffic, locationProvider, map, mapOptions, originMarkers, originMarkerSetup, pingMarkerSetup, successfulTaskMarkers, successfulTaskMarkerSetup, taskOutcomeMarkerSetup, pingMarkerSetup, pingMarkerSetup, 2, 2, 2, 2, 2}, {2/2, 2},

">JourneySharedMapViewView

Właściwości: anticipatedRoutePolylineSetup, automaticViewportMode, destinationMarkerSetup, element, locationProvider, mapOptions, originMarkerSetup, pingMarkerSetup, successfulTaskMarkerSetup, takenRoutePolylineSetup, taskOutcomeMarkerSetup, unsuccessfulTaskMarkerSetup, vehicleMarkerSetup, waypointMarkerSetup

">Stałe AutoViewportMode

Stałe: FIT_ANTICIPATED_ROUTE, NONE

">Klasa abstrakcyjna LocationProvider

Metody: addListener

Uwierzytelnianie

">Interfejs TokenToken

Właściwości: expiresInSeconds, token

">Interfejs TokenTokenContext

Właściwości: deliveryVehicleId, taskId, trackingId, tripId, vehicleId

">Typ AuthTokenFetcher
">Interfejs TokenTokenFetcherOptions

Właściwości: context, serviceType

">Stałe FleetEngineServiceType

Stałe: DELIVERY_VEHICLE_SERVICE, TASK_SERVICE, TRIP_SERVICE, UNKNOWN_SERVICE

Dostosowywanie interfejsu

">Konfiguracja PolylineSetdef
">Interfejs PolylineSetupOptions

Właściwości: polylineOptions, visible

">Domyślny interfejs PolylineSetupOptions

Właściwości: defaultPolylineOptions, defaultVisible

">Parametr typeerKonfiguracja typu
">Interfejs MarkerSetupOptions

Właściwości: markerOptions

">Interfejs DefaultMarkerSetupOptions

Właściwości: defaultMarkerOptions

Jednostki Fleet Engine

">Interfejs zadania

Właściwości: estimatedCompletionTime, latestVehicleLocationUpdate, name, outcome, outcomeLocation, outcomeLocationSource, outcomeTime, plannedLocation, remainingVehicleJourneySegments, status, trackingId, type, vehicleId

">Interfejs podróży

Właściwości: actualDropOffLocation, actualPickupLocation, dropOffTime, latestVehicleLocationUpdate, name, passengerCount, pickupTime, plannedDropOffLocation, plannedPickupLocation, remainingWaypoints, status, type, vehicleId

">Interfejs DeliveryVehicle

Właściwości: attributes, currentRouteSegmentEndPoint, latestVehicleLocationUpdate, name, navigationStatus, remainingDistanceMeters, remainingDurationMillis, remainingVehicleJourneySegments

">Interfejs pojazduJourneySegment

Właściwości: distanceMeters, durationMillis, extraDurationMillis, location, path

">Interfejs LocationLocationUpdate

Właściwości: heading, location, speedKilometersPerHour, time

">Interfejs VehicleWaypoint

Właściwości: distanceMeters, durationMillis, location, path

Postęp podróży i zamówień

">Klasa FleetEngineTripLocationProvider

Właściwości: tripId

Metody: refresh

Wydarzenia: error, update

">Interfejs FleetEngineTripLocationProviderOptions

Właściwości: authTokenFetcher, pollingIntervalMillis, projectId, tripId

">Interfejs FleetEngineTripLocationProviderUpdateEvent

Właściwości: trip

Śledzenie flot

">Klasa FleetEngineDeliveryVehicleLocationProvider

Właściwości: deliveryVehicleId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

Wydarzenia: error, update

">Interfejs FleetEngineDeliveryVehicleLocationProviderOptions

Właściwości: authTokenFetcher, deliveryVehicleId, pollingIntervalMillis, projectId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

">Interfejs FleetEngineTaskFilterOptions

Właściwości: completionTimeFrom, completionTimeTo, state

">Interfejs FleetEngineDeliveryVehicleLocationProviderUpdateEvent

Właściwości: completedVehicleJourneySegments, deliveryVehicle, tasks

">Klasa FleetEngineDeliveryFleetLocationProvider

Właściwości: deliveryVehicleFilter, locationRestriction, pollingIntervalMillis, staleLocationThresholdMillis

Wydarzenia: update

">Interfejs FleetEngineDeliveryFleetLocationProviderOptions

Właściwości: authTokenFetcher, deliveryVehicleFilter, locationRestriction, projectId, staleLocationThresholdMillis

">Interfejs FleetEngineDeliveryFleetLocationProviderUpdateEvent

Właściwości: deliveryVehicles

Śledzenie przesyłki

">Klasa FleetEngineShipmentLocationProvider

Właściwości: trackingId

Metody: getTask, refresh

Wydarzenia: error, update

">Interfejs FleetEngineShipmentLocationProviderOptions

Właściwości: authTokenFetcher, pollingIntervalMillis, projectId, trackingId

">Interfejs FleetEngineShipmentLocationProviderUpdateEvent

Właściwości: task