Google Maps JavaScript API V3 Reference

Tetap teratur dengan koleksi Simpan dan kategorikan konten berdasarkan preferensi Anda.

Terakhir diperbarui Kamis, 17 November 2022

Ini adalah indeks dari semua class, metode, dan antarmuka di Maps JavaScript API versi 3.51 (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.50 (saluran setiap kuartal), versi 3.49 dan versi 3.48.

Klik nama item mana saja untuk melihat dokumentasi mendetail.

Konsep Global

google.maps

Namespace google.maps

Konstanta: version

Setelan (beta)

BetaKelas setelan

Metode Statis: BetagetInstance

Properti: BetaexperienceIds

Sistem peristiwa

class 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_SEARCH

Peta

Maps

Class peta

Properti: controls, data, mapTypes, overlayMapTypes

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

Konstanta: DEMO_MAP_ID

Peristiwa: 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, projection_changed

Antarmuka MapOptions

(1)

Antarmuka penerimaStyle

Properti: elementType, featureType, stylers

Antarmuka MapMouseEvent

Properti: domEvent, latLng

Metode: stop

Antarmuka IconMouseEvent

Properti: placeId

Konstanta androidTestId

Konstanta: HYBRID, ROADMAP, SATELLITE, TERRAIN

Class ListViewRegistry

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 RegionRegion

Properti: farLeft, farRight, latLngBounds, nearLeft, nearRight

Konstanta RenderingType

Konstanta: RASTER, UNINITIALIZED, VECTOR

BetaAntarmuka 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 LingkaranLiteral

Properti: center, radius

Penataan gaya berbasis data (beta)

BetaAntarmuka FeatureLayer

Properti: featureType, isAvailable, style

Metode: addListener

BetaKonstanta FeatureType

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

BetaTypedefFunctionTypeFunction
BetaAntarmuka FeatureStyleFunctionOptions

Properti: feature

BetaAntarmuka FeatureStyleOptions

Properti: fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWeight

BetaAntarmuka fitur

Properti: featureType

BetaAntarmuka PlaceFeature

Properti: displayName, placeId

BetaAntarmuka FeatureMouseEvent

Properti: features

Kontrol

Antarmuka FullscreenControlOptions

Properti: position

Antarmuka penerimaControlOptions

Properti: mapTypeIds, position, style

Konstanta androidTestControlStyle

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, setIcon, setZIndex, ,

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, title_changed, position_changed

Antarmuka MarkerOptions

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

BetaKonstanta Perilaku Coldision

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 (beta)

BetaClass AdvancedMarkerView

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

Metode: addListener

Peristiwa: click, drag, dragend, dragstart

BetaAntarmuka AdvancedMarkerViewOptions

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

BetaKelas PinView

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

Metode: addListener

BetaAntarmuka PinViewOptions

Properti: background, borderColor, element, 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 IconSequence

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 RectangleOptions

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 Options

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, setDrawingMode

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

Jenisdef.Data.StyleFunction
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 MapCanvasProyeksi

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 KLayerLayerMetadata

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 KmlAuthor

Properti: email, name, uri

Overlay gambar

Antarmuka Parse

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

Metode: getTile, releaseTile

Antarmuka proyeksi

Metode: fromLatLngToPoint, fromPointToLatLng

Class ImageTextView

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

Metode: getOpacity, getTile, releaseTile, setOpacity

Peristiwa: tilesloaded

Antarmuka ImageandroidTestOptions

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

Class OverlayOverlay

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

Peristiwa: click, dblclick

Antarmuka GOverlayOverlayOptions

Properti: clickable, map, opacity

Class StyledTextView

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

Metode: getTile, releaseTile

Antarmuka StyledandroidTestOptions

Properti: alt, maxZoom, minZoom, name

Library Gambar

Class GambarManager

Metode: getDrawingMode, getMap, setDrawingMode, setMap, setOptions

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

Antarmuka DrawManagerOptions

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

Antarmuka DrawControlOptions

Properti: drawingModes, position

Antarmuka OverlayCompleteEvent

Properti: overlay, type

Konstanta OverlayType

Konstanta: CIRCLE, MARKER, POLYGON, POLYLINE, RECTANGLE

Peta panas

Class HemapmapLayer

Metode: getData, getMap, setData, setMap, setOptions

Antarmuka HeatmapLayerOptions

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

Antarmuka WeightedLocation

Properti: location, weight

Zoom Maksimum

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, setPosition

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, , ,

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 Kerja

Widget Places

Class pelengkapan otomatis

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

Peristiwa: place_changed

Antarmuka Autocomplete

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

Metode: getBounds, getPlaces, setBounds

Peristiwa: places_changed

Antarmuka SearchBoxOptions

Properti: bounds

Tempat (beta)

BetaKelas tempat

Metode Statis: findPlaceFromPhoneNumber, findPlaceFromQuery

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

Metode: fetchFields, getNextOpeningTime, isOpen

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

BetaKelas OpeningHoursPoint

Properti: day, hour, minute

BetaKelas foto

Properti: attributions, heightPx, widthPx

Metode: getURI

BetaKelas PhotoAttribution

Properti: author, authorURI

BetaClass PlusCode

Properti: compoundCode, globalCode

BetaTinjau kelas

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

Layanan Tempat

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

LocationBias typedef
Locationdef typedef
Konstanta PlacesServiceStatus

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

Antarmuka PlaceSearchPagination

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, permanently_closed, permanently_closed, permanently_closed, aspects/aspects

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 PelengkapanOtomatisPermintaan

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

Antarmuka AutocompleteResponse

Properti: predictions

Antarmuka QueryAutocompletionRequest

Properti: bounds, input, location, offset, radius

Class AutocompleteSessionToken
Antarmuka ComponentRestrictions

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 PredictionsPredict

Properti: offset, value

Antarmuka Substring Predictions

Properti: length, offset

Antarmuka StructuredFormat

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 tempat

Properti: location, placeId, query

Konstanta TravelMode

Konstanta: BICYCLING, DRIVING, TRANSIT, WALKING

Antarmuka DrivingOptions

Properti: departureTime, trafficModel

Konstanta Model Traffic

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 KendaraanType

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 DirectionsDirectionSystem

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 Status Elevation

Konstanta: INVALID_REQUEST, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR

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

Berbagi Perjalanan (beta)

Tampilan Peta

BetaKelas JourneyBerbagiMapView

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

BetaAntarmuka JourneySharedMapViewOptions

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

BetaKonstanta AutoViewportMode

Konstanta: FIT_ANTICIPATED_ROUTE, NONE

BetaClass abstrak LocationProvider

Metode: addListener

Autentikasi

BetaAntarmuka AuthToken

Properti: expiresInSeconds, token

BetaAntarmuka AuthTokenContext

Properti: deliveryVehicleId, taskId, trackingId, tripId, vehicleId

BetaAuthTokenFetcher typedef
BetaAntarmuka AuthTokenFetcherOptions

Properti: context, serviceType

BetaKonstanta FleeEngineServiceType

Konstanta: DELIVERY_VEHICLE_SERVICE, TASK_SERVICE, TRIP_SERVICE, UNKNOWN_SERVICE

Penyesuaian UI

BetaTypedef polylineSetup
BetaAntarmuka PolylineSetupOptions

Properti: polylineOptions, visible

BetaAntarmuka DefaultPolylineSetupOptions

Properti: defaultPolylineOptions, defaultVisible

BetaMarkerType typedef
BetaAntarmuka MarkerSetupOptions

Properti: markerOptions

BetaAntarmuka DefaultMarkerSetupOptions

Properti: defaultMarkerOptions

BetaAntarmuka MarkerCustomizeFunctionParams

Properti: defaultOptions, isNew, marker

BetaAntarmuka DeliveryDeliveryMarkerFunctionParams

Properti: vehicle

BetaAntarmuka PlannedStopMarkerWidthFunctions

Properti: stopIndex

BetaAntarmuka TaskMarkerCustomizeFunctionParams

Properti: task

BetaAntarmuka ShipmentMarkerCustomizeFunctionParams

Properti: task

Entitas Mesin Flat

BetaAntarmuka tugas

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

BetaAntarmuka perjalanan

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

BetaAntarmuka DeliveryVehicle

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

BetaAntarmuka KendaraanJourneySegmen

Properti: distanceMeters, durationMillis, extraDurationMillis, location, path

BetaAntarmuka KendaraanLocationUpdate

Properti: heading, location, speedKilometersPerHour, time

BetaAntarmuka KendaraanWaypoint

Properti: distanceMeters, durationMillis, location, path

Progres Perjalanan dan Pesanan

BetaClass FleEngineEngineTripLocationProvider

Properti: tripId

Metode: refresh

Peristiwa: error, update

BetaAntarmuka FleteEngineTripLocationProviderOptions

Properti: authTokenFetcher, pollingIntervalMillis, projectId, tripId

BetaAntarmuka FleetEngineTripLocationProviderUpdateEvent

Properti: trip

Pelacakan Flat

BetaClass FeleEngineDeliveryVehicleLocationProvider

Properti: deliveryVehicleId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

Peristiwa: error, update

BetaAntarmuka FleetEngineDeliveryVehicleLocationProviderOptions

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

BetaAntarmuka FleetEngineTaskFilterOptions

Properti: completionTimeFrom, completionTimeTo, state

BetaAntarmuka FleetEngineDeliveryVehicleLocationProviderUpdateEvent

Properti: completedVehicleJourneySegments, deliveryVehicle, tasks

BetaClass FleetEngineDeliveryFleetLocationProvider

Properti: deliveryVehicleFilter, locationRestriction, pollingIntervalMillis, staleLocationThresholdMillis

Peristiwa: update

BetaAntarmuka FleetEngineDeliveryFleetLocationProviderOptions

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

BetaAntarmuka FleetEngineDeliveryFleetLocationProviderUpdateEvent

Properti: deliveryVehicles

Pelacakan Pengiriman

BetaClass FletEngineShipmentLocationProvider

Properti: trackingId

Metode: getTask, refresh

Peristiwa: error, update

BetaAntarmuka FleetEngineShipmentLocationProviderOptions

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

BetaAntarmuka FleetEngineShipmentLocationProviderUpdateEvent

Properti: task