Google Maps JavaScript API V3 Reference

Terakhir diperbarui Kamis, 27 Oktober 2022

Ini adalah indeks dari semua class, metode, dan antarmuka di Maps JavaScript API versi 3.50.

Untuk informasi tambahan, lihat Catatan Rilis dan Pembuatan Versi.

Klik nama item untuk melihat dokumentasi mendetail.

Konsep Global

google.maps

namespace google.maps

Konstanta: version

Setelan (beta)

">Kelas setelan

Metode Statis: ">getInstance

Properti: ">experienceIds

Sistem peristiwa

class peristiwa

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

Peta

Maps

Class peta

Properti: controls, data, mapTypes, overlayMapTypes

Metode: fitBounds, getBounds, getCenter, getClickableIcons, getDiv, ">getFeatureLayer, getHeading, ">getMapCapabilities, getMapTypeId, getProjection, getRenderingType, getStreetView, getTilt, getZoom, moveCamera, panBy, getCenter/panTo, panToBounds, setCenter

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, tilesloaded, projection_changed, tilt_changed, tilt_changed, renderingtype_changed

Antarmuka MapOptions

di

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 MapTypeRegistry

Metode: set

Antarmuka MapRestriction

Properti: latLngBounds, strictBounds

Class TrafficLayer

Metode: getMap, setMap, setOptions

Antarmuka TrafficLayerOptions

Properti: autoRefresh, map

Class TransitLayer

Metode: getMap, setMap

Class BicyclingLayer

Metode: getMap, setMap

">Antarmuka CameraOptions

Properti: center, heading, tilt, zoom

Antarmuka LookRegion

Properti: farLeft, farRight, latLngBounds, nearLeft, nearRight

Konstanta RenderingType

Konstanta: RASTER, UNINITIALIZED, VECTOR

">Antarmuka MapCapabilities

Properti: isAdvancedMarkersAvailable, isDataDrivenStylingAvailable

WebGL

Class WebOverlayOverlay

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

Antarmuka WebGLDrawOptions

Properti: gl, transformer

Antarmuka WebGLStateOptions

Properti: gl

Antarmuka CoordinateTransformer

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 poin

Properti: x, y

Metode: equals, toString

Class ukuran

Properti: height, width

Metode: equals, toString

Antarmuka padding

Properti: bottom, left, right, top

Antarmuka CircleLiteral

Properti: center, radius

Penataan gaya berbasis data (beta)

">Antarmuka FeatureLayer

Properti: featureType, isAvailable, style

Metode: addListener

">Konstanta TypeType

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

">Typedef FeatureStyleFunction
">Antarmuka FeatureStyleFunctionOptions

Properti: feature

">Antarmuka FeatureStyleOptions

Properti: fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWeight

">Antarmuka fitur

Properti: featureType

">Antarmuka PlaceFeature

Properti: displayName, placeId

">Antarmuka FeatureMouseEvent

Properti: features

Kontrol

Antarmuka FullscreenControlOptions

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,

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

Antarmuka MarkerOptions

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

">Konstanta Perilaku Tabrakan

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)

">Class AdvancedMarkerView

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

Metode: addListener

Peristiwa: click, drag, dragend, dragstart

">Antarmuka AdvancedMarkerViewOptions

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

">Kelas PinView

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

Metode: addListener

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

Typedef 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 MapKanvasProyeksi

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

KML

Class KLayerLayer

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

Peristiwa: click, defaultviewport_changed, status_changed

Antarmuka KLayerLayerOptions

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

Antarmuka KLayerLayerMetadata

Properti: author, description, hasScreenOverlays, name, snippet

Konstanta KLayerLayerStatus

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

Antarmuka KmlMouseEvent

Properti: featureData, latLng, pixelOffset

Antarmuka KmlFeatureData

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

Antarmuka KmlAuthor

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

Peristiwa: click, dblclick

Antarmuka GroundOverlayOptions

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 WeededLocation

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

Properti: centerHeading, tileSize, worldSize

Metode: getTileUrl

Antarmuka StreetViewPov

Properti: heading, pitch

Class StreetViewCoverageLayer

Metode: getMap, setMap

Layanan

Class StreetViewService

Metode: getPanorama

Konstanta status StreetView

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 Places

Class Autocomplete

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

Layanan Places

Class PlacesService

Metode: findPlaceFromPhoneNumber, findPlaceFromQuery, getDetails, nearbySearch, textSearch

Antarmuka PlaceDetailsRequest

Properti: fields, language, placeId, region, sessionToken

Antarmuka FindPlaceFromGOOGRequest

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

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 PlaceFoto

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 OtomatisPermintaan

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

Properti: offset, value

Antarmuka PredictionSubstring

Properti: length, offset

Antarmuka Format Terstruktur

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 DirectionsGeocodedWaypoint

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 OptionsOptions

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 TransitKendaraan

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

Konstant DirectionsTravelMode
Konstanta UnitDirectionsSystem

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

Konteks Lokal (beta)

Tampilan Peta

">Class LocalContextMapView

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

Metode: addListener, hidePlaceDetailsView, search

Peristiwa: error, placedetailsviewhidestart, placedetailsviewshowstart

">Antarmuka LocalContextMapViewOptions

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

">Typedef PlaceTypePreference
">Class MapDirectionsOptions

Metode: addListener

">Antarmuka MapDirectionsOptionsLiteral

Properti: origin

">Antarmuka PinOptions

Properti: background, glyphColor, scale

Antarmuka PlaceChooserViewSetupOptions

Properti: layoutMode, position

">Konstanta PlaceChooserLayoutMode

Konstanta: HIDDEN, SHEET

">Konstanta PlaceChooserPosition

Konstanta: BLOCK_END, INLINE_END, INLINE_START

Antarmuka PlaceDetailsViewSetupOptions

Properti: hidesOnMapClick, layoutMode, position

">Konstanta PlaceDetailsLayoutMode

Konstanta: INFO_WINDOW, SHEET

">Konstanta PlaceDetailsPosition

Konstanta: INLINE_END, INLINE_START

Berbagi Perjalanan (beta)

Tampilan Peta

">Kelas Jual BerbagiMapView

Properti: anticipatedRoutePolylines, anticipatedRoutePolylineSetup, automaticViewportMode, destinationMarkers, destinationMarkerSetup, element, enableTraffic, locationProvider, map, mapOptions, originMarkers, originMarkerSetup, pingMarkerSetup, successfulTaskMarkers, successfulTaskMarkerSetup, takenRoutePolylines, takenRoutePolylineSetup, taskOutcomeMarkers, waypointMarkerSetup

">AntarmukaJourneyShareMapViewOptions

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

">Konstanta AutoViewportMode

Konstanta: FIT_ANTICIPATED_ROUTE, NONE

">Class abstrak LocationProvider

Metode: addListener

Autentikasi

">Antarmuka AuthToken

Properti: expiresInSeconds, token

">Antarmuka AuthTokenContext

Properti: deliveryVehicleId, taskId, trackingId, tripId, vehicleId

">Typedef AuthTokenFetcher
">Antarmuka AuthTokenFetcherOptions

Properti: context, serviceType

">Konstanta FleteEngineServiceType

Konstanta: DELIVERY_VEHICLE_SERVICE, TASK_SERVICE, TRIP_SERVICE, UNKNOWN_SERVICE

Penyesuaian UI

">Typedef PolylineSetup
">Antarmuka PolylineSetupOptions

Properti: polylineOptions, visible

">Antarmuka DefaultPolylineSetupOptions

Properti: defaultPolylineOptions, defaultVisible

">Typedef MarkerSetup
">Antarmuka MarkerSetupOptions

Properti: markerOptions

">Antarmuka DefaultMarkerSetupOptions

Properti: defaultMarkerOptions

Entitas Mesin Flet

">Antarmuka tugas

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

">Antarmuka perjalanan

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

">Antarmuka DeliveryKendaraan

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

">Antarmuka VehicleJourneySegmen

Properti: distanceMeters, durationMillis, extraDurationMillis, location, path

">Antarmuka VehicleLocationUpdate

Properti: heading, location, speedKilometersPerHour, time

">Antarmuka VehicleWaypoint

Properti: distanceMeters, durationMillis, location, path

Progres Perjalanan dan Pesanan

">Kelas FleetEngineTripLocationProvider

Properti: tripId

Metode: refresh

Peristiwa: error, update

">Antarmuka FleetEngineTripLocationProviderOptions

Properti: authTokenFetcher, pollingIntervalMillis, projectId, tripId

">Antarmuka FleetEngineTripLocationProviderUpdateEvent

Properti: trip

Pelacakan Armada

">Kelas FlenEngineDeliveryDeliveryLocationProvider

Properti: deliveryVehicleId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

Peristiwa: error, update

">Antarmuka FlleEngineDeliveryDeliveryLocationProviderOptions

Properti: authTokenFetcher, deliveryVehicleId, pollingIntervalMillis, projectId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

">Antarmuka FleetEngineTaskFilterOptions

Properti: completionTimeFrom, completionTimeTo, state

">Antarmuka FleetEngineDeliveryDeliveryLocationProviderUpdateEvent

Properti: completedVehicleJourneySegments, deliveryVehicle, tasks

">Kelas FleetEngineDeliveryFleetLocationProvider

Properti: deliveryVehicleFilter, locationRestriction, pollingIntervalMillis, staleLocationThresholdMillis

Peristiwa: update

">Antarmuka FleetEngineDeliveryFleetLocationProviderOptions

Properti: authTokenFetcher, deliveryVehicleFilter, locationRestriction, projectId, staleLocationThresholdMillis

">Antarmuka FleetEngineDeliveryFleetLocationProviderUpdateEvent

Properti: deliveryVehicles

Pelacakan Pengiriman

">Kelas FleetEngineShipmentLocationProvider

Properti: trackingId

Metode: getTask, refresh

Peristiwa: error, update

">Antarmuka FleetEngineShipmentLocationProviderOptions

Properti: authTokenFetcher, pollingIntervalMillis, projectId, trackingId

">Antarmuka FleetEngineShipmentLocationProviderUpdateEvent

Properti: task