Google Maps JavaScript API V3 Reference

Terakhir diperbarui Kamis, 18 Mei 2023

Ini adalah indeks dari semua class, metode, dan antarmuka di Maps JavaScript API versi 3.53 (saluran mingguan). Referensi ini terus diperbarui dengan perubahan terbaru pada API.

Untuk informasi tambahan, lihat Catatan Rilis dan Pembuatan Versi.
Lihat juga dokumentasi referensi untuk versi 3.52 (saluran kuartalan), versi 3.51 dan versi 3.50.

Klik nama item untuk melihat dokumentasi mendetail.

Konsep Global

google.maps

namespace google.maps

Metode Statis: importLibrary

Konstanta: version

Antarmuka CoreLibrary

Properti: ControlPosition, event, LatLng, LatLngAltitude, LatLngBounds, MapsNetworkError, MapsNetworkErrorEndpoint, MapsRequestError, MapsServerError, MVCArray, MVCObject, Point, Settings, Size, SymbolPath, UnitSystem

Antarmuka MapsLibrary

Properti: BicyclingLayer, Circle, Data, FeatureType, GroundOverlay, ImageMapType, InfoWindow, KmlLayer, KmlLayerStatus, Map, MapTypeControlStyle, MapTypeId, MapTypeRegistry, MaxZoomService, MaxZoomStatus, OverlayView, Polygon, Polyline, Polyline, ,RectangleRenderingTypeStrokePositionStyledMapTypeTrafficLayerTransitLayerWebGLOverlayView

Antarmuka PlacesLibrary

Properti: AddressComponent, Attribution, Autocomplete, AutocompleteService, AutocompleteSessionToken, BusinessStatus, OpeningHours, OpeningHoursPeriod, OpeningHoursPoint, Photo, PhotoAttribution, Place, PlacesService, PlacesServiceStatus, PlusCode, PriceLevel, RankBy, Review, SearchBox

Antarmuka GeocodingLibrary

Properti: Geocoder, GeocoderLocationType, GeocoderStatus

Antarmuka RoutesLibrary

Properti: DirectionsRenderer, DirectionsService, DirectionsStatus, DistanceMatrixElementStatus, DistanceMatrixService, DistanceMatrixStatus, TrafficModel, TransitMode, TransitRoutePreference, TravelMode, VehicleType

Antarmuka MarkerLibrary

Properti: AdvancedMarkerClickEvent, AdvancedMarkerElement, Animation, CollisionBehavior, Marker, PinElement

Antarmuka GeometryLibrary

Properti: encoding, poly, spherical

Antarmuka ElevationLibrary

Properti: ElevationService, ElevationStatus

Antarmuka StreetViewLibrary

Properti: InfoWindow, OverlayView, StreetViewCoverageLayer, StreetViewPanorama, StreetViewPreference, StreetViewService, StreetViewSource, StreetViewStatus

Antarmuka Journey SharingLibrary

Properti: AutomaticViewportMode, DeliveryVehicleStopState, FleetEngineDeliveryFleetLocationProvider, FleetEngineDeliveryVehicleLocationProvider, FleetEngineServiceType, FleetEngineShipmentLocationProvider, FleetEngineTripLocationProvider, JourneySharingMapView

Antarmuka DrawingLibrary

Properti: DrawingManager, OverlayType

Antarmuka VisualisasiLibrary

Properti: HeatmapLayer

Setelan (beta)

BetaKelas setelan

Metode Statis: BetagetInstance

Properti: BetaexperienceIds

Sistem peristiwa

kelas acara

Metode Statis: addListener, addListenerOnce, clearInstanceListeners, clearListeners, hasListeners, removeListener, trigger, addDomListener, addDomListenerOnce

Antarmuka MapsEventListener

Metode: remove

Class MVCObject

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

Class MVCArray

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

Peristiwa: insert_at, remove_at, set_at

Antarmuka ErrorEvent

Properti: error

Error

Class MapsNetworkError

Properti: code, endpoint

Class MapsRequestError
Class MapsServerError
Konstanta MapsNetworkErrorEndpoint

Konstanta: DIRECTIONS_ROUTE, DISTANCE_MATRIX, ELEVATION_ALONG_PATH, ELEVATION_LOCATIONS, FLEET_ENGINE_GET_DELIVERY_VEHICLE, FLEET_ENGINE_GET_TRIP, FLEET_ENGINE_GET_VEHICLE, FLEET_ENGINE_LIST_DELIVERY_VEHICLES, FLEET_ENGINE_LIST_TASKS, FLEET_ENGINE_LIST_VEHICLES, FLEET_ENGINE_SEARCH_TASKS, GEOCODER_GEOCODE, MAPS_MAX_ZOOM, PLACES_AUTOCOMPLETE, PLACES_DETAILS , PLACES_FIND_PLACE_FROM_PHONE_NUMBER, PLACES_FIND_PLACE_FROM_QUERY, PLACES_GATEWAY, PLACES_LOCAL_CONTEXT_SEARCH, PLACES_LOCAL_CONTEXT_SEARCHPLACES_NEARBY_SEARCHSTREETVIEW_GET_PANORAMA

Maps

Maps

Class peta

Properti: controls, data, mapTypes, overlayMapTypes

Metode: fitBounds, getBounds, getCenter, getClickableIcons, BetagetDatasetFeatureLayer, getDiv, getFeatureLayer, getHeading, getMapCapabilities, getMapTypeId, getProjection, getRenderingType, getStreetView, getTilt, getZoom , moveCamera, panBy, panBy, ,panBy,panTopanToBoundssetCentersetClickableIconssetHeadingsetMapTypeIdsetOptionssetStreetViewsetTiltsetZoom

Konstanta: DEMO_MAP_ID

Peristiwa: 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, tilt_changed, tilt_changedtilesloadedzoom_changedrightclick

Antarmuka MapOptions

backgroundColor; backgroundColor.centerclickableIconscontrolSizedisableDefaultUIdisableDoubleClickZoomdraggableCursordraggingCursorfullscreenControlfullscreenControlOptionsgestureHandlingheadingisFractionalZoomEnabledkeyboardShortcutsmapIdmapTypeControlmapTypeControlOptionsmapTypeIdmaxZoomminZoomnoClearpanControlpanControlOptionsrestrictionrotateControlrotateControlOptionsscaleControlscaleControlOptionsscrollwheelstreetViewstreetViewControlstreetViewControlOptionsstylestiltzoomzoomControlzoomControlOptionsdraggable

BetaClass MapElement

Properti: center, innerMap, mapId, zoom

Metode: BetaaddEventListener, BetaremoveEventListener

BetaAntarmuka MapElementOptions

Properti: center, mapId, zoom

Antarmuka MapTypeStyle

Properti: elementType, featureType, stylers

Antarmuka MapMouseEvent

Properti: domEvent, latLng

Metode: stop

Antarmuka IconMouseEvent

Properti: placeId

Konstanta MapTypeId

Konstanta: HYBRID, ROADMAP, SATELLITE, TERRAIN

class RegistryRegistry

Metode: set

Antarmuka MapRestriction

Properti: latLngBounds, strictBounds

Class TrafficLayer

Metode: getMap, setMap, setOptions

Antarmuka TrafficLayerOptions

Properti: autoRefresh, map

Class TransitLayer

Metode: getMap, setMap

Class BersepedaLayer

Metode: getMap, setMap

BetaAntarmuka CameraOptions

Properti: center, heading, tilt, zoom

Antarmuka VisibleRegion

Properti: farLeft, farRight, latLngBounds, nearLeft, nearRight

Konstanta RenderingType

Konstanta: RASTER, UNINITIALIZED, VECTOR

Antarmuka MapCapabilities

Properti: isAdvancedMarkersAvailable, isDataDrivenStylingAvailable

WebGL

Class WebGLOverlayView

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

Antarmuka WebGLDrawOptions

Properti: gl, transformer

Antarmuka WebGLStateOptions

Properti: gl

Antarmuka TransformTransformer

Metode: fromLatLngAltitude, getCameraParams

Antarmuka CameraParams

Properti: center, heading, tilt, zoom

Koordinat

Class LatLng

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

Antarmuka LatLngLiteral

Properti: lat, lng

Class LatLngBounds

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

Konstanta: MAX_BOUNDS

Antarmuka LatLngBoundsLiteral

Properti: east, north, south, west

Class LatLngAltitude

Properti: altitude, lat, lng

Metode: equals, toJSON

Antarmuka LatLngAltitudeLiteral

Properti: altitude, lat, lng

Class titik

Properti: x, y

Metode: equals, toString

Class ukuran

Properti: height, width

Metode: equals, toString

Antarmuka padding

Properti: bottom, left, right, top

Antarmuka LiteLiteral

Properti: center, radius

Penataan gaya berbasis data

Antarmuka FeatureLayer

Properti: BetadatasetId, featureType, isAvailable, style

Metode: addListener

Konstanta FeatureType

Konstanta: ADMINISTRATIVE_AREA_LEVEL_1, ADMINISTRATIVE_AREA_LEVEL_2, COUNTRY, BetaDATASET, LOCALITY, POSTAL_CODE

FeatureStyleFunction typedef
Antarmuka FeatureStyleFunctionOptions

Properti: feature

Antarmuka FeatureStyleOptions

Properti: fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWeight

Antarmuka fitur

Properti: featureType

Antarmuka PlaceFeature

Properti: placeId

Metode: fetchPlace

BetaAntarmuka DatasetFeature

Properti: datasetAttributes, datasetId

Antarmuka FeatureMouseEvent

Properti: features

Kontrol

Antarmuka LayarControlOptions

Properti: position

Antarmuka MapTypeControlOptions

Properti: mapTypeIds, position, style

Konstanta MapTypeControlStyle

Konstanta: DEFAULT, DROPDOWN_MENU, HORIZONTAL_BAR

Antarmuka MotionTrackingControlOptions

Properti: position

Antarmuka PanControlOptions

Properti: position

Antarmuka ControlControlOptions

Properti: position

Antarmuka ScaleControlOptions

Properti: style

Konstanta ScaleControlStyle

Konstanta: DEFAULT

Antarmuka StreetViewControlOptions

Properti: position

Antarmuka ZoomControlOptions

Properti: position

Konstanta ControlPosition

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

Library Geometri

namespace encoding

Metode Statis: decodePath, encodePath

namespace sferikal

Metode Statis: computeArea, computeDistanceBetween, computeHeading, computeLength, computeOffset, computeOffsetOrigin, computeSignedArea, interpolate

namespace poli

Metode Statis: containsLocation, isLocationOnEdge

Menggambar pada peta

Marker

Class penanda

Metode: getAnimation, getClickable, getCursor, getDraggable, getIcon, getLabel, getMap, getOpacity, getPosition, getShape, getTitle, getVisible, getZIndex, setAnimation, setClickable , setCursor, setDraggable, setDraggable, ,setDraggable,setIconsetLabelsetMapsetOpacitysetOptionssetPositionsetShapesetTitlesetVisiblesetZIndex

Konstanta: MAX_ZINDEX

Peristiwa: 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, visible_changed, visible_changedtitle_changedzindex_changedrightclick

Antarmuka MarkerOptions

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

Konstanta CollisionBehavior

Konstanta: OPTIONAL_AND_HIDES_LOWER_PRIORITY, REQUIRED, REQUIRED_AND_HIDES_OPTIONAL

Antarmuka ikon

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

Antarmuka MarkerLabel

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

Antarmuka MarkerShape

Properti: coords, type

Antarmuka simbol

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

Konstanta SymbolPath

Konstanta: BACKWARD_CLOSED_ARROW, BACKWARD_OPEN_ARROW, CIRCLE, FORWARD_CLOSED_ARROW, FORWARD_OPEN_ARROW

Konstanta animasi

Konstanta: BOUNCE, DROP

Penanda Lanjutan

Class AdvancedMarkerElement

Properti: collisionBehavior, content, element, gmpDraggable, map, position, title, zIndex

Metode: BetaaddEventListener, addListener, BetaremoveEventListener

Peristiwa: click, drag, dragend, dragstart, Betagmp-click

Antarmuka AdvancedMarkerElementOptions

Properti: collisionBehavior, content, gmpDraggable, map, position, title, zIndex

BetaClass AdvancedMarkerClickEvent
Class PinElement

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

Metode: BetaaddEventListener, BetaremoveEventListener

Antarmuka PinElementOptions

Properti: background, borderColor, glyph, glyphColor, scale

Jendela Info

Class InfoWindow

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

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

Antarmuka InfoWindowOptions

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

Antarmuka InfoWindowOpenOptions

Properti: anchor, map, shouldFocus

Poligon

Class polyline

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

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

Antarmuka PolylineOptions

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

Antarmuka IconIcon

Properti: fixedRotation, icon, offset, repeat

Class poligon

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

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

Antarmuka PolygonOptions

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

Antarmuka PolyMouseEvent

Properti: edge, path, vertex

Class persegi panjang

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

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

Antarmuka SquareOptions

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

Class lingkaran

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

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

Antarmuka OptionsOptions

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

Konstanta StrokePosition

Konstanta: CENTER, INSIDE, OUTSIDE

Data

Class data

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

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

Antarmuka Data.DataOptions

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

Antarmuka Data.GeoJsonOptions

Properti: idPropertyName

Antarmuka Data.StyleOptions

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

Data.StylingFunction typedef
Class Data.Feature

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

Peristiwa: removeproperty, setgeometry, setproperty

Antarmuka Data.FeatureOptions

Properti: geometry, id, properties

Antarmuka Data.Geometry

Metode: forEachLatLng, getType

Class Data.Point

Metode: forEachLatLng, get, getType

Class Data.MultiPoint

Metode: forEachLatLng, getArray, getAt, getLength, getType

Class Data.LineString

Metode: forEachLatLng, getArray, getAt, getLength, getType

Class Data.MultiLineString

Metode: forEachLatLng, getArray, getAt, getLength, getType

Class Data.LinearRing

Metode: forEachLatLng, getArray, getAt, getLength, getType

Class Data.Polygon

Metode: forEachLatLng, getArray, getAt, getLength, getType

Class Data.MultiPolygon

Metode: forEachLatLng, getArray, getAt, getLength, getType

Class Data.GeometryCollection

Metode: forEachLatLng, getArray, getAt, getLength, getType

Antarmuka Data.MouseEvent

Properti: feature

Antarmuka Data.AddFeatureEvent

Properti: feature

Antarmuka Data.RemoveFeatureEvent

Properti: feature

Antarmuka Data.SetGeometryEvent

Properti: feature, newGeometry, oldGeometry

Antarmuka Data.SetPropertyEvent

Properti: feature, name, newValue, oldValue

Antarmuka Data.RemovePropertyEvent

Properti: feature, name, oldValue

Elemen DOM

Class OverlayView

Metode Statis: preventMapHitsAndGesturesFrom, preventMapHitsFrom

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

Antarmuka MapPanes

Properti: floatPane, mapPane, markerLayer, overlayLayer, overlayMouseTarget

Antarmuka MapCanvasProject

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

KML

Class KmlLayer

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

Peristiwa: click, defaultviewport_changed, status_changed

Antarmuka KmlLayerOptions

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

Antarmuka KmlLayerMetadata

Properti: author, description, hasScreenOverlays, name, snippet

Konstanta KmlLayerStatus

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

Antarmuka KMouseMouseEvent

Properti: featureData, latLng, pixelOffset

Antarmuka KmlFeatureData

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

Antarmuka KmlWrite

Properti: email, name, uri

Overlay gambar

Antarmuka MapType

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

Metode: getTile, releaseTile

Antarmuka proyeksi

Metode: fromLatLngToPoint, fromPointToLatLng

Class ImageMapType

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

Metode: getOpacity, getTile, releaseTile, setOpacity

Peristiwa: tilesloaded

Antarmuka ImageMapTypeOptions

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

Class GOverlayOverlay

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

Acara: click, dblclick

Antarmuka GOverlayOverlayOptions

Properti: clickable, map, opacity

Class StyledMapType

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

Metode: getTile, releaseTile

Antarmuka StyledMapTypeOptions

Properti: alt, maxZoom, minZoom, name

Library Gambar

Class DrawingManager

Metode: getDrawingMode, getMap, setDrawingMode, setMap, setOptions

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

Antarmuka DrawingManagerOptions

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

Antarmuka DrawingControlOptions

Properti: drawingModes, position

Antarmuka OverlayCompleteEvent

Properti: overlay, type

Konstanta OverlayType

Konstanta: CIRCLE, MARKER, POLYGON, POLYLINE, RECTANGLE

Peta panas

Class HeatmapLayer

Metode: getData, getMap, setData, setMap, setOptions

Antarmuka HeatmapLayerOptions

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

Antarmuka WeightedLocation

Properti: location, weight

Zoom Maks

Class MaxZoomService

Metode: getMaxZoomAtLatLng

Antarmuka MaxZoomResult

Properti: status, zoom

Konstanta MaxZoomStatus

Konstanta: ERROR, OK

Street View

Rendering

Class StreetViewPanorama

Properti: controls

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

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

Antarmuka StreetViewPanoramaOptions

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

Antarmuka StreetViewAddressControlOptions

Properti: position

Antarmuka PanoProviderOptions

Properti: cors

Antarmuka StreetViewTileData

Properti: centerHeading, tileSize, worldSize

Metode: getTileUrl

Antarmuka StreetViewPov

Properti: heading, pitch

Class StreetViewCoverageLayer

Metode: getMap, setMap

Layanan

Class StreetViewService

Metode: getPanorama

Konstanta StreetViewStatus

Konstanta: OK, UNKNOWN_ERROR, ZERO_RESULTS

Antarmuka StreetViewLocationRequest

Properti: location, preference, radius, source

Antarmuka StreetViewPanoRequest

Properti: pano

Antarmuka StreetViewResponse

Properti: data

Antarmuka StreetViewLocation

Properti: description, latLng, pano, shortDescription

Konstanta StreetViewPreference

Konstanta: BEST, NEAREST

Konstanta StreetViewSource

Konstanta: DEFAULT, OUTDOOR

Antarmuka StreetViewPanoramaData

Properti: copyright, imageDate, links, location, tiles

Properti: description, heading, pano

Tempat

Widget Tempat

AlfaClass PlaceAutocompleteElement

Properti: element, inputElement

Metode: addListener

Acara: gmp-placeselect, gmp-requesterror

AlfaAntarmuka PlaceAutocompleteElementOptions

Properti: componentRestrictions, element, inputElement, locationBias, locationRestriction, requestedLanguage, requestedRegion, types

Class pelengkapan otomatis

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

Peristiwa: place_changed

Antarmuka AutocompleteOptions

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

Metode: getBounds, getPlaces, setBounds

Peristiwa: places_changed

Antarmuka SearchBoxOptions

Properti: bounds

Tempat (beta)

BetaClass Place

Metode Statis: BetafindPlaceFromPhoneNumber, BetafindPlaceFromQuery

addressComponents; addressComponents.adrFormatAddressattributionsbusinessStatusdisplayNameformattedAddressgoogleMapsURIhasCurbsidePickuphasDeliveryhasDineInhasTakeouthasWheelchairAccessibleEntranceiconBackgroundColoridinternationalPhoneNumberisReservablelocationnationalPhoneNumberopeningHoursphotosplusCodepriceLevelratingrequestedLanguagerequestedRegionreviewsservesBeerservesBreakfastservesBrunchservesDinnerservesLunchservesVegetarianFoodservesWinesvgIconMaskURItypesuserRatingCountutcOffsetMinutesviewportwebsiteURI

Metode: BetafetchFields, BetagetNextOpeningTime, BetaisOpen, toJSON

BetaAntarmuka PlaceOptions

Properti: id, requestedLanguage, requestedRegion

BetaClass AddressComponent

Properti: longText, shortText, types

BetaKelas atribusi

Properti: provider, providerURI

BetaAntarmuka FetchFieldsRequest

Properti: fields, sessionToken

BetaKelas OpeningHours

Properti: periods, weekdayDescriptions

BetaKelas OpeningHoursPeriod

Properti: close, open

BetaClass OpeningHoursPoint

Properti: day, hour, minute

BetaKelas foto

Properti: attributions, heightPx, widthPx

Metode: getURI

BetaKelas PhotoAttribution

Properti: author, authorURI

BetaKelas PlusCode

Properti: compoundCode, globalCode

BetaTinjau kelas

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

BetaKonstanta PriceLevel

Konstanta: EXPENSIVE, FREE, INEXPENSIVE, MODERATE, VERY_EXPENSIVE

Layanan Places

Class PlacesService

Metode: findPlaceFromPhoneNumber, findPlaceFromQuery, getDetails, nearbySearch, textSearch

Antarmuka PlaceDetailsRequest

Properti: fields, language, placeId, region, sessionToken

Antarmuka FindPlaceFromPhoneNumberRequest

Properti: fields, language, locationBias, phoneNumber

Antarmuka FindPlaceFromQueryRequest

Properti: fields, language, locationBias, query

Antarmuka PlaceSearchRequest

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

Antarmuka TextSearchRequest

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

Konstanta RankBy

Konstanta: DISTANCE, PROMINENCE

Typedef LocationBias
Typedef LocationRestriction
Konstanta PlacesServiceStatus

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

Antarmuka PlaceSearchPaginasi

Properti: hasNextPage

Metode: nextPage

Antarmuka PlaceResult

Properti: 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, name, name, name, name, name, permanently_closedratingreviewstypesurluser_ratings_totalutc_offset_minutesvicinitywebsiteutc_offset

Antarmuka PlaceAspectRating

Properti: rating, type

Konstanta BusinessStatus

Konstanta: CLOSED_PERMANENTLY, CLOSED_TEMPORARILY, OPERATIONAL

Antarmuka PlaceGeometry

Properti: location, viewport

Antarmuka PlaceOpeningHours

Properti: periods, weekday_text, open_now

Metode: isOpen

Antarmuka PlaceOpeningHoursPeriod

Properti: close, open

Antarmuka PlaceOpeningHoursTime

Properti: day, hours, minutes, nextDate, time

Antarmuka PlacePlusCode

Properti: compound_code, global_code

Antarmuka PlacePhoto

Properti: height, html_attributions, width

Metode: getUrl

Antarmuka PhotoOptions

Properti: maxHeight, maxWidth

Antarmuka PlaceReview

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

Layanan Places Autocomplete

Class AutocompleteService

Metode: getPlacePredictions, getQueryPredictions

Antarmuka Pelengkapan Otomatis permintaan

Properti: componentRestrictions, input, language, locationBias, locationRestriction, offset, origin, region, sessionToken, types, bounds, location, radius

Antarmuka AutocompleteResponse

Properti: predictions

Antarmuka QueryAutoAutocompleteRequest

Properti: bounds, input, location, offset, radius

Class AutocompleteSessionToken
Antarmuka RestrictionsRestrictions

Properti: country

Antarmuka AutocompletePrediction

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

Antarmuka QueryAutocompletePrediction

Properti: description, matched_substrings, place_id, terms

Antarmuka PredictionsionPeriod

Properti: offset, value

Antarmuka PredictionSubstring

Properti: length, offset

Antarmuka PemformatanFormat

Properti: main_text, main_text_matched_substrings, secondary_text

Geocoder

Class Geocoder

Metode: geocode

Antarmuka GeocoderRequest

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

Antarmuka GeocoderComponentRestrictions

Properti: administrativeArea, country, locality, postalCode, route

Konstanta GeocoderStatus

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

Antarmuka GeocoderResponse

Properti: results

Antarmuka GeocoderResult

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

Antarmuka GeocoderAddressComponent

Properti: long_name, short_name, types

Antarmuka GeocoderGeometry

Properti: bounds, location, location_type, viewport

Konstanta GeocoderLocationType

Konstanta: APPROXIMATE, GEOMETRIC_CENTER, RANGE_INTERPOLATED, ROOFTOP

Rute

Directions

Class DirectionsService

Metode: route

Antarmuka DirectionsRequest

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

Konstanta DirectionsStatus

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

Antarmuka DirectionsResult

Properti: available_travel_modes, geocoded_waypoints, routes

Class DirectionsRenderer

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

Peristiwa: directions_changed

Antarmuka DirectionsRendererOptions

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

Antarmuka DirectionsWaypoint

Properti: location, stopover

Antarmuka DirectionsGeoCodeWaypoint

Properti: partial_match, place_id, types

Antarmuka DirectionsRoute

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

Antarmuka DirectionsLeg

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

Antarmuka DirectionsStep

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

Antarmuka DirectionsPolyline

Properti: points

Antarmuka Place

Properti: location, placeId, query

Konstanta TravelMode

Konstanta: BICYCLING, DRIVING, TRANSIT, WALKING

Antarmuka MengemudiOptions

Properti: departureTime, trafficModel

Konstanta TrafficModel

Konstanta: BEST_GUESS, OPTIMISTIC, PESSIMISTIC

Antarmuka TransitOptions

Properti: arrivalTime, departureTime, modes, routingPreference

Konstanta TransitMode

Konstanta: BUS, RAIL, SUBWAY, TRAIN, TRAM

Konstanta TransitRoutePreference

Konstanta: FEWER_TRANSFERS, LESS_WALKING

Antarmuka TransitFare

Properti: currency, value

Antarmuka TransitDetails

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

Antarmuka TransitStop

Properti: location, name

Antarmuka TransitLine

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

Antarmuka TransitAgency

Properti: name, phone, url

Antarmuka TransitVehicle

Properti: icon, local_icon, name, type

Konstanta VehicleType

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

Konstanta UnitSystem

Konstanta: IMPERIAL, METRIC

Antarmuka jarak

Properti: text, value

Antarmuka durasi

Properti: text, value

Antarmuka waktu

Properti: text, time_zone, value

Konstanta DirectionsTravelMode
Konstanta DirectionsUnitSystem

Distance Matrix

Class DistanceMatrixService

Metode: getDistanceMatrix

Antarmuka DistanceMatrixRequest

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

Antarmuka DistanceMatrixResponse

Properti: destinationAddresses, originAddresses, rows

Antarmuka DistanceMatrixResponseRow

Properti: elements

Antarmuka DistanceMatrixResponseElement

Properti: distance, duration, duration_in_traffic, fare, status

Konstanta DistanceMatrixStatus

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

Konstanta DistanceMatrixElementStatus

Konstanta: NOT_FOUND, OK, ZERO_RESULTS

Elevation

Class ElevationService

Metode: getElevationAlongPath, getElevationForLocations

Antarmuka LocationElevationRequest

Properti: locations

Antarmuka LocationElevationResponse

Properti: results

Antarmuka PathElevationRequest

Properti: path, samples

Antarmuka PathElevationResponse

Properti: results

Antarmuka ElevationResult

Properti: elevation, location, resolution

Konstanta ElevationStatus

Konstanta: INVALID_REQUEST, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR

Berbagi Perjalanan

Tampilan Peta

Class Journey SharingMapView

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

Antarmuka Journey SharingMapViewOptions

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

Konstanta AutoViewportMode

Konstanta: FIT_ANTICIPATED_ROUTE, NONE

Class abstrak LocationProvider

Metode: addListener

Class abstrak PollingLocationProvider

Properti: isPolling, pollingIntervalMillis

Peristiwa: ispollingchange

Antarmuka PollingLocationProviderIsPollingChangeEvent

Properti: error

Autentikasi

Antarmuka AuthToken

Properti: expiresInSeconds, token

Antarmuka AuthTokenContext

Properti: deliveryVehicleId, taskId, trackingId, tripId, vehicleId

AuthTokenFetcher typedef
Antarmuka AuthTokenFetcherOptions

Properti: context, serviceType

Konstanta FlebEngineServiceType

Konstanta: DELIVERY_VEHICLE_SERVICE, TASK_SERVICE, TRIP_SERVICE, UNKNOWN_SERVICE

Penyesuaian UI

TypeType polylineSetup
Antarmuka PolylineSetupOptions

Properti: polylineOptions, visible

Antarmuka DefaultPolylineSetupOptions

Properti: defaultPolylineOptions, defaultVisible

Typedef MarkerSetup
Antarmuka MarkerSetupOptions

Properti: markerOptions

Antarmuka DefaultMarkerSetupOptions

Properti: defaultMarkerOptions

Antarmuka MarkerCustomizationFunctionParams

Properti: defaultOptions, isNew, marker

Antarmuka DeliveryVehicleMarkerCustomizationFunctionParams

Properti: vehicle

Antarmuka PlannedStopMarkerFunctionParams

Properti: stopIndex

Antarmuka TaskMarkerCustomizationFunctionParams

Properti: task

Antarmuka ShipmentMarkerCustomizationFunctionParams

Properti: taskTrackingInfo

Antarmuka TripMarkerCustomizationFunctionParams

Properti: trip

Antarmuka TripWaypointMarkerFunctionParams

Properti: waypointIndex

Entitas Mesin Flet

Antarmuka tugas

Properti: attributes, estimatedCompletionTime, latestVehicleLocationUpdate, name, outcome, outcomeLocation, outcomeLocationSource, outcomeTime, plannedLocation, remainingVehicleJourneySegments, status, targetTimeWindow, trackingId, type, vehicleId

Antarmuka TaskTrackingInfo

Properti: attributes, estimatedArrivalTime, estimatedTaskCompletionTime, latestVehicleLocationUpdate, name, plannedLocation, remainingDrivingDistanceMeters, remainingStopCount, routePolylinePoints, state, targetTimeWindow, taskOutcome, taskOutcomeTime, trackingId

Antarmuka perjalanan

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

Antarmuka DeliveryVehicle

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

Antarmuka DeliveryVehicleStop

Properti: tasks

Konstanta DeliveryVehicleStopState

Konstanta: ARRIVED, ENROUTE, NEW, UNSPECIFIED

Antarmuka VehicleJourneySegmen

Properti: drivingDistanceMeters, drivingDurationMillis, path, stop

Antarmuka VehicleLocationUpdate

Properti: heading, location, speedKilometersPerHour, time

Antarmuka VehicleWaypoint

Properti: distanceMeters, durationMillis, location, path

Antarmuka TimeWindow

Properti: endTime, startTime

Progres Perjalanan dan Pesanan

Class FleEngineTripLocationProvider

Properti: tripId

Metode: refresh

Acara: error, update

Antarmuka FleEngineTripLocationProviderOptions

Properti: authTokenFetcher, destinationMarkerCustomization, originMarkerCustomization, pollingIntervalMillis, projectId, tripId, vehicleMarkerCustomization, waypointMarkerCustomization

Antarmuka FleetEngineTripLocationProviderUpdateEvent

Properti: trip

Pelacakan Armada

Class FleetEngineDeliveryVehicleLocationProvider

Properti: deliveryVehicleId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

Acara: error, update

Antarmuka FleEngineEngineDeliveryVehicleLocationProviderOptions

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

Antarmuka FleEngineTaskFilterOptions

Properti: completionTimeFrom, completionTimeTo, state

Antarmuka FleetEngineDeliveryVehicleLocationProviderUpdateEvent

Properti: completedVehicleJourneySegments, deliveryVehicle, tasks

Class FleetEngineDeliveryFleetLocationProvider

Properti: deliveryVehicleFilter, locationRestriction, staleLocationThresholdMillis

Peristiwa: update

Antarmuka FleetEngineDeliveryFleetLocationProviderOptions

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

Antarmuka FleetEngineDeliveryFleetLocationProviderUpdateEvent

Properti: deliveryVehicles

Pelacakan Pengiriman

Class FleEngineShipmentLocationProvider

Properti: trackingId

Metode: refresh

Acara: error, update

Antarmuka FleetEngineShipmentLocationProviderOptions

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

Antarmuka FleetEngineShipmentLocationProviderUpdateEvent

Properti: taskTrackingInfo

Konteks Lokal (beta)

Tampilan Peta

BetaClass LocalContextMapView

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

Metode: addListener, hidePlaceDetailsView, search

Peristiwa: error, placedetailsviewhidestart, placedetailsviewshowstart

BetaAntarmuka LocalContextMapViewOptions

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

BetaPlaceTypePreference typedef
BetaClass MapDirectionsOptions

Metode: addListener

BetaAntarmuka MapDirectionsOptionsLiteral

Properti: origin

BetaAntarmuka PinOptions

Properti: background, glyphColor, scale

Antarmuka PlaceChooserViewSetupOptions

Properti: layoutMode, position

BetaKonstanta PlaceChooserLayoutMode

Konstanta: HIDDEN, SHEET

BetaKonstanta PlaceChooserPosition

Konstanta: BLOCK_END, INLINE_END, INLINE_START

Antarmuka PlaceDetailsViewSetupOptions

Properti: hidesOnMapClick, layoutMode, position

BetaKonstanta PlaceDetailsLayoutMode

Konstanta: INFO_WINDOW, SHEET

BetaKonstanta PlaceDetailsPosition

Konstanta: INLINE_END, INLINE_START