Interfaccia KmlAuthor · Google for Developers

Passa ai contenuti principali

Google Maps JavaScript API v3 Reference

Ultimo aggiornamento: lunedì 13 luglio 2026

Questo è un indice di tutte le classi, i metodi e le interfacce nella versione 3.65 (canale settimanale) dell'API Maps JavaScript. Questo riferimento viene aggiornato con le ultime modifiche apportate all'API.

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

Global Concepts

google.maps

spazio dei nomi google.maps

Costanti: version

Metodi statici: importLibrary

Impostazioni

Libreria "core" della classe Settings

Metodi statici: getInstance

Proprietà: BetaexperienceIds, fetchAppCheckToken

Interfaccia MapsAppCheckTokenResult

Proprietà: token

Sistema di eventi

Spazio dei nomi dell'evento libreria "core"

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

Interfaccia MapsEventListener

Metodi: remove

Libreria "core" della classe MVCObject

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

Classe MVCArray estende MVCObject, libreria "core"

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

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

Eventi: insert_at, remove_at, set_at

Interfaccia ErrorEvent

Proprietà: error

Errori

Classe MapsNetworkError estende Error, libreria "core"

Proprietà: code, endpoint

Classe MapsRequestError estende MapsNetworkError, libreria "core"

Proprietà ereditate: code, endpoint

Classe MapsServerError estende MapsNetworkError, libreria "core"

Proprietà ereditate: code, endpoint

Costanti MapsNetworkErrorEndpoint libreria "core"

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_GET_PLACE, PLACES_LOCAL_CONTEXT_SEARCH, PLACES_NEARBY_SEARCH, PLACES_SEARCH_TEXT, STREETVIEW_GET_PANORAMA

Costanti RPCStatus della libreria "core"

Costanti: ABORTED, ALREADY_EXISTS, CANCELLED, DATA_LOSS, DEADLINE_EXCEEDED, FAILED_PRECONDITION, INTERNAL, INVALID_ARGUMENT, NOT_FOUND, OK, OUT_OF_RANGE, PERMISSION_DENIED, RESOURCE_EXHAUSTED, UNAUTHENTICATED, UNAVAILABLE, UNIMPLEMENTED, UNKNOWN

Maps

Classe MapElement (tag: <gmp-map>) estende HTMLElement, implementa MapElementOptions, libreria "maps"

Proprietà: center (attributo: center), headingInteractionDisabled (attributo: heading-interaction-disabled), innerMap, internalUsageAttributionIds (attributo: internal-usage-attribution-ids), mapId (attributo: map-id), renderingType (attributo: rendering-type), tiltInteractionDisabled (attributo: tilt-interaction-disabled), zoom (attributo: zoom)

Slot: control-block-end-inline-center, control-block-end-inline-end, control-block-end-inline-start, control-block-start-inline-center, control-block-start-inline-end, control-block-start-inline-start, control-inline-end-block-center, control-inline-end-block-end, control-inline-end-block-start, control-inline-start-block-center, control-inline-start-block-end, control-inline-start-block-start, default

Metodi ereditati: addEventListener, removeEventListener

Eventi: gmp-zoomchange

Interfaccia MapElementOptions

Proprietà: center, headingInteractionDisabled, internalUsageAttributionIds, mapId, renderingType, tiltInteractionDisabled, zoom

Classe ZoomChangeEvent estende Event, libreria "maps"
Classe Map estende MVCObject, libreria "maps"

Costanti: DEMO_MAP_ID

Proprietà: controls, data, mapTypes, overlayMapTypes

Metodi: fitBounds, getBounds, getCenter, getClickableIcons, BetagetDatasetFeatureLayer, getDiv, getFeatureLayer, getHeading, getHeadingInteractionEnabled, getInternalUsageAttributionIds, getMapCapabilities, getMapTypeId, getProjection, getRenderingType, getStreetView, getTilt, getTiltInteractionEnabled, getZoom, moveCamera, panBy, panTo, panToBounds, setCenter, setClickableIcons, setHeading, setHeadingInteractionEnabled, setMapTypeId, setOptions, setRenderingType, setStreetView, setTilt, setTiltInteractionEnabled, setZoom

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

Eventi: 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, tilt_changed, zoom_changed, rightclick

Interfaccia MapOptions

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

Interfaccia MapTypeStyle

Proprietà: elementType, featureType, stylers

Interfaccia MapMouseEvent

Proprietà: domEvent, latLng

Metodi: stop

Interfaccia IconMouseEvent estende MapMouseEvent

Proprietà: placeId

Proprietà ereditate: domEvent, latLng

Metodi ereditati: stop

Costanti ColorScheme libreria "core"

Costanti: DARK, FOLLOW_SYSTEM, LIGHT

Costanti MapTypeId libreria "maps"

Costanti: HYBRID, ROADMAP, SATELLITE, TERRAIN

Classe MapTypeRegistry estende MVCObject, libreria "maps"

Metodi: set

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

Interfaccia MapRestriction

Proprietà: latLngBounds, strictBounds

Classe TrafficLayer estende MVCObject, libreria "maps"

Metodi: getMap, setMap, setOptions

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

Interfaccia TrafficLayerOptions

Proprietà: autoRefresh, map

Classe TransitLayer estende MVCObject, libreria "maps"

Metodi: getMap, setMap

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

Classe BicyclingLayer estende MVCObject, libreria "maps"

Metodi: getMap, setMap

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

BetaInterfaccia CameraOptions

Proprietà: center, heading, tilt, zoom

Interfaccia VisibleRegion

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

Costanti RenderingType libreria "maps"

Costanti: RASTER, UNINITIALIZED, VECTOR

Interfaccia MapCapabilities

Proprietà: isAdvancedMarkersAvailable, isDataDrivenStylingAvailable, isWebGLOverlayViewAvailable

WebGL

Classe WebGLOverlayView estende MVCObject, libreria "maps"

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

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

Interfaccia WebGLDrawOptions

Proprietà: gl, transformer

Interfaccia WebGLStateOptions

Proprietà: gl

Interfaccia CoordinateTransformer

Metodi: fromLatLngAltitude, getCameraParams

Interfaccia CameraParams estende CameraOptions

Proprietà: center, heading, tilt, zoom

Coordinate

Classe LatLng libreria "core"

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

Interfaccia LatLngLiteral

Proprietà: lat, lng

Classe LatLngBounds libreria "core"

Costanti: MAX_BOUNDS

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

Interfaccia LatLngBoundsLiteral

Proprietà: east, north, south, west

Classe LatLngAltitude implementa LatLngAltitudeLiteral, LatLngLiteral, libreria "core"

Proprietà: altitude, lat, lng

Metodi: equals, toJSON

Interfaccia LatLngAltitudeLiteral estende LatLngLiteral

Proprietà: altitude, lat, lng

Libreria Point class "core"

Proprietà: x, y

Metodi: equals, toString

Libreria "core" della classe di dimensioni

Proprietà: height, width

Metodi: equals, toString

Interfaccia di padding

Proprietà: bottom, left, right, top

Interfaccia CircleLiteral estende CircleOptions

Proprietà: center, radius

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

Classe Orientation3D implementa Orientation3DLiteral, libreria "core"

Proprietà: heading, roll, tilt

Metodi: equals, toJSON

Interfaccia Orientation3DLiteral

Proprietà: heading, roll, tilt

Classe Vector3D implementa Vector3DLiteral, libreria "core"

Proprietà: x, y, z

Metodi: equals, toJSON

Interfaccia Vector3DLiteral

Proprietà: x, y, z

Stili basati sui dati

Interfaccia FeatureLayer

Proprietà: BetadatasetId, featureType, isAvailable, style

Metodi: addListener

Eventi: click, mousemove

Costanti FeatureType della libreria "maps"

Costanti: ADMINISTRATIVE_AREA_LEVEL_1, ADMINISTRATIVE_AREA_LEVEL_2, COUNTRY, BetaDATASET, LOCALITY, POSTAL_CODE, SCHOOL_DISTRICT

FeatureStyleFunction typedef
Interfaccia FeatureStyleFunctionOptions

Proprietà: feature

Interfaccia FeatureStyleOptions

Proprietà: fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWeight

Interfaccia della funzionalità

Proprietà: featureType

L'interfaccia PlaceFeature estende Feature

Proprietà: placeId

Proprietà ereditate: featureType

Metodi: fetchPlace

BetaL'interfaccia DatasetFeature estende Feature

Proprietà: datasetAttributes, datasetId

Proprietà ereditate: featureType

Interfaccia FeatureMouseEvent estende MapMouseEvent

Proprietà: features

Proprietà ereditate: domEvent, latLng

Metodi ereditati: stop

Controlli

Interfaccia CameraControlOptions

Proprietà: position

Interfaccia FullscreenControlOptions

Proprietà: position

Interfaccia MapTypeControlOptions

Proprietà: mapTypeIds, position, style

Costanti MapTypeControlStyle library "maps"

Costanti: DEFAULT, DROPDOWN_MENU, HORIZONTAL_BAR

Interfaccia MotionTrackingControlOptions

Proprietà: position

Interfaccia PanControlOptions

Proprietà: position

Interfaccia RotateControlOptions

Proprietà: position

Interfaccia ScaleControlOptions

Proprietà: style

Costanti ScaleControlStyle

Costanti: DEFAULT

Interfaccia StreetViewControlOptions

Proprietà: position, sources

Interfaccia ZoomControlOptions

Proprietà: position

Costanti ControlPosition della libreria "core"

Costanti: BLOCK_END_INLINE_CENTER, BLOCK_END_INLINE_END, BLOCK_END_INLINE_START, BLOCK_START_INLINE_CENTER, BLOCK_START_INLINE_END, BLOCK_START_INLINE_START, BOTTOM_CENTER, BOTTOM_LEFT, BOTTOM_RIGHT, INLINE_END_BLOCK_CENTER, INLINE_END_BLOCK_END, INLINE_END_BLOCK_START, INLINE_START_BLOCK_CENTER, INLINE_START_BLOCK_END, INLINE_START_BLOCK_START, LEFT_BOTTOM, LEFT_CENTER, LEFT_TOP, RIGHT_BOTTOM, RIGHT_CENTER, RIGHT_TOP, TOP_CENTER, TOP_LEFT, TOP_RIGHT

Libreria di geometria

encoding namespace library "geometry"

Metodi statici: decodePath, encodePath

spazio dei nomi sferico libreria "geometry"

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

Spazio dei nomi poly libreria "geometry"

Metodi statici: containsLocation, isLocationOnEdge

Disegna sulla mappa

Indicatori avanzati

La classe AdvancedMarkerElement (tag: <gmp-advanced-marker>) estende HTMLElement, implementa AdvancedMarkerElementOptions, libreria "marker"

Proprietà: anchorLeft (attributo: anchor-left), anchorTop (attributo: anchor-top), collisionBehavior, gmpClickable (attributo: gmp-clickable), gmpDraggable, map, position (attributo: position), title (attributo: title), zIndex, element, content

Metodi: addListener

Metodi ereditati: addEventListener, removeEventListener

Eventi: click, drag, dragend, dragstart, gmp-click

Interfaccia AdvancedMarkerElementOptions

Proprietà: anchorLeft, anchorTop, collisionBehavior, content, gmpClickable, gmpDraggable, map, position, title, zIndex

Classe AdvancedMarkerClickEvent estende Event, libreria "marker"
Classe PinElement estende HTMLElement, implementa PinElementOptions, libreria "marker"

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

Metodi ereditati: addEventListener, removeEventListener

Interfaccia PinElementOptions

Proprietà: background, borderColor, glyphColor, glyphSrc, glyphText, scale, glyph

Finestra informativa

Classe InfoWindow estende MVCObject, libreria "maps", "streetView"

Proprietà: isOpen

Metodi: close, focus, getContent, getHeaderContent, getHeaderDisabled, getPosition, getZIndex, open, setContent, setHeaderContent, setHeaderDisabled, setOptions, setPosition, setZIndex

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

Eventi: close, closeclick, content_changed, domready, headercontent_changed, headerdisabled_changed, position_changed, visible, zindex_changed

Interfaccia InfoWindowOptions

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

Interfaccia InfoWindowOpenOptions

Proprietà: anchor, map, shouldFocus

Poligoni

Classe Polyline estende MVCObject, libreria "maps"

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

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

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 IconSequence

Proprietà: fixedRotation, icon, offset, repeat

Classe Polygon estende MVCObject, libreria "maps"

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

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

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

Interfaccia PolygonOptions

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

L'interfaccia PolyMouseEvent estende MapMouseEvent

Proprietà: edge, path, vertex

Proprietà ereditate: domEvent, latLng

Metodi ereditati: stop

Classe Rectangle estende MVCObject, libreria "maps"

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

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

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

Interfaccia RectangleOptions

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

Classe Circle estende MVCObject, libreria "maps"

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

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

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 StrokePosition della libreria "maps"

Costanti: CENTER, INSIDE, OUTSIDE

Dati

Data class extends MVCObject, library "maps"

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

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

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

Data.StylingFunction typedef
Libreria Data.Feature class "maps"

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 implementa Data.Geometry, libreria "maps"

Metodi: forEachLatLng, get, getType

La classe Data.MultiPoint implementa Data.Geometry, libreria "maps"

Metodi: forEachLatLng, getArray, getAt, getLength, getType

Classe Data.LineString implementa Data.Geometry, libreria "maps"

Metodi: forEachLatLng, getArray, getAt, getLength, getType

Classe Data.MultiLineString implementa Data.Geometry, libreria "maps"

Metodi: forEachLatLng, getArray, getAt, getLength, getType

Classe Data.LinearRing implementa Data.Geometry, libreria "maps"

Metodi: forEachLatLng, getArray, getAt, getLength, getType

Classe Data.Polygon implementa Data.Geometry, libreria "maps"

Metodi: forEachLatLng, getArray, getAt, getLength, getType

Classe Data.MultiPolygon implementa Data.Geometry, libreria "maps"

Metodi: forEachLatLng, getArray, getAt, getLength, getType

Classe Data.GeometryCollection implementa Data.Geometry, libreria "maps"

Metodi: forEachLatLng, getArray, getAt, getLength, getType

Interfaccia Data.MouseEvent estende MapMouseEvent

Proprietà: feature

Proprietà ereditate: domEvent, latLng

Metodi ereditati: stop

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 estende MVCObject, libreria "maps", "streetView"

Metodi statici: preventMapHitsAndGesturesFrom, preventMapHitsFrom

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

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

Interfaccia MapPanes

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

Interfaccia MapCanvasProjection

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

KML

Classe KmlLayer estende MVCObject, libreria "maps"

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

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

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 KmlLayerStatus library "maps"

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 KmlFeatureData

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

Proprietà: email, name, uri

Overlay immagine

Interfaccia MapType

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

Metodi: getTile, releaseTile

Interfaccia di proiezione

Metodi: fromLatLngToPoint, fromPointToLatLng

Classe ImageMapType estende MVCObject, implementa MapType, libreria "maps"

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

Metodi: getOpacity, getTile, releaseTile, setOpacity

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

Eventi: tilesloaded

Interfaccia ImageMapTypeOptions

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

Classe GroundOverlay estende MVCObject, libreria "maps"

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

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

Eventi: click, dblclick

Interfaccia GroundOverlayOptions

Proprietà: clickable, map, opacity

Classe StyledMapType estende MVCObject, implementa MapType, libreria "maps"

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

Metodi: getTile, releaseTile

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

Interfaccia StyledMapTypeOptions

Proprietà: alt, maxZoom, minZoom, name

Libreria di disegni

Classe DrawingManager estende MVCObject, libreria "drawing"

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

Costanti OverlayType library "drawing"

Costanti: CIRCLE, MARKER, POLYGON, POLYLINE, RECTANGLE

Zoom max

Classe MaxZoomService libreria "maps"

Metodi: getMaxZoomAtLatLng

Interfaccia MaxZoomResult

Proprietà: status, zoom

Costanti MaxZoomStatus libreria "maps"

Costanti: ERROR, OK

Indicatore (obsoleto)

Classe Marker estende MVCObject, libreria "marker"

Costanti: MAX_ZINDEX

Metodi: getAnimation, getClickable, getCursor, getDraggable, getIcon, getLabel, getMap, getOpacity, getPosition, getShape, getTitle, getVisible, getZIndex, setAnimation, setClickable, setCursor, setDraggable, setIcon, setLabel, setMap, setOpacity, setOptions, setPosition, setShape, setTitle, setVisible, setZIndex

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

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, visible_changed, zindex_changed, rightclick

Interfaccia MarkerOptions

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

Costanti CollisionBehavior della libreria "marker"

Costanti: OPTIONAL_AND_HIDES_LOWER_PRIORITY, REQUIRED, REQUIRED_AND_HIDES_OPTIONAL

Interfaccia delle icone

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

Interfaccia MarkerLabel

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

Interfaccia MarkerShape

Proprietà: coords, type

Interfaccia dei simboli

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

Costanti SymbolPath della libreria "core"

Costanti: BACKWARD_CLOSED_ARROW, BACKWARD_OPEN_ARROW, CIRCLE, FORWARD_CLOSED_ARROW, FORWARD_OPEN_ARROW

Costanti di animazione libreria "marker"

Costanti: BOUNCE, DROP

Mappe termiche (obsolete)

Libreria "visualization" della classe HeatmapLayer

Street View

Rendering

Classe StreetViewPanorama estende MVCObject, libreria "streetView"

Proprietà: controls

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

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

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

Interfaccia StreetViewPanoramaOptions

Proprietà: addressControl, addressControlOptions, clickToGo, controlSize, disableDefaultUI, disableDoubleClickZoom, enableCloseButton, fullscreenControl, fullscreenControlOptions, imageDateControl, linksControl, motionTracking, motionTrackingControl, motionTrackingControlOptions, panControl, panControlOptions, pano, position, pov, scrollwheel, showRoadLabels, visible, zoom, zoomControl, zoomControlOptions

Interfaccia StreetViewAddressControlOptions

Proprietà: position

Interfaccia PanoProviderOptions

Proprietà: cors

Interfaccia StreetViewTileData

Proprietà: centerHeading, tileSize, worldSize

Metodi: getTileUrl

Interfaccia StreetViewPov

Proprietà: heading, pitch

Classe StreetViewCoverageLayer estende MVCObject, libreria "streetView"

Metodi: getMap, setMap

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

Servizio

Classe StreetViewService libreria "streetView"

Metodi: getPanorama

Costanti StreetViewStatus libreria "streetView"

Costanti: OK, UNKNOWN_ERROR, ZERO_RESULTS

Interfaccia StreetViewLocationRequest

Proprietà: location, preference, radius, sources, source

Interfaccia StreetViewPanoRequest

Proprietà: pano

Interfaccia StreetViewResponse

Proprietà: data

Interfaccia StreetViewLocation

Proprietà: description, latLng, pano, shortDescription

Costanti StreetViewPreference library "streetView"

Costanti: BEST, NEAREST

Costanti StreetViewSource libreria "streetView"

Costanti: DEFAULT, GOOGLE, OUTDOOR

Interfaccia StreetViewPanoramaData

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

Interfaccia StreetViewLink

Proprietà: description, heading, pano

Luoghi

Widget Luoghi

Classe PlaceAutocompleteElement (tag: <gmp-place-autocomplete>) estende HTMLElement, implementa PlaceAutocompleteElementOptions, libreria "places"

Proprietà: description (attr: description), disabled (attr: disabled), futureOpeningBusinessesIncluded (attr: future-opening-businesses-included), includedPrimaryTypes (attr: included-primary-types), includedRegionCodes (attr: included-region-codes), internalUsageAttributionIds (attr: internal-usage-attribution-ids), locationBias, locationRestriction, maxlength (attr: maxlength), name (attr: name), noClearButton (attr: no-clear-button), noInputIcon (attr: no-input-icon), origin (attr: origin), placeholder (attr: placeholder), pureServiceAreaBusinessesIncluded (attr: pure-service-area-businesses-included), readonly (attr: readonly), requestedLanguage (attr: requested-language), requestedRegion (attr: requested-region), unitSystem (attr: unit-system), value

Slot: clear-icon, input-icon, prediction-item-icon

Parti: focus-ring, input, prediction-item, prediction-item-icon, prediction-item-main-text, prediction-item-match, prediction-item-nonmatch, prediction-item-secondary-text, prediction-item-selected, prediction-list

Proprietà CSS: background-color, border, border-radius, color, color-scheme, font, font-family, font-size, font-style, font-weight, line-height

Metodi ereditati: addEventListener, removeEventListener

Eventi: gmp-error, gmp-select

Interfaccia PlaceAutocompleteElementOptions

Proprietà: description, disabled, futureOpeningBusinessesIncluded, includedPrimaryTypes, includedRegionCodes, internalUsageAttributionIds, locationBias, locationRestriction, maxlength, name, noClearButton, noInputIcon, origin, placeholder, pureServiceAreaBusinessesIncluded, readonly, requestedLanguage, requestedRegion, unitSystem, value

Classe PlacePredictionSelectEvent estende Event, libreria "places"

Proprietà: placePrediction

Classe BasicPlaceAutocompleteElement (tag: <gmp-basic-place-autocomplete>) estende HTMLElement, implementa BasicPlaceAutocompleteElementOptions, libreria "places"

Proprietà: description (attr: description), disabled (attr: disabled), futureOpeningBusinessesIncluded (attr: future-opening-businesses-included), includedPrimaryTypes (attr: included-primary-types), includedRegionCodes (attr: included-region-codes), internalUsageAttributionIds (attr: internal-usage-attribution-ids), locationBias, locationRestriction, maxlength (attr: maxlength), name (attr: name), noClearButton (attr: no-clear-button), noInputIcon (attr: no-input-icon), origin (attr: origin), placeholder (attr: placeholder), pureServiceAreaBusinessesIncluded (attr: pure-service-area-businesses-included), readonly (attr: readonly), requestedLanguage (attr: requested-language), requestedRegion (attr: requested-region), unitSystem (attr: unit-system)

Slot: clear-icon, input-icon, prediction-item-icon

Parti: focus-ring, input, prediction-item, prediction-item-icon, prediction-item-main-text, prediction-item-match, prediction-item-nonmatch, prediction-item-secondary-text, prediction-item-selected, prediction-list

Proprietà CSS: background-color, border, border-radius, color, color-scheme, font, font-family, font-size, font-style, font-weight, line-height

Metodi ereditati: addEventListener, removeEventListener

Eventi: gmp-error, gmp-select

Interfaccia BasicPlaceAutocompleteElementOptions

Proprietà: description, disabled, futureOpeningBusinessesIncluded, includedPrimaryTypes, includedRegionCodes, internalUsageAttributionIds, locationBias, locationRestriction, maxlength, name, noClearButton, noInputIcon, origin, placeholder, pureServiceAreaBusinessesIncluded, readonly, requestedLanguage, requestedRegion, unitSystem

Classe PlaceDetailsElement (tag: <gmp-place-details>) estende HTMLElement, implementa PlaceDetailsElementOptions, libreria "places"

Proprietà: internalUsageAttributionIds (attributo: internal-usage-attribution-ids), place

Proprietà CSS: --gmp-button-border-color, --gmp-button-border-radius, --gmp-button-border-width, --gmp-collage-border-radius-outer, --gmp-dialog-border-radius, --gmp-mat-color-disabled-surface, --gmp-mat-color-info, --gmp-mat-color-negative, --gmp-mat-color-neutral-container, --gmp-mat-color-on-neutral-container, --gmp-mat-color-on-positive-container, --gmp-mat-color-on-secondary-container, --gmp-mat-color-on-surface, --gmp-mat-color-on-surface-variant, --gmp-mat-color-outline-decorative, --gmp-mat-color-positive, --gmp-mat-color-positive-container, --gmp-mat-color-primary, --gmp-mat-color-secondary-container, --gmp-mat-color-surface, --gmp-mat-font-body-medium, --gmp-mat-font-body-small, --gmp-mat-font-display-small, --gmp-mat-font-family, --gmp-mat-font-headline-medium, --gmp-mat-font-label-large, --gmp-mat-font-label-medium, --gmp-mat-font-title-small, --gmp-mat-spacing-extra-large, --gmp-mat-spacing-extra-small, --gmp-mat-spacing-large, --gmp-mat-spacing-medium, --gmp-mat-spacing-small, --gmp-mat-spacing-two-extra-large, --gmp-star-rating-color, background-color, border, border-radius, color-scheme, font-size

Metodi ereditati: addEventListener, removeEventListener

Eventi: gmp-error, gmp-load

Interfaccia PlaceDetailsElementOptions

Proprietà: internalUsageAttributionIds

Classe PlaceDetailsCompactElement (tag: <gmp-place-details-compact>) estende HTMLElement, implementa PlaceDetailsCompactElementOptions, libreria "places"

Proprietà: internalUsageAttributionIds (attributo: internal-usage-attribution-ids), orientation (attributo: orientation), place, truncationPreferred (attributo: truncation-preferred)

Proprietà CSS: --gmp-button-border-color, --gmp-button-border-radius, --gmp-button-border-width, --gmp-dialog-border-radius, --gmp-mat-color-info, --gmp-mat-color-negative, --gmp-mat-color-neutral-container, --gmp-mat-color-on-secondary-container, --gmp-mat-color-on-surface, --gmp-mat-color-on-surface-variant, --gmp-mat-color-outline-decorative, --gmp-mat-color-positive, --gmp-mat-color-primary, --gmp-mat-color-secondary-container, --gmp-mat-color-surface, --gmp-mat-font-body-medium, --gmp-mat-font-body-small, --gmp-mat-font-family, --gmp-mat-font-headline-medium, --gmp-mat-font-label-large, --gmp-mat-font-label-medium, --gmp-mat-font-title-small, --gmp-mat-spacing-extra-small, --gmp-mat-spacing-large, --gmp-mat-spacing-medium, --gmp-mat-spacing-small, --gmp-star-rating-color, --gmp-thumbnail-border-radius, background-color, border, border-radius, color-scheme, font-size

Metodi ereditati: addEventListener, removeEventListener

Eventi: gmp-error, gmp-load

Interfaccia PlaceDetailsCompactElementOptions

Proprietà: internalUsageAttributionIds, orientation, truncationPreferred

Costanti PlaceDetailsOrientation libreria "places"

Costanti: HORIZONTAL, VERTICAL

Classe PlaceDetailsPlaceRequestElement (tag: <gmp-place-details-place-request>) estende HTMLElement, implementa PlaceDetailsPlaceRequestElementOptions, libreria "places"

Proprietà: place (attributo: place)

Metodi ereditati: addEventListener, removeEventListener

Interfaccia PlaceDetailsPlaceRequestElementOptions

Proprietà: place

Classe PlaceDetailsLocationRequestElement (tag: <gmp-place-details-location-request>) estende HTMLElement, implementa PlaceDetailsLocationRequestElementOptions, libreria "places"

Proprietà: location (attributo: location)

Metodi ereditati: addEventListener, removeEventListener

Interfaccia PlaceDetailsLocationRequestElementOptions

Proprietà: location

Classe PlaceSearchElement (tag: <gmp-place-search>) estende HTMLElement, implementa PlaceSearchElementOptions, libreria "places"

Proprietà: attributionPosition (attributo: attribution-position), internalUsageAttributionIds (attributo: internal-usage-attribution-ids), orientation (attributo: orientation), places, selectable (attributo: selectable), truncationPreferred (attributo: truncation-preferred)

Proprietà CSS: --gmp-button-border-color, --gmp-button-border-radius, --gmp-button-border-width, --gmp-card-border-radius, --gmp-dialog-border-radius, --gmp-mat-color-info, --gmp-mat-color-negative, --gmp-mat-color-neutral-container, --gmp-mat-color-on-neutral-container, --gmp-mat-color-on-secondary-container, --gmp-mat-color-on-surface, --gmp-mat-color-on-surface-variant, --gmp-mat-color-outline-decorative, --gmp-mat-color-positive, --gmp-mat-color-primary, --gmp-mat-color-secondary-container, --gmp-mat-color-surface, --gmp-mat-font-body-small, --gmp-mat-font-family, --gmp-mat-font-headline-medium, --gmp-mat-font-label-large, --gmp-mat-font-title-medium, --gmp-mat-spacing-extra-small, --gmp-mat-spacing-large, --gmp-mat-spacing-medium, --gmp-mat-spacing-small, --gmp-star-rating-color, --gmp-thumbnail-border-radius, background-color, border, border-radius, color-scheme, font-size

Metodi ereditati: addEventListener, removeEventListener

Eventi: gmp-error, gmp-load, gmp-select

Interfaccia PlaceSearchElementOptions

Proprietà: attributionPosition, internalUsageAttributionIds, orientation, selectable, truncationPreferred

Costanti PlaceSearchAttributionPosition libreria "places"

Costanti: BOTTOM, TOP

Costanti PlaceSearchOrientation della libreria "places"

Costanti: HORIZONTAL, VERTICAL

Classe PlaceSelectEvent estende Event, libreria "places"

Proprietà: place

Classe PlaceNearbySearchRequestElement (tag: <gmp-place-nearby-search-request>) estende HTMLElement, implementa PlaceNearbySearchRequestElementOptions, libreria "places"

Proprietà: excludedPrimaryTypes (attributo: excluded-primary-types), excludedTypes (attributo: excluded-types), futureOpeningBusinessesIncluded, includedPrimaryTypes (attributo: included-primary-types), includedTypes (attributo: included-types), locationRestriction (attributo: location-restriction), maxResultCount (attributo: max-result-count), rankPreference (attributo: rank-preference)

Metodi ereditati: addEventListener, removeEventListener

Interfaccia PlaceNearbySearchRequestElementOptions

Proprietà: excludedPrimaryTypes, excludedTypes, futureOpeningBusinessesIncluded, includedPrimaryTypes, includedTypes, locationRestriction, maxResultCount, rankPreference

Classe PlaceTextSearchRequestElement (tag: <gmp-place-text-search-request>) estende HTMLElement, implementa PlaceTextSearchRequestElementOptions, libreria "places"

Proprietà: evConnectorTypes (attributo: ev-connector-types), evMinimumChargingRateKw (attributo: ev-minimum-charging-rate-kw), futureOpeningBusinessesIncluded, includedType (attributo: included-type), isOpenNow (attributo: is-open-now), locationBias (attributo: location-bias), locationRestriction (attributo: location-restriction), maxResultCount (attributo: max-result-count), minRating (attributo: min-rating), priceLevels (attributo: price-levels), rankPreference (attributo: rank-preference), textQuery (attributo: text-query), useStrictTypeFiltering (attributo: use-strict-type-filtering)

Metodi ereditati: addEventListener, removeEventListener

Interfaccia PlaceTextSearchRequestElementOptions

Proprietà: evConnectorTypes, evMinimumChargingRateKw, futureOpeningBusinessesIncluded, includedType, isOpenNow, locationBias, locationRestriction, maxResultCount, minRating, priceLevels, rankPreference, textQuery, useStrictTypeFiltering

Classe Autocomplete estende MVCObject, libreria "places"

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

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

Eventi: place_changed

Interfaccia AutocompleteOptions

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

Classe SearchBox estende MVCObject, libreria "places"

Metodi: getBounds, getPlaces, setBounds

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

Eventi: places_changed

Interfaccia SearchBoxOptions

Proprietà: bounds

AlphaClasse PlaceContextualElement (tag: <gmp-place-contextual>) estende HTMLElement, implementa PlaceContextualElementOptions, libreria "places"

Proprietà: contextToken (attributo: context-token)

Metodi ereditati: addEventListener, removeEventListener

AlphaInterfaccia PlaceContextualElementOptions

Proprietà: contextToken

AlphaClasse PlaceContextualListConfigElement (tag: <gmp-place-contextual-list-config>) estende HTMLElement, implementa PlaceContextualListConfigElementOptions,

Read the original on developers.google.com ↗