Google Maps JavaScript API v3 Reference
Stay organized with collections
Save and categorize content based on your preferences.
Last updated Tuesday, September 01, 2026
This is an index of all the classes, methods, and interfaces in the Maps JavaScript API version 3.65 (quarterly channel).
For additional information see the Release Notes and Versioning.
Click the name of any item to see detailed documentation.
Global Concepts
google.maps
- google.maps namespace
-
Constants:
versionStatic Methods:
importLibrary
Settings
- Settings class library "core"
-
Static Methods:
getInstanceProperties:
experienceIds,fetchAppCheckToken - MapsAppCheckTokenResult interface
-
Properties:
token
Event system
- event namespace library "core"
-
Static Methods:
addListener,addListenerOnce,clearInstanceListeners,clearListeners,hasListeners,removeListener,trigger,,addDomListeneraddDomListenerOnce - MapsEventListener interface
-
Methods:
remove - MVCObject class library "core"
-
Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAll - MVCArray class extends MVCObject, library "core"
-
Methods:
clear,forEach,getArray,getAt,getLength,insertAt,pop,push,removeAt,setAtInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAll - ErrorEvent interface
-
Properties:
error
Errors
- MapsNetworkError class extends Error, library "core"
- MapsRequestError class extends MapsNetworkError, Error, library "core"
- MapsServerError class extends MapsNetworkError, Error, library "core"
- MapsNetworkErrorEndpoint constants library "core"
-
Constants:
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 - RPCStatus constants library "core"
-
Constants:
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
Maps
- MapElement class (tag:
<gmp-map>) extends HTMLElement, implements MapElementOptions, library "maps" -
Properties:
center(attr:center),headingInteractionDisabled(attr:heading-interaction-disabled),innerMap,internalUsageAttributionIds(attr:internal-usage-attribution-ids),mapId(attr:map-id),renderingType(attr:rendering-type),tiltInteractionDisabled(attr:tilt-interaction-disabled),zoom(attr:zoom)Slots:
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,defaultInherited Methods:
addEventListener,removeEventListenerEvents:
gmp-zoomchange - MapElementOptions interface
-
Properties:
center,headingInteractionDisabled,internalUsageAttributionIds,mapId,renderingType,tiltInteractionDisabled,zoom - ZoomChangeEvent class extends Event, library "maps"
- Map class extends MVCObject, library "maps"
-
Constants:
DEMO_MAP_IDProperties:
controls,data,mapTypes,overlayMapTypesMethods:
fitBounds,getBounds,getCenter,getClickableIcons,getDatasetFeatureLayer,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,setZoomInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAllEvents:
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 - MapOptions interface
-
Properties:
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,panControlpanControlOptions - MapTypeStyle interface
-
Properties:
elementType,featureType,stylers - MapMouseEvent interface
-
Methods:
stop - IconMouseEvent interface extends MapMouseEvent
-
Properties:
placeIdInherited Properties:
domEvent,latLngInherited Methods:
stop - ColorScheme constants library "core"
-
Constants:
DARK,FOLLOW_SYSTEM,LIGHT - MapTypeId constants library "maps"
- MapTypeRegistry class extends MVCObject, library "maps"
-
Methods:
setInherited Methods:
addListener,bindTo,get,notify,setValues,unbind,unbindAll - MapRestriction interface
-
Properties:
latLngBounds,strictBounds - TrafficLayer class extends MVCObject, library "maps"
-
Methods:
getMap,setMap,setOptionsInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAll - TrafficLayerOptions interface
-
Properties:
autoRefresh,map - TransitLayer class extends MVCObject, library "maps"
-
Inherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAll - BicyclingLayer class extends MVCObject, library "maps"
-
Inherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAll - CameraOptions interface
- VisibleRegion interface
-
Properties:
farLeft,farRight,latLngBounds,nearLeft,nearRight - RenderingType constants library "maps"
-
Constants:
RASTER,UNINITIALIZED,VECTOR - MapCapabilities interface
-
Properties:
isAdvancedMarkersAvailable,isDataDrivenStylingAvailable,isWebGLOverlayViewAvailable
WebGL
- WebGLOverlayView class extends MVCObject, library "maps"
-
Methods:
getMap,onAdd,onContextLost,onContextRestored,onDraw,onRemove,onStateUpdate,requestRedraw,requestStateUpdate,setMapInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAll - WebGLDrawOptions interface
-
Properties:
gl,transformer - WebGLStateOptions interface
-
Properties:
gl - CoordinateTransformer interface
-
Methods:
fromLatLngAltitude,getCameraParams - CameraParams interface extends CameraOptions
Coordinates
- LatLng class library "core"
- LatLngLiteral interface
- LatLngBounds class library "core"
-
Constants:
MAX_BOUNDSMethods:
contains,equals,extend,getCenter,getNorthEast,getSouthWest,intersects,isEmpty,toJSON,toSpan,toString,toUrlValue,union - LatLngBoundsLiteral interface
- LatLngAltitude class implements LatLngAltitudeLiteral, LatLngLiteral, library "core"
- LatLngAltitudeLiteral interface extends LatLngLiteral
- Point class library "core"
- Size class library "core"
- Padding interface
- CircleLiteral interface extends CircleOptions
-
Inherited Properties:
clickable,draggable,editable,fillColor,fillOpacity,map,strokeColor,strokeOpacity,strokePosition,strokeWeight,visible,zIndex - Orientation3D class implements Orientation3DLiteral, library "core"
- Orientation3DLiteral interface
- Vector3D class implements Vector3DLiteral, library "core"
- Vector3DLiteral interface
Data-driven styling
- FeatureLayer interface
-
Properties:
datasetId,featureType,isAvailable,styleMethods:
addListener - FeatureType constants library "maps"
-
Constants:
ADMINISTRATIVE_AREA_LEVEL_1,ADMINISTRATIVE_AREA_LEVEL_2,COUNTRY,DATASET,LOCALITY,POSTAL_CODE,SCHOOL_DISTRICT - FeatureStyleFunction typedef
- FeatureStyleFunctionOptions interface
-
Properties:
feature - FeatureStyleOptions interface
-
Properties:
fillColor,fillOpacity,strokeColor,strokeOpacity,strokeWeight - Feature interface
-
Properties:
featureType - PlaceFeature interface extends Feature
-
Properties:
placeIdInherited Properties:
featureTypeMethods:
fetchPlace - DatasetFeature interface extends Feature
-
Properties:
datasetAttributes,datasetIdInherited Properties:
featureType - FeatureMouseEvent interface extends MapMouseEvent
-
Properties:
featuresInherited Properties:
domEvent,latLngInherited Methods:
stop
Controls
- CameraControlOptions interface
-
Properties:
position - FullscreenControlOptions interface
-
Properties:
position - MapTypeControlOptions interface
-
Properties:
mapTypeIds,position,style - MapTypeControlStyle constants library "maps"
-
Constants:
DEFAULT,DROPDOWN_MENU,HORIZONTAL_BAR - MotionTrackingControlOptions interface
-
Properties:
position - PanControlOptions interface
-
Properties:
position - RotateControlOptions interface
-
Properties:
position - ScaleControlOptions interface
-
Properties:
style - ScaleControlStyle constants
-
Constants:
DEFAULT - StreetViewControlOptions interface
- ZoomControlOptions interface
-
Properties:
position - ControlPosition constants library "core"
-
Constants:
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
Geometry Library
- encoding namespace library "geometry"
-
Static Methods:
decodePath,encodePath - spherical namespace library "geometry"
-
Static Methods:
computeArea,computeDistanceBetween,computeHeading,computeLength,computeOffset,computeOffsetOrigin,computeSignedArea,interpolate,traversePath - poly namespace library "geometry"
-
Static Methods:
containsLocation,isLocationOnEdge
Draw on the map
Advanced Markers
- AdvancedMarkerElement class (tag:
<gmp-advanced-marker>) extends HTMLElement, implements AdvancedMarkerElementOptions, library "marker" -
Properties:
anchorLeft(attr:anchor-left),anchorTop(attr:anchor-top),collisionBehavior,gmpClickable(attr:gmp-clickable),gmpDraggable,map,position(attr:position),title(attr:title),zIndex,,elementcontentMethods:
addListenerInherited Methods:
addEventListener,removeEventListenerEvents:
gmp-click,gmp-drag,gmp-dragend,gmp-dragstart,,click,dragstart,dragdragend - AdvancedMarkerElementOptions interface
-
Properties:
anchorLeft,anchorTop,collisionBehavior,content,gmpClickable,gmpDraggable,map,position,title,zIndex - AdvancedMarkerClickEvent class extends Event, library "marker"
- PinElement class extends HTMLElement, implements PinElementOptions, library "marker"
-
Properties:
background,borderColor,glyphColor,glyphSrc,glyphText,scale,,elementglyphInherited Methods:
addEventListener,removeEventListener - PinElementOptions interface
-
Properties:
background,borderColor,glyphColor,glyphSrc,glyphText,scale,glyph
Info Window
- InfoWindow class extends MVCObject, library "maps", "streetView"
-
Properties:
isOpenMethods:
close,focus,getContent,getHeaderContent,getHeaderDisabled,getPosition,getZIndex,open,setContent,setHeaderContent,setHeaderDisabled,setOptions,setPosition,setZIndexInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAllEvents:
close,closeclick,content_changed,domready,headercontent_changed,headerdisabled_changed,position_changed,visible,zindex_changed - InfoWindowOptions interface
-
Properties:
ariaLabel,content,disableAutoPan,headerContent,headerDisabled,maxWidth,minWidth,pixelOffset,position,zIndex - InfoWindowOpenOptions interface
-
Properties:
anchor,map,shouldFocus
Polygons
- Polyline class extends MVCObject, library "maps"
-
Methods:
getDraggable,getEditable,getMap,getPath,getVisible,setDraggable,setEditable,setMap,setOptions,setPath,setVisibleInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAllEvents:
click,contextmenu,dblclick,drag,dragend,dragstart,mousedown,mousemove,mouseout,mouseover,mouseup,rightclick - PolylineOptions interface
-
Properties:
clickable,draggable,editable,geodesic,icons,map,path,strokeColor,strokeOpacity,strokeWeight,visible,zIndex - IconSequence interface
-
Properties:
fixedRotation,icon,offset,repeat - Polygon class extends MVCObject, library "maps"
-
Methods:
getDraggable,getEditable,getMap,getPath,getPaths,getVisible,setDraggable,setEditable,setMap,setOptions,setPath,setPaths,setVisibleInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAllEvents:
click,contextmenu,dblclick,drag,dragend,dragstart,mousedown,mousemove,mouseout,mouseover,mouseup,rightclick - PolygonOptions interface
-
Properties:
clickable,draggable,editable,fillColor,fillOpacity,geodesic,map,paths,strokeColor,strokeOpacity,strokePosition,strokeWeight,visible,zIndex - PolyMouseEvent interface extends MapMouseEvent
-
Properties:
edge,path,vertexInherited Properties:
domEvent,latLngInherited Methods:
stop - Rectangle class extends MVCObject, library "maps"
-
Methods:
getBounds,getDraggable,getEditable,getMap,getVisible,setBounds,setDraggable,setEditable,setMap,setOptions,setVisibleInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAllEvents:
bounds_changed,click,contextmenu,dblclick,drag,dragend,dragstart,mousedown,mousemove,mouseout,mouseover,mouseup,rightclick - RectangleOptions interface
-
Properties:
bounds,clickable,draggable,editable,fillColor,fillOpacity,map,strokeColor,strokeOpacity,strokePosition,strokeWeight,visible,zIndex - Circle class extends MVCObject, library "maps"
-
Methods:
getBounds,getCenter,getDraggable,getEditable,getMap,getRadius,getVisible,setCenter,setDraggable,setEditable,setMap,setOptions,setRadius,setVisibleInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAllEvents:
center_changed,click,dblclick,drag,dragend,dragstart,mousedown,mousemove,mouseout,mouseover,mouseup,radius_changed,rightclick - CircleOptions interface
-
Properties:
center,clickable,draggable,editable,fillColor,fillOpacity,map,radius,strokeColor,strokeOpacity,strokePosition,strokeWeight,visible,zIndex - StrokePosition constants library "maps"
Data
- Data class extends MVCObject, library "maps"
-
Methods:
add,addGeoJson,contains,forEach,getControlPosition,getControls,getDrawingMode,getFeatureById,getMap,getStyle,loadGeoJson,overrideStyle,remove,revertStyle,setControlPosition,setControls,setDrawingMode,setMap,setStyle,toGeoJsonInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAllEvents:
addfeature,click,contextmenu,dblclick,mousedown,mouseout,mouseover,mouseup,removefeature,removeproperty,setgeometry,setproperty,rightclick - Data.DataOptions interface
-
Properties:
controlPosition,controls,drawingMode,featureFactory,map,style - Data.GeoJsonOptions interface
-
Properties:
idPropertyName - Data.StyleOptions interface
-
Properties:
animation,clickable,cursor,draggable,editable,fillColor,fillOpacity,icon,icons,label,opacity,shape,strokeColor,strokeOpacity,strokeWeight,title,visible,zIndex - Data.StylingFunction typedef
- Data.Feature class library "maps"
-
Methods:
forEachProperty,getGeometry,getId,getProperty,removeProperty,setGeometry,setProperty,toGeoJsonEvents:
removeproperty,setgeometry,setproperty - Data.FeatureOptions interface
-
Properties:
geometry,id,properties - Data.Geometry interface
-
Methods:
forEachLatLng,getType - Data.Point class implements Data.Geometry, library "maps"
-
Methods:
forEachLatLng,get,getType - Data.MultiPoint class implements Data.Geometry, library "maps"
-
Methods:
forEachLatLng,getArray,getAt,getLength,getType - Data.LineString class implements Data.Geometry, library "maps"
-
Methods:
forEachLatLng,getArray,getAt,getLength,getType - Data.MultiLineString class implements Data.Geometry, library "maps"
-
Methods:
forEachLatLng,getArray,getAt,getLength,getType - Data.LinearRing class implements Data.Geometry, library "maps"
-
Methods:
forEachLatLng,getArray,getAt,getLength,getType - Data.Polygon class implements Data.Geometry, library "maps"
-
Methods:
forEachLatLng,getArray,getAt,getLength,getType - Data.MultiPolygon class implements Data.Geometry, library "maps"
-
Methods:
forEachLatLng,getArray,getAt,getLength,getType - Data.GeometryCollection class implements Data.Geometry, library "maps"
-
Methods:
forEachLatLng,getArray,getAt,getLength,getType - Data.MouseEvent interface extends MapMouseEvent
-
Properties:
featureInherited Properties:
domEvent,latLngInherited Methods:
stop - Data.AddFeatureEvent interface
-
Properties:
feature - Data.RemoveFeatureEvent interface
-
Properties:
feature - Data.SetGeometryEvent interface
-
Properties:
feature,newGeometry,oldGeometry - Data.SetPropertyEvent interface
- Data.RemovePropertyEvent interface
DOM elements
- OverlayView class extends MVCObject, library "maps", "streetView"
-
Static Methods:
preventMapHitsAndGesturesFrom,preventMapHitsFromMethods:
draw,getMap,getPanes,getProjection,onAdd,onRemove,setMapInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAll - MapPanes interface
-
Properties:
floatPane,mapPane,markerLayer,overlayLayer,overlayMouseTarget - MapCanvasProjection interface
-
Methods:
fromContainerPixelToLatLng,fromDivPixelToLatLng,fromLatLngToContainerPixel,fromLatLngToDivPixel,getVisibleRegion,getWorldWidth
KML
KmlLayer classextends MVCObject, library "maps"-
Methods:
getDefaultViewport,getMap,getMetadata,getStatus,getUrl,getZIndex,setMap,setOptions,setUrl,setZIndexInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAllEvents:
click,defaultviewport_changed,status_changed - KmlLayerOptions interface
-
Properties:
clickable,map,preserveViewport,screenOverlays,suppressInfoWindows,url,zIndex - KmlLayerMetadata interface
-
Properties:
author,description,hasScreenOverlays,name,snippet - KmlLayerStatus constants library "maps"
-
Constants:
DOCUMENT_NOT_FOUND,DOCUMENT_TOO_LARGE,FETCH_ERROR,INVALID_DOCUMENT,INVALID_REQUEST,LIMITS_EXCEEDED,OK,TIMED_OUT,UNKNOWN - KmlMouseEvent interface
-
Properties:
featureData,latLng,pixelOffset - KmlFeatureData interface
-
Properties:
author,description,id,infoWindowHtml,name,snippet - KmlAuthor interface
Image overlays
- MapType interface
-
Properties:
alt,maxZoom,minZoom,name,projection,radius,tileSizeMethods:
getTile,releaseTile - Projection interface
-
Methods:
fromLatLngToPoint,fromPointToLatLng - ImageMapType class extends MVCObject, implements MapType, library "maps"
-
Properties:
alt,maxZoom,minZoom,name,projection,radius,tileSizeMethods:
getOpacity,getTile,releaseTile,setOpacityInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAllEvents:
tilesloaded - ImageMapTypeOptions interface
-
Properties:
alt,getTileUrl,maxZoom,minZoom,name,opacity,tileSize - GroundOverlay class extends MVCObject, library "maps"
-
Methods:
getBounds,getMap,getOpacity,getUrl,setMap,setOpacityInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAll - GroundOverlayOptions interface
- StyledMapType class extends MVCObject, implements MapType, library "maps"
-
Properties:
alt,maxZoom,minZoom,name,projection,radius,tileSizeMethods:
getTile,releaseTileInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAll - StyledMapTypeOptions interface
Drawing Library
DrawingManager classextends MVCObject, library "drawing"-
Inherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAll - OverlayType constants library "drawing"
Max Zoom
- MaxZoomService class library "maps"
-
Methods:
getMaxZoomAtLatLng - MaxZoomResult interface
- MaxZoomStatus constants library "maps"
Marker (deprecated)
Marker classextends MVCObject, library "marker"-
Constants:
MAX_ZINDEXMethods:
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,setZIndexInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAllEvents:
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 MarkerOptions interface-
Properties:
anchorPoint,animation,clickable,crossOnDrag,cursor,draggable,icon,label,map,opacity,optimized,position,shape,title,visible,zIndex,collisionBehavior - CollisionBehavior constants library "marker"
-
Constants:
OPTIONAL_AND_HIDES_LOWER_PRIORITY,REQUIRED,REQUIRED_AND_HIDES_OPTIONAL - Icon interface
-
Properties:
anchor,labelOrigin,origin,scaledSize,size,url - MarkerLabel interface
-
Properties:
className,color,fontFamily,fontSize,fontWeight,text - MarkerShape interface
- Symbol interface
-
Properties:
anchor,fillColor,fillOpacity,labelOrigin,path,rotation,scale,strokeColor,strokeOpacity,strokeWeight - SymbolPath constants library "core"
-
Constants:
BACKWARD_CLOSED_ARROW,BACKWARD_OPEN_ARROW,CIRCLE,FORWARD_CLOSED_ARROW,FORWARD_OPEN_ARROW - Animation constants library "marker"
Heatmaps (deprecated)
HeatmapLayer classlibrary "visualization"
Street View
Rendering
- StreetViewPanorama class extends MVCObject, library "streetView"
-
Properties:
controlsMethods:
focus,getLinks,getLocation,getMotionTracking,getPano,getPhotographerPov,getPosition,getPov,getStatus,getVisible,getZoom,registerPanoProvider,setLinks,setMotionTracking,setOptions,setPano,setPosition,setPov,setVisible,setZoomInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAllEvents:
closeclick,pano_changed,position_changed,pov_changed,resize,status_changed,visible_changed,zoom_changed - StreetViewPanoramaOptions interface
-
Properties:
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 - StreetViewAddressControlOptions interface
-
Properties:
position - PanoProviderOptions interface
-
Properties:
cors - StreetViewTileData interface
-
Properties:
centerHeading,tileSize,worldSizeMethods:
getTileUrl - StreetViewPov interface
- StreetViewCoverageLayer class extends MVCObject, library "streetView"
-
Inherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAll
Service
- StreetViewService class library "streetView"
-
Methods:
getPanorama - StreetViewStatus constants library "streetView"
-
Constants:
OK,UNKNOWN_ERROR,ZERO_RESULTS - StreetViewLocationRequest interface
-
Properties:
location,preference,radius,sources,source - StreetViewPanoRequest interface
-
Properties:
pano - StreetViewResponse interface
-
Properties:
data - StreetViewLocation interface
-
Properties:
description,latLng,pano,shortDescription - StreetViewPreference constants library "streetView"
- StreetViewSource constants library "streetView"
- StreetViewPanoramaData interface
- StreetViewLink interface
-
Properties:
description,heading,pano
Places
Places Widgets
- PlaceAutocompleteElement class (tag:
<gmp-place-autocomplete>) extends HTMLElement, implements PlaceAutocompleteElementOptions, library "places" -
Properties:
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),valueSlots:
clear-icon,input-icon,prediction-item-iconParts:
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-listCSS Properties:
background-color,border,border-radius,color,color-scheme,font,font-family,font-size,font-style,font-weight,line-heightInherited Methods:
addEventListener,removeEventListenerEvents:
gmp-error,gmp-select - PlaceAutocompleteElementOptions interface
-
Properties:
description,disabled,futureOpeningBusinessesIncluded,includedPrimaryTypes,includedRegionCodes,internalUsageAttributionIds,locationBias,locationRestriction,maxlength,name,noClearButton,noInputIcon,origin,placeholder,pureServiceAreaBusinessesIncluded,readonly,requestedLanguage,requestedRegion,unitSystem,value - PlacePredictionSelectEvent class extends Event, library "places"
-
Properties:
placePrediction - BasicPlaceAutocompleteElement class (tag:
<gmp-basic-place-autocomplete>) extends HTMLElement, implements BasicPlaceAutocompleteElementOptions, library "places" -
Properties:
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)Slots:
clear-icon,input-icon,prediction-item-iconParts:
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-listCSS Properties:
background-color,border,border-radius,color,color-scheme,font,font-family,font-size,font-style,font-weight,line-heightInherited Methods:
addEventListener,removeEventListenerEvents:
gmp-error,gmp-select - BasicPlaceAutocompleteElementOptions interface
-
Properties:
description,disabled,futureOpeningBusinessesIncluded,includedPrimaryTypes,includedRegionCodes,internalUsageAttributionIds,locationBias,locationRestriction,maxlength,name,noClearButton,noInputIcon,origin,placeholder,pureServiceAreaBusinessesIncluded,readonly,requestedLanguage,requestedRegion,unitSystem - PlaceDetailsElement class (tag:
<gmp-place-details>) extends HTMLElement, implements PlaceDetailsElementOptions, library "places" -
Properties:
internalUsageAttributionIds(attr:internal-usage-attribution-ids),placeCSS Properties:
--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-sizeInherited Methods:
addEventListener,removeEventListener - PlaceDetailsElementOptions interface
-
Properties:
internalUsageAttributionIds - PlaceDetailsCompactElement class (tag:
<gmp-place-details-compact>) extends HTMLElement, implements PlaceDetailsCompactElementOptions, library "places" -
Properties:
internalUsageAttributionIds(attr:internal-usage-attribution-ids),orientation(attr:orientation),place,truncationPreferred(attr:truncation-preferred)CSS Properties:
--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-sizeInherited Methods:
addEventListener,removeEventListener - PlaceDetailsCompactElementOptions interface
-
Properties:
internalUsageAttributionIds,orientation,truncationPreferred - AdvancedPlaceDetailsElement class (tag:
<gmp-advanced-place-details>) extends PlaceDetailsElement, HTMLElement, implements AdvancedPlaceDetailsElementOptions, PlaceDetailsElementOptions, library "places" -
Properties:
internalUsageAttributionIds(attr:internal-usage-attribution-ids),placeSlots:
action-corner,action-mainInherited CSS Properties:
--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-sizeInherited Methods:
addEventListener,removeEventListener - AdvancedPlaceDetailsElementOptions interface extends PlaceDetailsElementOptions
-
Properties:
internalUsageAttributionIds - AdvancedPlaceDetailsCompactElement class (tag:
<gmp-advanced-place-details-compact>) extends PlaceDetailsCompactElement, HTMLElement, implements AdvancedPlaceDetailsCompactElementOptions, PlaceDetailsCompactElementOptions, library "places" -
Properties:
internalUsageAttributionIds(attr:internal-usage-attribution-ids),placeInherited Properties:
orientation(attr:orientation),truncationPreferred(attr:truncation-preferred)Slots:
action-corner,action-mainInherited CSS Properties:
--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-sizeInherited Methods:
addEventListener,removeEventListener - AdvancedPlaceDetailsCompactElementOptions interface extends PlaceDetailsCompactElementOptions
-
Properties:
internalUsageAttributionIdsInherited Properties:
orientation,truncationPreferred - PlaceDetailsOrientation constants library "places"
-
Constants:
HORIZONTAL,VERTICAL - PlaceDetailsPlaceRequestElement class (tag:
<gmp-place-details-place-request>) extends HTMLElement, implements PlaceDetailsPlaceRequestElementOptions, library "places" -
Properties:
place(attr:place)Inherited Methods:
addEventListener,removeEventListener - PlaceDetailsPlaceRequestElementOptions interface
-
Properties:
place - PlaceDetailsLocationRequestElement class (tag:
<gmp-place-details-location-request>) extends HTMLElement, implements PlaceDetailsLocationRequestElementOptions, library "places" -
Properties:
location(attr:location)Inherited Methods:
addEventListener,removeEventListener - PlaceDetailsLocationRequestElementOptions interface
-
Properties:
location - PlaceSearchElement class (tag:
<gmp-place-search>) extends HTMLElement, implements PlaceSearchElementOptions, library "places" -
Properties:
attributionPosition(attr:attribution-position),internalUsageAttributionIds(attr:internal-usage-attribution-ids),orientation(attr:orientation),places,selectable(attr:selectable),truncationPreferred(attr:truncation-preferred)CSS Properties:
--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-sizeInherited Methods:
addEventListener,removeEventListenerEvents:
gmp-error,gmp-load,gmp-select - PlaceSearchElementOptions interface
-
Properties:
attributionPosition,internalUsageAttributionIds,orientation,selectable,truncationPreferred - AdvancedPlaceSearchElement class (tag:
<gmp-advanced-place-search>) extends PlaceSearchElement, HTMLElement, implements AdvancedPlaceSearchElementOptions, PlaceSearchElementOptions, library "places" -
Properties:
attributionPosition(attr:attribution-position),internalUsageAttributionIds(attr:internal-usage-attribution-ids),orientation(attr:orientation),selectable(attr:selectable),truncationPreferred(attr:truncation-preferred)Inherited Properties:
placesSlots:
details-itemCSS Properties:
--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-sizeInherited Methods:
addEventListener,removeEventListenerEvents:
gmp-error,gmp-load,gmp-select - AdvancedPlaceSearchElementOptions interface extends PlaceSearchElementOptions
-
Properties:
attributionPosition,internalUsageAttributionIds,orientation,selectable,truncationPreferred - AdvancedPlaceListElement class (tag:
<gmp-advanced-place-list>) extends HTMLElement, implements AdvancedPlaceListElementOptions, library "places" -
Properties:
attributionPosition(attr:attribution-position),internalUsageAttributionIds(attr:internal-usage-attribution-ids),orientation(attr:orientation),places(attr:places),selectable(attr:selectable),truncationPreferred(attr:truncation-preferred)Slots:
details-itemCSS Properties:
--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-sizeInherited Methods:
addEventListener,removeEventListenerEvents:
gmp-error,gmp-load,gmp-select - AdvancedPlaceListElementOptions interface
-
Properties:
attributionPosition,internalUsageAttributionIds,orientation,places,selectable,truncationPreferred - PlaceSearchAttributionPosition constants library "places"
- PlaceSearchOrientation constants library "places"
-
Constants:
HORIZONTAL,VERTICAL - PlaceSelectEvent class extends Event, library "places"
-
Properties:
place - PlaceNearbySearchRequestElement class (tag:
<gmp-place-nearby-search-request>) extends HTMLElement, implements PlaceNearbySearchRequestElementOptions, library "places" -
Properties:
excludedPrimaryTypes(attr:excluded-primary-types),excludedTypes(attr:excluded-types),futureOpeningBusinessesIncluded,includedPrimaryTypes(attr:included-primary-types),includedTypes(attr:included-types),locationRestriction(attr:location-restriction),maxResultCount(attr:max-result-count),rankPreference(attr:rank-preference)Inherited Methods:
addEventListener,removeEventListener - PlaceNearbySearchRequestElementOptions interface
-
Properties:
excludedPrimaryTypes,excludedTypes,futureOpeningBusinessesIncluded,includedPrimaryTypes,includedTypes,locationRestriction,maxResultCount,rankPreference - PlaceTextSearchRequestElement class (tag:
<gmp-place-text-search-request>) extends HTMLElement, implements PlaceTextSearchRequestElementOptions, library "places" -
Properties:
evConnectorTypes(attr:ev-connector-types),evMinimumChargingRateKw(attr:ev-minimum-charging-rate-kw),futureOpeningBusinessesIncluded,includedType(attr:included-type),isOpenNow(attr:is-open-now),locationBias(attr:location-bias),locationRestriction(attr:location-restriction),maxResultCount(attr:max-result-count),minRating(attr:min-rating),priceLevels(attr:price-levels),rankPreference(attr:rank-preference),textQuery(attr:text-query),useStrictTypeFiltering(attr:use-strict-type-filtering)Inherited Methods:
addEventListener,removeEventListener - PlaceTextSearchRequestElementOptions interface
-
Properties:
evConnectorTypes,evMinimumChargingRateKw,futureOpeningBusinessesIncluded,includedType,isOpenNow,locationBias,locationRestriction,maxResultCount,minRating,priceLevels,rankPreference,textQuery,useStrictTypeFiltering Autocomplete classextends MVCObject, library "places"-
Methods:
getBounds,getFields,getPlace,setBounds,setComponentRestrictions,setFields,setOptions,setTypesInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAllEvents:
place_changed - AutocompleteOptions interface
-
Properties:
bounds,componentRestrictions,fields,strictBounds,types,placeIdOnly SearchBox classextends MVCObject, library "places"-
Methods:
getBounds,getPlaces,setBoundsInherited Methods:
addListener,bindTo,get,notify,set,setValues,unbind,unbindAllEvents:
places_changed - SearchBoxOptions interface
-
Properties:
bounds - PlaceContextualElement class (tag:
<gmp-place-contextual>) extends HTMLElement, implements PlaceContextualElementOptions, library "places" -
Properties:
contextToken(attr:context-token)Inherited Methods:
addEventListener,removeEventListener - PlaceContextualElementOptions interface
-
Properties:
contextToken - PlaceContextualListConfigElement class (tag:
<gmp-place-contextual-list-config>) extends HTMLElement, implements PlaceContextualListConfigElementOptions, library "places" -
Properties:
layout(attr:layout),mapHidden(attr:map-hidden)Inherited Methods:
addEventListener,removeEventListener - PlaceContextualListConfigElementOptions interface
- PlaceContextualListLayout constants library "places"
Place Widget Content Customization
- PlaceContentConfigElement class (tag:
<gmp-place-content-config>) extends HTMLElement, implements PlaceContentConfigElementOptions, library "places" -
Inherited Methods:
addEventListener,removeEventListener - PlaceContentConfigElementOptions interface
[Page truncated to keep GeezerVison snappy.]