Google Maps JavaScript API V3 Reference

Mantieni tutto organizzato con le raccolte Salva e classifica i contenuti in base alle tue preferenze.

Ultimo aggiornamento: venerdì 30 settembre 2022

Questo è un indice di tutte le classi, metodi e interfacce nell'API Maps JavaScript versione 3.50 (canale settimanale). Questo riferimento è aggiornato con le ultime modifiche all'API.

Per ulteriori informazioni, consulta le note di rilascio e il controllo delle versioni.
Vedi anche la documentazione di riferimento per la versione 3.49 (canale trimestrale), la versione 3.48 e la versione 3.47.

Fai clic sul nome di qualsiasi elemento per visualizzare la documentazione dettagliata.

Concetti globali

google.maps

spazio dei nomi google.maps

Costanti: version

Impostazioni (beta)

BetaClasse di impostazioni

Metodi statici: BetagetInstance

Proprietà: BetaexperienceIds

Sistema di eventi

spazio dei nomi evento

Metodi statici: addListener, addListenerOnce, clearInstanceListeners, clearListeners, hasListeners, removeListener, trigger, addDomListener, addDomListenerOnce

Interfaccia di MapsEventListener

Metodi: remove

Classe MVCObject

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

Classe MVCArray

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

Eventi: insert_at, remove_at, set_at

Interfaccia ErrorEvent

Proprietà: error

Errori

Classe MapsNetworkError

Proprietà: code, endpoint

Classe MapsError
Classe MapsServerError
Costanti di MapsNetworkErrorEndpoint

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

Maps

Maps

Classe mappa

Proprietà: controls, data, mapTypes, overlayMapTypes

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

Costanti: DEMO_MAP_ID

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

Interfaccia di MapOptions

maxZoom

Interfaccia MapTypeStyle

Proprietà: elementType, featureType, stylers

Interfaccia di MapMouseEvent

Proprietà: domEvent, latLng

Metodi: stop

Interfaccia IconMouseEvent

Proprietà: placeId

Costanti di MapTypeId

Costanti: HYBRID, ROADMAP, SATELLITE, TERRAIN

Classe MapTypeRegistry

Metodi: set

Interfaccia di MapRestriction

Proprietà: latLngBounds, strictBounds

Classe Traffic Layer

Metodi: getMap, setMap, setOptions

Interfaccia Traffic LayerOptions

Proprietà: autoRefresh, map

Classe Transit Layer

Metodi: getMap, setMap

Corso di biciclette

Metodi: getMap, setMap

BetaInterfaccia di Opzioni fotocamera

Proprietà: center, heading, tilt, zoom

Interfaccia VisibleRegion

Proprietà: farLeft, farRight, latLngBounds, nearLeft, nearRight

Costanti di rendering

Costanti: RASTER, UNINITIALIZED, VECTOR

BetaInterfaccia di CapCap

Proprietà: BetaisAdvancedMarkersAvailable, BetaisDataDrivenStylingAvailable

GLS

Classe WebGL WebGL

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

Interfaccia WebGLDrawOptions

Proprietà: gl, transformer

Interfaccia WebGLStateOptions

Proprietà: gl

Interfaccia CoordinateTransformer

Metodi: fromLatLngAltitude, getCameraParams

Interfaccia CameraParams

Proprietà: center, heading, tilt, zoom

Coordinate

Classe LatLng

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

Interfaccia LatLngLiteral

Proprietà: lat, lng

Classe LatLngBounds

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

Costanti: MAX_BOUNDS

Interfaccia LatLngBoundsLiteral

Proprietà: east, north, south, west

Classe LatLngAltitude

Proprietà: altitude, lat, lng

Metodi: equals, toJSON

Interfaccia LatLngAltitudeLiteral

Proprietà: altitude, lat, lng

Classe punti

Proprietà: x, y

Metodi: equals, toString

Classe di dimensione

Proprietà: height, width

Metodi: equals, toString

Interfaccia di spaziatura interna

Proprietà: bottom, left, right, top

Interfaccia CircleLiteral

Proprietà: center, radius

Stili basati sui dati (beta)

BetaInterfaccia Feature Layer

Proprietà: BetafeatureType, BetaisAvailable, Betastyle

Metodi: BetaaddListener

BetaCostanti di TypeType

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

BetaTypeStyleFunctionFunction
BetaInterfaccia FeatureStyleFunctionOptions

Proprietà: Betafeature

BetaInterfaccia FeatureStyleOptions

Proprietà: BetafillColor, BetafillOpacity, BetastrokeColor, BetastrokeOpacity, BetastrokeWeight

BetaInterfaccia funzionalità

Proprietà: BetafeatureType

BetaInterfaccia di PlaceFeature

Proprietà: BetadisplayName, BetaplaceId

BetaInterfaccia FeatureMouseEvent

Proprietà: Betafeatures

Controlli

Interfaccia OpenGLControlOptions

Proprietà: position

Interfaccia MapTypeControlOptions

Proprietà: mapTypeIds, position, style

Costanti MapTypeControlStyle

Costanti: DEFAULT, DROPDOWN_MENU, HORIZONTAL_BAR

Interfaccia MotionTrackingControlOptions

Proprietà: position

Interfaccia PanControlOptions

Proprietà: position

Interfaccia RuotaControlOptions

Proprietà: position

Interfaccia ScaleControlOptions

Proprietà: style

Costanti ScaleControlStyle

Costanti: DEFAULT

Interfaccia StreetViewControlOptions

Proprietà: position

Interfaccia ZoomControlOptions

Proprietà: position

Costanti di ControlPosition

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

Raccolta di geometrie

codifica dello spazio dei nomi

Metodi statici: decodePath, encodePath

spazio dei nomi sferico

Metodi statici: computeArea, computeDistanceBetween, computeHeading, computeLength, computeOffset, computeOffsetOrigin, computeSignedArea, interpolate

spazio dei nomi poly

Metodi statici: containsLocation, isLocationOnEdge

Disegno sulla mappa

Indicatore

Classe indicatore

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

Costanti: MAX_ZINDEX

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

Interfaccia MarkerOptions

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

BetaCostanti del comportamento di collisione

Costanti: OPTIONAL_AND_HIDES_LOWER_PRIORITY, REQUIRED, REQUIRED_AND_HIDES_OPTIONAL

Interfaccia icone

Proprietà: anchor, labelOrigin, origin, scaledSize, size, url

Interfaccia MarkerLabel

Proprietà: className, color, fontFamily, fontSize, fontWeight, text

Interfaccia MarkerShape

Proprietà: coords, type

Interfaccia simboli

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

Costanti PathPath

Costanti: BACKWARD_CLOSED_ARROW, BACKWARD_OPEN_ARROW, CIRCLE, FORWARD_CLOSED_ARROW, FORWARD_OPEN_ARROW

Costanti dell'animazione

Costanti: BOUNCE, DROP

Indicatori avanzati (beta)

BetaCorso AdvancedMarkerView

Proprietà: collisionBehavior, content, draggable, element, map, position, title, zIndex

Metodi: addListener

Eventi: click, drag, dragend, dragstart

BetaInterfaccia AdvancedMarkerViewOptions

Proprietà: collisionBehavior, content, draggable, element, map, position, title, zIndex

BetaClasse PinView

Proprietà: background, borderColor, element, glyph, glyphColor, scale

Metodi: addListener

BetaInterfaccia PinViewOptions

Proprietà: background, borderColor, element, glyph, glyphColor, scale

Finestra informativa

Classe InfoWindow

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

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

Interfaccia InfoWindowOptions

Proprietà: ariaLabel, content, disableAutoPan, maxWidth, minWidth, pixelOffset, position, zIndex

Interfaccia InfoWindowOpenOptions

Proprietà: anchor, map, shouldFocus

Poligono

Classe polilinea

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

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

Interfaccia PolylineOptions

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

Interfaccia Sequenza

Proprietà: fixedRotation, icon, offset, repeat

Classe poligonale

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

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

Interfaccia PoliciesOptions

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

Interfaccia PolyMouseEvent

Proprietà: edge, path, vertex

Classe rettangolo

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

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

Interfaccia RettangoloOptions

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

Lezione di cerchio

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

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

Interfaccia CircleOptions

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

Costanti di ictus

Costanti: CENTER, INSIDE, OUTSIDE

Dati

Classe dati

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

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

Interfaccia Data.DataOptions

Proprietà: controlPosition, controls, drawingMode, featureFactory, map, style

Interfaccia Data.GeoJsonOptions

Proprietà: idPropertyName

Interfaccia Data.StyleOptions

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

Datadef.StylingFunction
Classe Data.Feature

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

Eventi: removeproperty, setgeometry, setproperty

Interfaccia Data.FeatureOptions

Proprietà: geometry, id, properties

Interfaccia Data.Geometry

Metodi: forEachLatLng, getType

Classe Data.Point

Metodi: forEachLatLng, get, getType

Classe Data.MultiPoint

Metodi: forEachLatLng, getArray, getAt, getLength, getType

Classe Data.LineString

Metodi: forEachLatLng, getArray, getAt, getLength, getType

Classe Data.MultiLineString

Metodi: forEachLatLng, getArray, getAt, getLength, getType

Classe RingRing lineare.

Metodi: forEachLatLng, getArray, getAt, getLength, getType

Classe Data.poligono

Metodi: forEachLatLng, getArray, getAt, getLength, getType

Classe Data.Multi poligono

Metodi: forEachLatLng, getArray, getAt, getLength, getType

Classe Data.GeometryCollection

Metodi: forEachLatLng, getArray, getAt, getLength, getType

Interfaccia Data.MouseEvent

Proprietà: feature

Interfaccia Data.AddFeatureEvent

Proprietà: feature

Interfaccia Data.RemoveFeatureEvent

Proprietà: feature

Interfaccia Data.SetGeometryEvent

Proprietà: feature, newGeometry, oldGeometry

Interfaccia Data.SetPropertyEvent

Proprietà: feature, name, newValue, oldValue

Interfaccia Data.RemovePropertyEvent

Proprietà: feature, name, oldValue

Elementi DOM

Classe OverlayView

Metodi statici: preventMapHitsAndGesturesFrom, preventMapHitsFrom

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

Interfaccia MapPanes

Proprietà: floatPane, mapPane, markerLayer, overlayLayer, overlayMouseTarget

Interfaccia di MapCanvasProjection

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

KML

Classe Kmllayer

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

Eventi: click, defaultviewport_changed, status_changed

Interfaccia KmllayerOptions

Proprietà: clickable, map, preserveViewport, screenOverlays, suppressInfoWindows, url, zIndex

Interfaccia KmllayerMetadata

Proprietà: author, description, hasScreenOverlays, name, snippet

Costanti Kml LayerStatus

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

Interfaccia KmlMouseEvent

Proprietà: featureData, latLng, pixelOffset

Interfaccia MLDataData

Proprietà: author, description, id, infoWindowHtml, name, snippet

Interfaccia KmlAuthor

Proprietà: email, name, uri

Overlay immagine

Interfaccia di MapType

Proprietà: alt, maxZoom, minZoom, name, projection, radius, tileSize

Metodi: getTile, releaseTile

Interfaccia di proiezione

Metodi: fromLatLngToPoint, fromPointToLatLng

Classe ImageMapType

Proprietà: alt, maxZoom, minZoom, name, projection, radius, tileSize

Metodi: getOpacity, getTile, releaseTile, setOpacity

Eventi: tilesloaded

Interfaccia ImageMapTypeOptions

Proprietà: alt, getTileUrl, maxZoom, minZoom, name, opacity, tileSize

Classe GroundOverlay

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

Eventi: click, dblclick

Interfaccia GroundOverlayOptions

Proprietà: clickable, map, opacity

Classe MapdMapType

Proprietà: alt, maxZoom, minZoom, name, projection, radius, tileSize

Metodi: getTile, releaseTile

Interfaccia styledMapTypeOptions

Proprietà: alt, maxZoom, minZoom, name

Raccolta di disegno

Corso DisegnoManager

Metodi: getDrawingMode, getMap, setDrawingMode, setMap, setOptions

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

Interfaccia di DisegnoManagerOptions

Proprietà: circleOptions, drawingControl, drawingControlOptions, drawingMode, map, markerOptions, polygonOptions, polylineOptions, rectangleOptions

Interfaccia di DisegnoControlOptions

Proprietà: drawingModes, position

Interfaccia OverlayCompleteEvent

Proprietà: overlay, type

Costanti del tipo di overlay

Costanti: CIRCLE, MARKER, POLYGON, POLYLINE, RECTANGLE

Mappa termica

Classe Heatmap Layer

Metodi: getData, getMap, setData, setMap, setOptions

Interfaccia HeatmaplayerOptions

Proprietà: data, dissipating, gradient, map, maxIntensity, opacity, radius

Interfaccia pesLocation

Proprietà: location, weight

Zoom max

Classe MaxZoomService

Metodi: getMaxZoomAtLatLng

Interfaccia MaxZoomResult

Proprietà: status, zoom

Costanti MaxZoomStatus

Costanti: ERROR, OK

Street View

Rendering

Corso di Street ViewPanorama

Proprietà: controls

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

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

Interfaccia di StreetViewPanoramaOptions

Proprietà: addressControl, addressControlOptions, clickToGo, controlSize, disableDefaultUI, disableDoubleClickZoom, enableCloseButton, fullscreenControl, fullscreenControlOptions, imageDateControl, linksControl, motionTracking, motionTrackingControl, motionTrackingControlOptions, panControl, panControlOptions, pano, position, pov, pov, {18/2}

Interfaccia StreetViewAddressControlOptions

Proprietà: position

Interfaccia PanProviderOptions

Proprietà: cors

Interfaccia StreetViewTileData

Proprietà: centerHeading, tileSize, worldSize

Metodi: getTileUrl

Interfaccia di Street ViewPov

Proprietà: heading, pitch

Classe StreetViewCoperturaLevel

Metodi: getMap, setMap

Servizio

Classe StreetViewService

Metodi: getPanorama

Costanti di Street ViewStatus

Costanti: OK, UNKNOWN_ERROR, ZERO_RESULTS

Interfaccia di Street ViewLocationRequest

Proprietà: location, preference, radius, source

Interfaccia StreetViewPanoRequest

Proprietà: pano

Interfaccia di Street ViewResponse

Proprietà: data

Interfaccia di Street ViewLocation

Proprietà: description, latLng, pano, shortDescription

Costanti di Street ViewPreferenza

Costanti: BEST, NEAREST

Costanti di Street ViewSource

Costanti: DEFAULT, OUTDOOR

Interfaccia StreetViewPanoramaData

Proprietà: copyright, imageDate, links, location, tiles

Proprietà: description, heading, pano

Luoghi

Widget di Places

Completamento automatico dei corsi

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

Eventi: place_changed

Interfaccia AutocompleteOptions

Proprietà: bounds, componentRestrictions, fields, strictBounds, types, placeIdOnly

Metodi: getBounds, getPlaces, setBounds

Eventi: places_changed

Interfaccia di SearchBoxOptions

Proprietà: bounds

Servizio Places

Corso PlacesService

Metodi: findPlaceFromPhoneNumber, findPlaceFromQuery, getDetails, nearbySearch, textSearch

Interfaccia di PlaceDetailsRequest

Proprietà: fields, language, placeId, region, sessionToken

Interfaccia di FindPlaceFromPhoneNumberRequest

Proprietà: fields, language, locationBias, phoneNumber

Interfaccia di FindPlaceFromQueryRequest

Proprietà: fields, language, locationBias, query

Interfaccia di PlaceSearchRequest

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

Interfaccia TextSearchRequest

Proprietà: bounds, language, location, query, radius, region, type

Costanti di RankBy

Costanti: DISTANCE, PROMINENCE

LocationBias typedef
Tipo di limitazione della località
Costanti di StatusService

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

Interfaccia di PlaceSearchPagination

Proprietà: hasNextPage

Metodi: nextPage

Interfaccia di PlaceResult

Proprietà: 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, {2, /2, {25, 2, {28/24

Interfaccia di PlaceAspectRating

Proprietà: rating, type

Costanti di BusinessStatus

Costanti: CLOSED_PERMANENTLY, CLOSED_TEMPORARILY, OPERATIONAL

Interfaccia di PlaceGeometry

Proprietà: location, viewport

Interfaccia di PlaceOpeningHours

Proprietà: periods, weekday_text, open_now

Metodi: isOpen

Interfaccia PlaceOpeningHoursPeriod

Proprietà: close, open

Interfaccia PlaceOpeningHours

Proprietà: day, hours, minutes, nextDate, time

Interfaccia di PlacePlusCode

Proprietà: compound_code, global_code

Interfaccia di PlaceFoto

Proprietà: height, html_attributions, width

Metodi: getUrl

Interfaccia di Opzioni Opzioni

Proprietà: maxHeight, maxWidth

Interfaccia di PlaceReview

Proprietà: author_name, author_url, language, profile_photo_url, rating, relative_time_description, text, time, aspects

Servizio di completamento automatico di Places

Classe AutocompleteService

Metodi: getPlacePredictions, getQueryPredictions

Interfaccia Richiesta di completamento automatico

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

Interfaccia AutocompleteResponse

Proprietà: predictions

Interfaccia QueryAutocompletionRequest

Proprietà: bounds, input, location, offset, radius

Classe completamento sessione sessione automatica
Interfaccia ComponentRestrictions

Proprietà: country

Interfaccia di previsione del completamento automatico

Proprietà: description, distance_meters, matched_substrings, place_id, structured_formatting, terms, types

Interfaccia QueryAutocompletePrediction

Proprietà: description, matched_substrings, place_id, terms

Interfaccia Previsione

Proprietà: offset, value

Interfaccia PredictionSubstring

Proprietà: length, offset

Interfaccia StructuredStructured

Proprietà: main_text, main_text_matched_substrings, secondary_text

Codificatore geografico

Corso di geocodificatore

Metodi: geocode

Interfaccia GeocoderRequest

Proprietà: address, bounds, componentRestrictions, Betalanguage, location, placeId, region

Interfaccia GeocoderComponentRestrictions

Proprietà: administrativeArea, country, locality, postalCode, route

Costanti GeocoderStatus

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

Interfaccia GeocoderResponse

Proprietà: results

Interfaccia GeocoderResult

Proprietà: address_components, formatted_address, geometry, partial_match, place_id, plus_code, postcode_localities, types

Interfaccia GeoCoderAddressComponent

Proprietà: long_name, short_name, types

Interfaccia GeocoderGeometry

Proprietà: bounds, location, location_type, viewport

Costanti GeoLocationrLocationType

Costanti: APPROXIMATE, GEOMETRIC_CENTER, RANGE_INTERPOLATED, ROOFTOP

Route

Indicazioni

Classe DirectionsService

Metodi: route

Interfaccia DirectionsRequest

Proprietà: avoidFerries, avoidHighways, avoidTolls, destination, drivingOptions, Betalanguage, optimizeWaypoints, origin, provideRouteAlternatives, region, transitOptions, travelMode, unitSystem, waypoints

Costanti di DirectionsStatus

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

Interfaccia DirectionsResult

Proprietà: available_travel_modes, geocoded_waypoints, routes

Classe DirectionsRenderer

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

Eventi: directions_changed

Interfaccia DirectionsRendererOptions

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

Interfaccia DirectionsWaypoint

Proprietà: location, stopover

Interfaccia indicazioni stradali geocodedWaypoint

Proprietà: partial_match, place_id, types

Interfaccia DirectionsRoute

Proprietà: bounds, copyrights, fare, legs, overview_path, overview_polyline, summary, warnings, waypoint_order

Interfaccia DirectionsLeg

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

Interfaccia DirectionsStep

Proprietà: 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

Interfaccia DirectionsPolyline

Proprietà: points

Interfaccia del luogo

Proprietà: location, placeId, query

Costanti TravelMode

Costanti: BICYCLING, DRIVING, TRANSIT, WALKING

Interfaccia di DriveOptions

Proprietà: departureTime, trafficModel

Costanti del modello di traffico

Costanti: BEST_GUESS, OPTIMISTIC, PESSIMISTIC

Interfaccia TransitOptions

Proprietà: arrivalTime, departureTime, modes, routingPreference

Costanti del servizio TransitMode

Costanti: BUS, RAIL, SUBWAY, TRAIN, TRAM

Costanti TransitRoutePreferenza

Costanti: FEWER_TRANSFERS, LESS_WALKING

Interfaccia di Trasporto pubblico

Proprietà: currency, value

Interfaccia TransitDetails

Proprietà: arrival_stop, arrival_time, departure_stop, departure_time, headsign, headway, line, num_stops, trip_short_name

Interfaccia TransitStop

Proprietà: location, name

Interfaccia TransitLine

Proprietà: agencies, color, icon, name, short_name, text_color, url, vehicle

Interfaccia di Transit Transit

Proprietà: name, phone, url

Interfaccia di Transit

Proprietà: icon, local_icon, name, type

Costanti di VehicleType

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

Costanti di SystemSystem

Costanti: IMPERIAL, METRIC

Interfaccia a distanza

Proprietà: text, value

Interfaccia della durata

Proprietà: text, value

Interfaccia temporale

Proprietà: text, time_zone, value

Costanti DirectionsTravelMode
Costanti DirectionsUnitSystem

Matrice della distanza

Classe DISTMatrixService

Metodi: getDistanceMatrix

Interfaccia DISTMatrixRequest

Proprietà: avoidFerries, avoidHighways, avoidTolls, destinations, drivingOptions, Betalanguage, origins, region, transitOptions, travelMode, unitSystem

Interfaccia AnswerMatrixResponse

Proprietà: destinationAddresses, originAddresses, rows

Interfaccia Distanza MatrixResponseRow

Proprietà: elements

Interfaccia Distanza MatriceResponseElement

Proprietà: distance, duration, duration_in_traffic, fare, status

Costanti DISTMatrixStatus

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

Costanti DISTMatrixElementStatus

Costanti: NOT_FOUND, OK, ZERO_RESULTS

Elevazione

Classe ElevationService

Metodi: getElevationAlongPath, getElevationForLocations

Interfaccia LocationElevationRequest

Proprietà: locations

Interfaccia LocationElevationResponse

Proprietà: results

Interfaccia PathElevationRequest

Proprietà: path, samples

Interfaccia PathElevationResponse

Proprietà: results

Interfaccia ElevationResult

Proprietà: elevation, location, resolution

Costanti ElevationStatus

Costanti: INVALID_REQUEST, OK, OVER_QUERY_LIMIT, REQUEST_DENIED, UNKNOWN_ERROR

Contesto locale (beta)

Visualizzazione mappa

BetaLocalContextMapView classe

Proprietà: directionsOptions, element, isTransitioningMapBounds, locationBias, locationRestriction, maxPlaceCount, placeTypePreferences

Metodi: addListener, hidePlaceDetailsView, search

Eventi: error, placedetailsviewhidestart, placedetailsviewshowstart

BetaInterfaccia LocalContextMapViewOptions

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

BetaPlaceTypePreferenza typedef
BetaClasse MapDirectionsOptions

Metodi: addListener

BetaInterfaccia MapDirectionsOptionsLiteral

Proprietà: origin

BetaInterfaccia PinOptions

Proprietà: background, glyphColor, scale

Interfaccia di PlaceChooserViewSetupOptions

Proprietà: layoutMode, position

BetaCostanti PlaceChooserLayoutMode

Costanti: HIDDEN, SHEET

BetaCostanti PlaceChooserPosition

Costanti: BLOCK_END, INLINE_END, INLINE_START

Interfaccia di PlaceDetailsViewSetupOptions

Proprietà: hidesOnMapClick, layoutMode, position

BetaCostanti PlaceDetailsLayoutMode

Costanti: INFO_WINDOW, SHEET

BetaCostanti PlaceDetailsPosition

Costanti: INLINE_END, INLINE_START

Condivisione del percorso (beta)

Visualizzazione mappa

BetaClasse di condivisione MapsMapView

Proprietà: anticipatedRoutePolylines, anticipatedRoutePolylineSetup, automaticViewportMode, destinationMarkers, destinationMarkerSetup, element, enableTraffic, locationProvider, map, mapOptions, originMarkers, originMarkerSetup, pingMarkerSetup, successfulTaskMarkers, successfulTaskMarkerSetup, takenRoutePolylines, takenRoutePolylineSetup, taskOutcomeMarkers, taskOutcomeMarkerSetup, taskOutcomeMarkerSetup, {18/2}

BetaInterfacciaJourneysharingMapViewOptions

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

BetaCostanti AutomaticViewportMode

Costanti: FIT_ANTICIPATED_ROUTE, NONE

BetaClasse astratta LocationProvider

Metodi: addListener

Autenticazione

BetaInterfaccia AuthToken

Proprietà: expiresInSeconds, token

BetaInterfaccia AuthTokenContext

Proprietà: deliveryVehicleId, taskId, trackingId, tripId, vehicleId

BetaAuthTokenFetcher typedef
BetaInterfaccia AuthTokenFetcherOptions

Proprietà: context, serviceType

BetaCostanti FleetEngineServiceType

Costanti: DELIVERY_VEHICLE_SERVICE, TASK_SERVICE, TRIP_SERVICE, UNKNOWN_SERVICE

Personalizzazione dell'interfaccia utente

BetaPolylineSetup typedef
BetaInterfaccia PolylineSetupOptions

Proprietà: polylineOptions, visible

BetaInterfaccia DefaultPolylineSetupOptions

Proprietà: defaultPolylineOptions, defaultVisible

BetaMarkerSetup typedef
BetaInterfaccia MarkSetupSetupOptions

Proprietà: markerOptions

BetaInterfaccia DefaultMarkerSetupOptions

Proprietà: defaultMarkerOptions

Entità del parco risorse

BetaInterfaccia attività

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

BetaInterfaccia di viaggio

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

BetaInterfaccia DeliveryDelivery

Proprietà: attributes, currentRouteSegmentEndPoint, latestVehicleLocationUpdate, name, navigationStatus, remainingDistanceMeters, remainingDurationMillis, remainingVehicleJourneySegments

BetaInterfaccia SegmentJourneySegment

Proprietà: distanceMeters, durationMillis, extraDurationMillis, location, path

BetaInterfaccia VehicleLocationUpdate

Proprietà: heading, location, speedKilometersPerHour, time

BetaInterfaccia VehicleWaypoint

Proprietà: distanceMeters, durationMillis, location, path

Avanzamento e viaggio

BetaClasse FleetEngineTripLocationProvider

Proprietà: tripId

Metodi: refresh

Eventi: error, update

BetaInterfaccia FleetEngineTripLocationProviderOptions

Proprietà: authTokenFetcher, pollingIntervalMillis, projectId, tripId

BetaInterfaccia FleetEngineTripLocationProviderUpdateEvent

Proprietà: trip

Monitoraggio del parco risorse

BetaClasse FleetEngineDeliveryEngineLocationProvider

Proprietà: deliveryVehicleId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

Eventi: error, update

BetaInterfaccia FleetEngineDeliveryDeliveryLocationLocationOptions

Proprietà: authTokenFetcher, deliveryVehicleId, pollingIntervalMillis, projectId, shouldShowOutcomeLocations, shouldShowTasks, staleLocationThresholdMillis, taskFilterOptions

BetaInterfaccia FleetEngineTaskFilterOptions

Proprietà: completionTimeFrom, completionTimeTo, state

BetaInterfaccia FleeEngineDeliveryDeliveryLocationLocationUpdateUpdate

Proprietà: completedVehicleJourneySegments, deliveryVehicle, tasks

BetaClasse FleetEngineDeliveryFleetLocationProvider

Proprietà: deliveryVehicleFilter, locationRestriction, pollingIntervalMillis, staleLocationThresholdMillis

Eventi: update

BetaInterfacciaFleetEngineDeliveryFleetLocationProviderOptions

Proprietà: authTokenFetcher, deliveryVehicleFilter, locationRestriction, projectId, staleLocationThresholdMillis

BetaInterfaccia FleetEngineDeliveryFleetLocationProviderUpdateEvent

Proprietà: deliveryVehicles

Monitoraggio delle spedizioni

BetaClasse FleetEngineShipmentLocationProvider

Proprietà: trackingId

Metodi: getTask, refresh

Eventi: error, update

BetaInterfaccia FleetEngineShipmentLocationProviderOptions

Proprietà: authTokenFetcher, pollingIntervalMillis, projectId, trackingId

BetaInterfaccia FleetEngineShipmentLocationProviderUpdateEvent

Proprietà: task