Google Maps JavaScript API v3 Reference

최종 업데이트: 2025년 5월 5일 월요일

Maps JavaScript API 버전 3.60의 모든 클래스, 메서드, 인터페이스의 색인입니다.

자세한 내용은 출시 노트버전 관리를 참고하세요.

자세한 문서를 보려면 항목 이름을 클릭하세요.

글로벌 개념

google.maps

google.maps 네임스페이스

정적 메서드: importLibrary

상수: version

설정

설정 클래스

정적 메서드: getInstance

속성: BetaexperienceIds, fetchAppCheckToken

MapsAppCheckTokenResult 인터페이스

이벤트 시스템

이벤트 클래스

정적 메서드: addListener, addListenerOnce, clearInstanceListeners, clearListeners, hasListeners, removeListener, trigger, addDomListener, addDomListenerOnce

MapsEventListener 인터페이스

메서드: remove

MVCObject 클래스

메서드: addListener, bindTo, get, notify, set, setValues, unbind, unbindAll

MVCArray 클래스

메서드: clear, forEach, getArray, getAt, getLength, insertAt, pop, push, removeAt, setAt

이벤트: insert_at, remove_at, set_at

ErrorEvent 인터페이스

속성: error

오류

MapsNetworkError 클래스

속성: code, endpoint

MapsRequestError 클래스
MapsServerError 클래스
MapsNetworkErrorEndpoint 상수

상수: 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

지도

지도

MapElement 클래스

속성: center, headingInteractionDisabled, innerMap, internalUsageAttributionIds, mapId, renderingType, tiltInteractionDisabled, zoom

메서드: BetaaddEventListener, BetaremoveEventListener

이벤트: gmp-zoomchange

베타MapElementOptions 인터페이스

속성: center, headingInteractionDisabled, internalUsageAttributionIds, mapId, renderingType, tiltInteractionDisabled, zoom

ZoomChangeEvent 클래스
지도 클래스

속성: controls, data, mapTypes, overlayMapTypes

메서드: 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

상수: DEMO_MAP_ID

이벤트: 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 인터페이스

속성: 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

MapTypeStyle 인터페이스

속성: elementType, featureType, stylers

MapMouseEvent 인터페이스

속성: domEvent, latLng

메서드: stop

IconMouseEvent 인터페이스

속성: placeId

ColorScheme 상수

상수: DARK, FOLLOW_SYSTEM, LIGHT

MapTypeId 상수

상수: HYBRID, ROADMAP, SATELLITE, TERRAIN

MapTypeRegistry 클래스

메서드: set

MapRestriction 인터페이스

속성: latLngBounds, strictBounds

TrafficLayer 클래스

메서드: getMap, setMap, setOptions

TrafficLayerOptions 인터페이스

속성: autoRefresh, map

TransitLayer 클래스

메서드: getMap, setMap

BicyclingLayer 클래스

메서드: getMap, setMap

베타CameraOptions 인터페이스

속성: center, heading, tilt, zoom

VisibleRegion 인터페이스

속성: farLeft, farRight, latLngBounds, nearLeft, nearRight

RenderingType 상수

상수: RASTER, UNINITIALIZED, VECTOR

MapCapabilities 인터페이스

속성: isAdvancedMarkersAvailable, isDataDrivenStylingAvailable, isWebGLOverlayViewAvailable

WebGL

WebGLOverlayView 클래스

메서드: getMap, onAdd, onContextLost, onContextRestored, onDraw, onRemove, onStateUpdate, requestRedraw, requestStateUpdate, setMap

WebGLDrawOptions 인터페이스

속성: gl, transformer

WebGLStateOptions 인터페이스

속성: gl

CoordinateTransformer 인터페이스

메서드: fromLatLngAltitude, getCameraParams

CameraParams 인터페이스

속성: center, heading, tilt, zoom

좌표

LatLng 클래스

메서드: equals, lat, lng, toJSON, toString, toUrlValue

LatLngLiteral 인터페이스

속성: lat, lng

LatLngBounds 클래스

메서드: contains, equals, extend, getCenter, getNorthEast, getSouthWest, intersects, isEmpty, toJSON, toSpan, toString, toUrlValue, union

상수: MAX_BOUNDS

LatLngBoundsLiteral 인터페이스

속성: east, north, south, west

LatLngAltitude 클래스

속성: altitude, lat, lng

메서드: equals, toJSON

LatLngAltitudeLiteral 인터페이스

속성: altitude, lat, lng

포인트 클래스

속성: x, y

메서드: equals, toString

크기 클래스

속성: height, width

메서드: equals, toString

패딩 인터페이스

속성: bottom, left, right, top

CircleLiteral 인터페이스

속성: center, radius

베타Orientation3D 클래스

속성: heading, roll, tilt

메서드: equals, toJSON

베타Orientation3DLiteral 인터페이스

속성: heading, roll, tilt

베타Vector3D 클래스

속성: x, y, z

메서드: equals, toJSON

베타Vector3DLiteral 인터페이스

속성: x, y, z

데이터 기반 스타일 지정

FeatureLayer 인터페이스

속성: BetadatasetId, featureType, isAvailable, style

메서드: addListener

이벤트: click, mousemove

FeatureType 상수

상수: ADMINISTRATIVE_AREA_LEVEL_1, ADMINISTRATIVE_AREA_LEVEL_2, COUNTRY, BetaDATASET, LOCALITY, POSTAL_CODE, SCHOOL_DISTRICT

FeatureStyleFunction typedef
FeatureStyleFunctionOptions 인터페이스

속성: feature

FeatureStyleOptions 인터페이스

속성: fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWeight

기능 인터페이스

속성: featureType

PlaceFeature 인터페이스

속성: placeId

메서드: fetchPlace

베타DatasetFeature 인터페이스

속성: datasetAttributes, datasetId

FeatureMouseEvent 인터페이스

속성: features

컨트롤

CameraControlOptions 인터페이스

속성: position

FullscreenControlOptions 인터페이스

속성: position

MapTypeControlOptions 인터페이스

속성: mapTypeIds, position, style

MapTypeControlStyle 상수

상수: DEFAULT, DROPDOWN_MENU, HORIZONTAL_BAR

MotionTrackingControlOptions 인터페이스

속성: position

PanControlOptions 인터페이스

속성: position

RotateControlOptions 인터페이스

속성: position

ScaleControlOptions 인터페이스

속성: style

ScaleControlStyle 상수

상수: DEFAULT

StreetViewControlOptions 인터페이스

속성: position, sources

ZoomControlOptions 인터페이스

속성: position

ControlPosition 상수

상수: 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

인코딩 클래스

정적 메서드: decodePath, encodePath

구형 클래스

정적 메서드: computeArea, computeDistanceBetween, computeHeading, computeLength, computeOffset, computeOffsetOrigin, computeSignedArea, interpolate

poly class

정적 메서드: containsLocation, isLocationOnEdge

지도에 그리기

고급 마커

AdvancedMarkerElement 클래스

속성: collisionBehavior, gmpClickable, gmpDraggable, map, position, title, zIndex, element, content

메서드: addEventListener, addListener, BetaremoveEventListener

이벤트: click, drag, dragend, dragstart, Betagmp-click

AdvancedMarkerElementOptions 인터페이스

속성: collisionBehavior, content, BetagmpClickable, gmpDraggable, map, position, title, zIndex

베타AdvancedMarkerClickEvent 클래스
PinElement 클래스

속성: background, borderColor, element, glyph, glyphColor, scale

메서드: BetaaddEventListener, BetaremoveEventListener

PinElementOptions 인터페이스

속성: background, borderColor, glyph, glyphColor, scale

정보 창

InfoWindow 클래스

속성: isOpen

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

이벤트: close, closeclick, content_changed, domready, headercontent_changed, headerdisabled_changed, position_changed, visible, zindex_changed

InfoWindowOptions 인터페이스

속성: ariaLabel, content, disableAutoPan, headerContent, headerDisabled, maxWidth, minWidth, pixelOffset, position, zIndex

InfoWindowOpenOptions 인터페이스

속성: anchor, map, shouldFocus

다각형

Polyline 클래스

메서드: getDraggable, getEditable, getMap, getPath, getVisible, setDraggable, setEditable, setMap, setOptions, setPath, setVisible

이벤트: click, contextmenu, dblclick, drag, dragend, dragstart, mousedown, mousemove, mouseout, mouseover, mouseup, rightclick

PolylineOptions 인터페이스

속성: clickable, draggable, editable, geodesic, icons, map,