Google Maps JavaScript API v3 Reference

آخرین به‌روزرسانی چهارشنبه، ۲۵ مارس ۲۰۲۶

این فهرستی از تمام کلاس‌ها، متدها و رابط‌های کاربری موجود در API جاوا اسکریپت Maps نسخه ۳.۶۴ (کانال هفتگی) است. این مرجع با آخرین تغییرات API به‌روز نگه داشته می‌شود.

برای اطلاعات بیشتر به یادداشت‌های انتشار و نسخه‌بندی مراجعه کنید.
همچنین به مستندات مرجع برای نسخه ۳.۶۳ (کانال سه ماهه)، نسخه ۳.۶۲ و نسخه ۳.۶۱ مراجعه کنید.

برای مشاهده مستندات دقیق، روی نام هر مورد کلیک کنید.

مفاهیم جهانی

گوگل مپ

فضای نام google.maps

متدهای استاتیک: importLibrary

ثابت‌ها: version

تنظیمات

کلاس تنظیمات

متدهای استاتیک: getInstance

خواص: Beta experienceIds ، fetchAppCheckToken

رابط MapsAppCheckTokenResult

سیستم رویداد

فضای نام رویداد

متدهای استاتیک: addListener ، addListenerOnce ، clearInstanceListeners ، clearListeners ، hasListeners ، removeListener ، trigger ، addDomListener ، addDomListenerOnce

رابط MapsEventListener

روش‌ها: remove

کلاس شیء MVCO

متدها: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

کلاس MVCArray از MVCObject ارث بری می‌کند.

متدها: clear ، forEach ، getArray ، getAt ، getLength ، insertAt ، pop ، push ، removeAt ، setAt

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رویدادها: insert_at ، remove_at ، set_at

رابط رویداد خطا

ویژگی‌ها: error

خطاها

کلاس MapsNetworkError از Error ارث‌بری می‌کند.

ویژگی‌ها: code ، endpoint

کلاس MapsRequestError از MapsNetworkError ارث بری می‌کند.

ویژگی‌های ارث‌بری‌شده: code ، endpoint

کلاس MapsServerError از MapsNetworkError ارث بری می‌کند.

ویژگی‌های ارث‌بری‌شده: code ، endpoint

ثابت‌های 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

ثابت‌های وضعیت RPC

ثابت‌ها: 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

نقشه‌ها

نقشه‌ها

کلاس MapElement از HTMLElement ارث‌بری می‌کند و MapElementOptions را پیاده‌سازی می‌کند.

ویژگی‌ها: center ، headingInteractionDisabled ، innerMap ، internalUsageAttributionIds ، mapId ، renderingType ، tiltInteractionDisabled ، zoom

متدهای ارث‌بری شده: addEventListener ، removeEventListener

رویدادها: gmp-zoomchange

رابط MapElementOptions

ویژگی‌ها: center ، headingInteractionDisabled ، internalUsageAttributionIds ، mapId ، renderingType ، tiltInteractionDisabled ، zoom

کلاس ZoomChangeEvent از رویداد ارث‌بری می‌کند.
کلاس Map از MVCObject ارث بری می‌کند.

ویژگی‌ها: controls ، data ، mapTypes ، overlayMapTypes

متدها: fitBounds ، getBounds ، getCenter ، getClickableIcons ، Beta 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 ، setZoom

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

ثابت‌ها: 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 از MapMouseEvent ارث بری می‌کند.

ویژگی‌ها: placeId

ویژگی‌های ارث‌بری‌شده: domEvent ، latLng

متدهای ارثی: stop

ثابت‌های ColorScheme

ثابت‌ها: DARK ، FOLLOW_SYSTEM ، LIGHT

ثابت‌های MapTypeId

ثابت‌ها: HYBRID ، ROADMAP ، SATELLITE ، TERRAIN

کلاس MapTypeRegistry از MVCObject ارث بری می‌کند.

روش‌ها: set

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، setValues ، unbind ، unbindAll

رابط MapRestriction

ویژگی‌ها: latLngBounds ، strictBounds

کلاس TrafficLayer از MVCObject ارث بری می‌کند.

متدها: getMap ، setMap ، setOptions

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رابط کاربری TrafficLayerOptions

ویژگی‌ها: autoRefresh ، map

کلاس TransitLayer از MVCObject ارث بری می‌کند.

متدها: getMap ، setMap

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

کلاس BicyclingLayer از MVCObject ارث بری می‌کند.

متدها: getMap ، setMap

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

Beta رابط کاربری CameraOptions

ویژگی‌ها: center ، heading ، tilt ، zoom

رابط کاربری VisibleRegion

ویژگی‌ها: farLeft ، farRight ، latLngBounds ، nearLeft ، nearRight

ثابت‌های نوع رندرینگ

ثابت‌ها: RASTER ، UNINITIALIZED ، VECTOR

رابط MapCapabilities

ویژگی‌ها: isAdvancedMarkersAvailable ، isDataDrivenStylingAvailable ، isWebGLOverlayViewAvailable

وب‌جی‌ال

کلاس WebGLOverlayView از MVCObject ارث بری می‌کند.

روش ها: getMap ، onAdd ، onContextLost ، onContextRestored ، onDraw ، onRemove ، onStateUpdate ، requestRedraw ، requestStateUpdate ، setMap

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رابط کاربری WebGLDrawOptions

خواص: gl ، transformer

رابط کاربری WebGLStateOptions

خواص: gl

رابط ترانسفورماتور مختصات

متدها: fromLatLngAltitude ، getCameraParams

رابط CameraParams از CameraOptions ارث‌بری می‌کند.

ویژگی‌ها: 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 ، LatLngAltitudeLiteral و LatLngLiteral را پیاده‌سازی می‌کند.

ویژگی‌ها: altitude ، lat ، lng

روش‌ها: equals ، toJSON

رابط LatLngAltitudeLiteral از LatLngLiteral ارث بری می‌کند.

ویژگی‌ها: altitude ، lat ، lng

کلاس نقطه‌ای

ویژگی‌ها: x ، y

متدها: equals ، toString

کلاس اندازه

ویژگی‌ها: height ، width

متدها: equals ، toString

رابط کاربری پدینگ

ویژگی‌ها: bottom ، left ، right ، top

رابط CircleLiteral از CircleOptions ارث‌بری می‌کند.

ویژگی‌ها: center ، radius

ویژگی‌های به ارث رسیده: clickable ، draggable ، editable ، fillColor ، fillOpacity ، map ، strokeColor ، strokeOpacity ، strokePosition ، strokeWeight ، visible ، zIndex

کلاس Orientation3D، Orientation3DLeteral را پیاده‌سازی می‌کند.

ویژگی‌ها: heading ، roll ، tilt

روش‌ها: equals ، toJSON

رابط کاربری Orientation3DLiteral

ویژگی‌ها: heading ، roll ، tilt

کلاس Vector3D، Vector3DLiteral را پیاده‌سازی می‌کند.

ویژگی‌ها: x ، y ، z

روش‌ها: equals ، toJSON

رابط Vector3DLitral

ویژگی‌ها: x ، y ، z

استایل‌دهی مبتنی بر داده

رابط کاربری FeatureLayer

خواص: Beta datasetId ، featureType ، isAvailable ، style

متدها: addListener

رویدادها: click ، mousemove

ثابت‌های نوع ویژگی

ثابت‌ها: ADMINISTRATIVE_AREA_LEVEL_1 ، ADMINISTRATIVE_AREA_LEVEL_2 ، COUNTRY ، Beta DATASET ، LOCALITY ، POSTAL_CODE ، SCHOOL_DISTRICT

تعریف نوع تابع FeatureStyle
رابط FeatureStyleFunctionOptions

خواص: feature

رابط FeatureStyleOptions

ویژگی‌ها: fillColor ، fillOpacity ، strokeColor ، strokeOpacity ، strokeWeight

رابط کاربری ویژه

ویژگی‌ها: featureType

رابط PlaceFeature از Feature ارث‌بری می‌کند.

ویژگی‌ها: placeId

ویژگی‌های ارث‌بری‌شده: featureType

روش‌ها: fetchPlace

Beta رابط DatasetFeature از Feature ارث بری می‌کند.

ویژگی‌ها: datasetAttributes ، datasetId

ویژگی‌های ارث‌بری‌شده: featureType

رابط FeatureMouseEvent از MapMouseEvent ارث‌بری می‌کند.

خواص: features

ویژگی‌های ارث‌بری‌شده: domEvent ، latLng

متدهای ارثی: stop

کنترل‌ها

رابط کاربری 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

ثابت‌های موقعیت کنترل

ثابت‌ها: 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_TOP RIGHT_CENTER TOP_CENTER ، TOP_LEFT ، TOP_RIGHT

کتابخانه هندسه

فضای نام کدگذاری

متدهای استاتیک: decodePath ، encodePath

فضای نام کروی

متدهای استاتیک: computeArea ، computeDistanceBetween ، computeHeading ، computeLength ، computeOffset ، computeOffsetOrigin ، computeSignedArea ، interpolate

فضای نام پلی

متدهای استاتیک: containsLocation ، isLocationOnEdge

روی نقشه بکشید

نشانگرهای پیشرفته

کلاس AdvancedMarkerElement از HTMLElement ارث‌بری می‌کند و AdvancedMarkerElementOptions را پیاده‌سازی می‌کند.

ویژگی‌ها: anchorLeft ، anchorTop ، collisionBehavior ، gmpClickable ، gmpDraggable ، map ، position ، title ، zIndex ، element ، content

متدها: addListener

متدهای ارث‌بری شده: addEventListener ، removeEventListener

رویدادها: click ، drag ، dragend ، dragstart ، gmp-click

رابط AdvancedMarkerElementOptions

ویژگی‌ها: anchorLeft ، anchorTop ، collisionBehavior ، content ، gmpClickable ، gmpDraggable ، map ، position ، title ، zIndex

کلاس AdvancedMarkerClickEvent از رویداد ارث‌بری می‌کند.
کلاس PinElement از HTMLElement ارث‌بری می‌کند و PinElementOptions را پیاده‌سازی می‌کند.

ویژگی‌ها: background ، borderColor ، glyphColor ، glyphSrc ، glyphText ، scale ، element ، glyph

متدهای ارث‌بری شده: addEventListener ، removeEventListener

رابط PinElementOptions

ویژگی‌ها: background ، borderColor ، glyphColor ، glyphSrc ، glyphText ، scale ، glyph

پنجره اطلاعات

کلاس InfoWindow از MVCObject ارث بری می‌کند.

ویژگی‌ها: isOpen

متدها: close ، focus ، getContent ، getHeaderContent ، getHeaderDisabled ، getPosition ، getZIndex ، open ، setContent ، setHeaderContent ، setHeaderDisabled ، setOptions ، setPosition ، setZIndex

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رویدادها: 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 از MVCObject ارث بری می‌کند.

متدها: getDraggable ، getEditable ، getMap ، getPath ، getVisible ، setDraggable ، setEditable ، setMap ، setOptions ، setPath ، setVisible

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رویدادها: click ، contextmenu ، dblclick ، drag ، dragend ، dragstart ، mousedown ، mousemove ، mouseout ، mouseover ، mouseup ، rightclick

رابط کاربری PolylineOptions

ویژگی‌ها: clickable ، draggable ، editable ، geodesic ، icons ، map ، path ، strokeColor ، strokeOpacity ، strokeWeight ، visible ، zIndex

رابط IconSequence

ویژگی‌ها: fixedRotation ، icon ، offset ، repeat

کلاس Polygon از MVCObject ارث بری می‌کند.

متدها: getDraggable ، getEditable ، getMap ، getPath ، getPaths ، getVisible ، setDraggable ، setEditable ، setMap ، setOptions ، setPath ، setPaths ، setVisible

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رویدادها: click ، contextmenu ، dblclick ، drag ، dragend ، dragstart ، mousedown ، mousemove ، mouseout ، mouseover ، mouseup ، rightclick

رابط کاربری PolygonOptions

ویژگی‌ها: clickable ، draggable ، editable ، fillColor ، fillOpacity ، geodesic ، map ، paths ، strokeColor ، strokeOpacity ، strokePosition ، strokeWeight ، visible ، zIndex

رابط PolyMouseEvent از MapMouseEvent ارث بری می‌کند.

ویژگی‌ها: edge ، path ، vertex

ویژگی‌های ارث‌بری‌شده: domEvent ، latLng

متدهای ارثی: stop

کلاس مستطیل از MVCObject ارث بری می‌کند.

متدها: getBounds ، getDraggable ، getEditable ، getMap ، getVisible ، setBounds ، setDraggable ، setEditable ، setMap ، setOptions ، setVisible

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رویدادها: bounds_changed ، click ، contextmenu ، dblclick ، drag ، dragend ، dragstart ، mousedown ، mousemove ، mouseout ، mouseover ، mouseup ، rightclick

رابط RectangleOptions

ویژگی‌ها: bounds ، clickable ، draggable ، editable ، fillColor ، fillOpacity ، map ، strokeColor ، strokeOpacity ، strokePosition ، strokeWeight ، visible ، zIndex

کلاس Circle از MVCObject ارث بری می‌کند.

متدها: getBounds ، getCenter ، getDraggable ، getEditable ، getMap ، getRadius ، getVisible ، setCenter ، setDraggable ، setEditable ، setMap ، setOptions ، setRadius ، setVisible

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رویدادها: center_changed ، click ، dblclick ، drag ، dragend ، dragstart ، mousedown ، mousemove ، mouseout ، mouseover ، mouseup ، radius_changed ، rightclick

رابط کاربری CircleOptions

ویژگی‌ها: center ، clickable ، draggable ، editable ، fillColor ، fillOpacity ، map ، radius ، strokeColor ، strokeOpacity ، strokePosition ، strokeWeight ، visible ، zIndex

ثابت‌های موقعیت ضربه

ثابت‌ها: CENTER ، INSIDE ، OUTSIDE

داده‌ها

کلاس داده از MVCObject ارث بری می‌کند.

متدها: add ، addGeoJson ، contains ، forEach ، getControlPosition ، getControls ، getDrawingMode ، getFeatureById ، getMap ، getStyle ، loadGeoJson ، overrideStyle ، remove ، revertStyle ، setControlPosition ، setControls ، setDrawingMode ، setMap ، setStyle ، toGeoJson

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رویدادها: addfeature ، click ، contextmenu ، dblclick ، mousedown ، mouseout ، mouseover ، mouseup ، removefeature ، removeproperty ، setgeometry ، setproperty ، rightclick

رابط Data.DataOptions

ویژگی‌ها: controlPosition ، controls ، drawingMode ، featureFactory ، map ، style

رابط Data.GeoJsonOptions

ویژگی‌ها: idPropertyName

رابط Data.StyleOptions

ویژگی‌ها: animation ، clickable ، cursor ، draggable ، editable ، fillColor fillOpacity ، icon ، icons ، label ، opacity ، shape ، strokeColor کدری، strokeOpacity strokeWeight ، title ، visible ، zIndex

تابع Data.Styling از نوع typedef
کلاس ویژگی داده

متدها: forEachProperty ، getGeometry ، getId ، getProperty ، removeProperty ، setGeometry ، setProperty ، toGeoJson

رویدادها: removeproperty ، setgeometry ، setproperty

رابط Data.FeatureOptions

ویژگی‌ها: geometry ، id ، properties

رابط داده.هندسه

روش‌ها: forEachLatLng ، getType

کلاس Data.Point، Data.Geometry را پیاده‌سازی می‌کند.

روش‌ها: forEachLatLng ، get ، getType

کلاس Data.MultiPoint، Data.Geometry را پیاده‌سازی می‌کند.

متدها: forEachLatLng ، getArray ، getAt ، getLength ، getType

کلاس Data.LineString، Data.Geometry را پیاده‌سازی می‌کند.

متدها: forEachLatLng ، getArray ، getAt ، getLength ، getType

کلاس Data.MultiLineString، Data.Geometry را پیاده‌سازی می‌کند.

متدها: forEachLatLng ، getArray ، getAt ، getLength ، getType

کلاس Data.LinearRing، Data.Geometry را پیاده‌سازی می‌کند.

متدها: forEachLatLng ، getArray ، getAt ، getLength ، getType

کلاس Data.Polygon، Data.Geometry را پیاده‌سازی می‌کند.

متدها: forEachLatLng ، getArray ، getAt ، getLength ، getType

کلاس Data.MultiPolygon، Data.Geometry را پیاده‌سازی می‌کند.

متدها: forEachLatLng ، getArray ، getAt ، getLength ، getType

کلاس Data.GeometryCollection، Data.Geometry را پیاده‌سازی می‌کند.

متدها: forEachLatLng ، getArray ، getAt ، getLength ، getType

رابط Data.MouseEvent از MapMouseEvent ارث بری می‌کند.

خواص: feature

ویژگی‌های ارث‌بری‌شده: domEvent ، latLng

متدهای ارثی: stop

رابط Data.AddFeatureEvent

خواص: feature

رابط Data.RemoveFeatureEvent

خواص: feature

رابط Data.SetGeometryEvent

ویژگی‌ها: feature ، newGeometry ، oldGeometry

رابط Data.SetPropertyEvent

ویژگی‌ها: feature ، name ، newValue ، oldValue

رابط Data.RemovePropertyEvent

ویژگی‌ها: feature ، name ، oldValue

عناصر DOM

کلاس OverlayView از MVCObject ارث بری می‌کند.

متدهای استاتیک: preventMapHitsAndGesturesFrom ، preventMapHitsFrom

متدها: draw ، getMap ، getPanes ، getProjection ، onAdd ، onRemove ، setMap

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رابط MapPanes

ویژگی‌ها: floatPane ، mapPane ، markerLayer ، overlayLayer ، overlayMouseTarget

رابط MapCanvasProjection

متدها: fromContainerPixelToLatLng ، fromDivPixelToLatLng ، fromLatLngToContainerPixel ، fromLatLngToDivPixel ، getVisibleRegion ، getWorldWidth

کی ام ال

کلاس KmlLayer از MVCObject ارث بری می‌کند.

متدها: getDefaultViewport ، getMap ، getMetadata ، getStatus ، getUrl ، getZIndex ، setMap ، setOptions ، setUrl ، setZIndex

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رویدادها: click ، defaultviewport_changed ، status_changed

رابط KmlLayerOptions

ویژگی‌ها: clickable ، map ، preserveViewport ، screenOverlays ، suppressInfoWindows ، url ، zIndex

رابط KmlLayerMetadata

ویژگی‌ها: author ، description ، hasScreenOverlays ، name ، snippet

ثابت‌های وضعیت KmlLayer

ثابت‌ها: DOCUMENT_NOT_FOUND ، DOCUMENT_TOO_LARGE ، FETCH_ERROR ، INVALID_DOCUMENT ، INVALID_REQUEST ، LIMITS_EXCEEDED ، OK ، TIMED_OUT ، UNKNOWN

رابط KmlMouseEvent

ویژگی ها: featureData ، latLng ، pixelOffset

رابط KmlFeatureData

ویژگی‌ها: author ، description ، id ، infoWindowHtml ، name ، snippet

رابط KmlAuthor

ویژگی‌ها: email ، name ، uri

پوشش‌های تصویر

رابط MapType

ویژگی‌ها: alt ، maxZoom ، minZoom ، name ، projection ، radius ، tileSize

متدها: getTile ، releaseTile

رابط پروژکتور

روش‌ها: fromLatLngToPoint ، fromPointToLatLng

کلاس ImageMapType از MVCObject ارث‌بری می‌کند و MapType را پیاده‌سازی می‌کند.

ویژگی‌ها: alt ، maxZoom ، minZoom ، name ، projection ، radius ، tileSize

متدها: getOpacity ، getTile ، releaseTile ، setOpacity

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رویدادها: tilesloaded

رابط ImageMapTypeOptions

ویژگی‌ها: alt ، getTileUrl ، maxZoom ، minZoom ، name ، opacity ، tileSize

کلاس GroundOverlay از MVCObject ارث بری می‌کند.

متدها: getBounds ، getMap ، getOpacity ، getUrl ، setMap ، setOpacity

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رویدادها: click ، dblclick

رابط GroundOverlayOptions

ویژگی‌ها: clickable ، map ، opacity

کلاس StyledMapType از MVCObject ارث‌بری می‌کند و MapType را پیاده‌سازی می‌کند.

ویژگی‌ها: alt ، maxZoom ، minZoom ، name ، projection ، radius ، tileSize

متدها: getTile ، releaseTile

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رابط StyledMapTypeOptions

ویژگی‌ها: alt ، maxZoom ، minZoom ، name

کتابخانه نقاشی

کلاس DrawingManager MVCObject را گسترش می‌دهد

متدها: getDrawingMode ، getMap ، setDrawingMode ، setMap ، setOptions

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رویدادها: circlecomplete ، markercomplete ، overlaycomplete ، polygoncomplete ، polylinecomplete ، rectanglecomplete

رابط کاربری DrawingManagerOptions

ویژگی‌ها: circleOptions ، drawingControl ، drawingControlOptions ، drawingMode ، map ، markerOptions ، polygonOptions ، polylineOptions ، rectangleOptions

رابط DrawingControlOptions

ویژگی‌ها: drawingModes ، position

رابط OverlayCompleteEvent

ویژگی‌ها: overlay ، type

ثابت‌های OverlayType

ثابت‌ها: CIRCLE ، MARKER ، POLYGON ، POLYLINE ، RECTANGLE

نقشه‌های حرارتی

کلاس HeatmapLayer MVCObject را گسترش می‌دهد

متدها: getData ، getMap ، setData ، setMap ، setOptions

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رابط HeatmapLayerOptions

ویژگی‌ها: data ، dissipating ، gradient ، map ، maxIntensity ، opacity ، radius

رابط WeightedLocation

ویژگی‌ها: location ، weight

حداکثر بزرگنمایی

کلاس MaxZoomService

روش‌ها: getMaxZoomAtLatLng

رابط MaxZoomResult

ویژگی‌ها: status ، zoom

ثابت‌های MaxZoomStatus

ثابت‌ها: ERROR ، OK

نشانگر (قدیمی)

کلاس نشانگر MVCObject را گسترش می‌دهد

متدها: 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

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

ثابت‌ها: MAX_ZINDEX

رویدادها: 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

ویژگی‌ها: anchorPoint ، animation ، clickable ، crossOnDrag ، cursor ، draggable ، icon ، label ، map ، opacity ، optimized ، position ، shape ، title ، visible ، zIndex ، Beta collisionBehavior

ثابت‌های رفتار برخورد

ثابت‌ها: OPTIONAL_AND_HIDES_LOWER_PRIORITY ، REQUIRED ، REQUIRED_AND_HIDES_OPTIONAL

رابط آیکون

ویژگی‌ها: anchor ، labelOrigin ، origin ، scaledSize ، size ، url

رابط MarkerLabel

ویژگی‌ها: className ، color ، fontFamily ، fontSize ، fontWeight ، text

رابط MarkerShape

ویژگی‌ها: coords ، type

رابط نماد

ویژگی‌ها: anchor ، fillColor ، fillOpacity ، labelOrigin ، path ، rotation ، scale ، strokeColor ، strokeOpacity ، strokeWeight

ثابت‌های SymbolPath

ثابت‌ها: BACKWARD_CLOSED_ARROW ، BACKWARD_OPEN_ARROW ، CIRCLE ، FORWARD_CLOSED_ARROW ، FORWARD_OPEN_ARROW

ثابت‌های انیمیشن

ثابت‌ها: BOUNCE ، DROP

نمای خیابان

رندرینگ

کلاس StreetViewPanorama از MVCObject ارث‌بری می‌کند.

ویژگی‌ها: controls

روش‌ها: focus ، getLinks ، getLocation ، getMotionTracking ، getPano ، getPhotographerPov ، getPosition ، getPov ، getStatus ، getVisible ، getZoom ، registerPanoProvider ، setLinks ، setMotionTracking ، setOptions ، setPano ، setPosition ، setPov ، setVisible ، setZoom

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رویدادها: closeclick ، تغییر مکان تصویر pano_changed ، position_changed ، pov_changed resize)، resize status_changedvisible_changedzoom_changed

رابط کاربری StreetViewPanoramaOptions

ویژگی‌ها: 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

ویژگی‌ها: position

رابط PanoProviderOptions

خواص: cors

رابط StreetViewTileData

ویژگی‌ها: centerHeading ، tileSize ، worldSize

روش‌ها: getTileUrl

رابط کاربری StreetViewPov

ویژگی‌ها: heading ، pitch

کلاس StreetViewCoverageLayer از MVCObject ارث بری می‌کند.

متدها: getMap ، setMap

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

خدمات

کلاس StreetViewService

روش‌ها: getPanorama

ثابت‌های وضعیت StreetView

ثابت‌ها: OK ، UNKNOWN_ERROR ، ZERO_RESULTS

رابط StreetViewLocationRequest

ویژگی‌ها: location ، preference ، radius ، sources ، source

رابط StreetViewPanoRequest

خواص: pano

رابط StreetViewResponse

ویژگی‌ها: data

رابط کاربری StreetViewLocation

ویژگی‌ها: description ، latLng ، pano ، shortDescription

ثابت‌های StreetViewPreference

ثابت‌ها: BEST ، NEAREST

ثابت‌های StreetViewSource

ثابت‌ها: DEFAULT ، GOOGLE ، OUTDOOR

رابط داده StreetViewPanorama

ویژگی‌ها: copyright ، imageDate ، links ، location ، tiles

ویژگی‌ها: description ، heading ، pano

مکان‌ها

ابزارک‌های مکان‌ها

کلاس PlaceAutocompleteElement از HTMLElement ارث بری می‌کند و PlaceAutocompleteElementOptions را پیاده‌سازی می‌کند.

ویژگی‌ها: includedPrimaryTypes ، includedRegionCodes ، locationBias ، locationRestriction ، name ، origin ، placeholder ، requestedLanguage ، requestedRegion ، unitSystem ، value

متدهای ارث‌بری شده: addEventListener ، removeEventListener

رویدادها: gmp-error ، gmp-select

رابط PlaceAutocompleteElementOptions

ویژگی‌ها: includedPrimaryTypes ، includedRegionCodes ، locationBias ، locationRestriction ، name ، origin ، requestedLanguage ، requestedRegion ، unitSystem ، value

کلاس PlacePredictionSelectEvent از Event ارث بری می‌کند.

ویژگی‌ها: placePrediction

کلاس BasicPlaceAutocompleteElement از HTMLElement ارث‌بری می‌کند و BasicPlaceAutocompleteElementOptions را پیاده‌سازی می‌کند.

ویژگی‌ها: includedPrimaryTypes ، includedRegionCodes ، locationBias ، locationRestriction ، name ، origin ، requestedLanguage ، requestedRegion ، unitSystem

متدهای ارث‌بری شده: addEventListener ، removeEventListener

رویدادها: gmp-error ، gmp-select

رابط BasicPlaceAutocompleteElementOptions

ویژگی‌ها: includedPrimaryTypes ، includedRegionCodes ، locationBias ، locationRestriction ، name ، origin ، requestedLanguage ، requestedRegion ، unitSystem

کلاس PlaceDetailsElement از HTMLElement ارث بری می‌کند و PlaceDetailsElementOptions را پیاده‌سازی می‌کند.

خواص: place

متدهای ارث‌بری شده: addEventListener ، removeEventListener

رویدادها: gmp-error ، gmp-load

رابط PlaceDetailsElementOptions
کلاس PlaceDetailsCompactElement از HTMLElement ارث‌بری می‌کند و PlaceDetailsCompactElementOptions را پیاده‌سازی می‌کند.

ویژگی‌ها: orientation ، place ، truncationPreferred

متدهای ارث‌بری شده: addEventListener ، removeEventListener

رویدادها: gmp-error ، gmp-load

رابط PlaceDetailsCompactElementOptions

ویژگی‌ها: orientation truncationPreferred

ثابت‌های جهت‌یابی PlaceDetails

ثابت‌ها: HORIZONTAL ، VERTICAL

کلاس PlaceDetailsPlaceRequestElement از HTMLElement ارث‌بری می‌کند و PlaceDetailsPlaceRequestElementOptions را پیاده‌سازی می‌کند.

خواص: place

متدهای ارث‌بری شده: addEventListener ، removeEventListener

رابط PlaceDetailsPlaceRequestElementOptions

خواص: place

کلاس PlaceDetailsLocationRequestElement از HTMLElement ارث‌بری می‌کند و PlaceDetailsLocationRequestElementOptions را پیاده‌سازی می‌کند.

خواص: location

متدهای ارث‌بری شده: addEventListener ، removeEventListener

رابط PlaceDetailsLocationRequestElementOptions

خواص: location

کلاس PlaceSearchElement از HTMLElement ارث‌بری می‌کند و PlaceSearchElementOptions را پیاده‌سازی می‌کند.

ویژگی‌ها: attributionPosition ، orientation ، places ، selectable ، truncationPreferred

متدهای ارث‌بری شده: addEventListener ، removeEventListener

رویدادها: gmp-error ، gmp-load ، gmp-select

رابط PlaceSearchElementOptions

ویژگی‌ها: attributionPosition ، orientation ، selectable ، truncationPreferred

ثابت‌های PlaceSearchAttributionPosition

ثابت‌ها: BOTTOM ، TOP

ثابت‌های PlaceSearchOrientation

ثابت‌ها: HORIZONTAL ، VERTICAL

کلاس PlaceSelectEvent از Event ارث بری می‌کند.

خواص: place

کلاس PlaceNearbySearchRequestElement از HTMLElement ارث‌بری می‌کند و PlaceNearbySearchRequestElementOptions را پیاده‌سازی می‌کند.

ویژگی‌ها: excludedPrimaryTypes ، excludedTypes ، includedPrimaryTypes ، includedTypes ، locationRestriction ، maxResultCount ، rankPreference

متدهای ارث‌بری شده: addEventListener ، removeEventListener

رابط PlaceNearbySearchRequestElementOptions

ویژگی‌ها: excludedPrimaryTypes ، excludedTypes ، includedPrimaryTypes ، includedTypes ، locationRestriction ، maxResultCount ، rankPreference

کلاس PlaceTextSearchRequestElement از HTMLElement ارث‌بری می‌کند و PlaceTextSearchRequestElementOptions را پیاده‌سازی می‌کند.

ویژگی‌ها: evConnectorTypes ، evMinimumChargingRateKw ، includedType ، isOpenNow ، locationBias ، locationRestriction ، maxResultCount ، minRating ، priceLevels ، rankPreference ، textQuery ، useStrictTypeFiltering

متدهای ارث‌بری شده: addEventListener ، removeEventListener

رابط PlaceTextSearchRequestElementOptions

ویژگی‌ها: evConnectorTypes ، evMinimumChargingRateKw ، includedType ، isOpenNow ، locationBias ، locationRestriction ، maxResultCount ، minRating ، priceLevels ، rankPreference ، textQuery ، useStrictTypeFiltering

کلاس تکمیل خودکار MVCObject را گسترش می‌دهد

متدها: getBounds ، getFields ، getPlace ، setBounds ، setComponentRestrictions ، setFields ، setOptions ، setTypes

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رویدادها: place_changed

رابط کاربری AutocompleteOptions

ویژگی‌ها: bounds ، componentRestrictions ، fields ، strictBounds ، types ، placeIdOnly

متدها: getBounds ، getPlaces ، setBounds

متدهای ارث‌بری شده: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

رویدادها: places_changed

رابط کاربری SearchBoxOptions

ویژگی‌ها: bounds

Alpha کلاس PlaceContextualElement از HTMLElement ارث‌بری می‌کند و PlaceContextualElementOptions را پیاده‌سازی می‌کند.

ویژگی‌ها: contextToken

متدهای ارث‌بری شده: addEventListener ، removeEventListener

Alpha رابط PlaceContextualElementOptions

ویژگی‌ها: contextToken

Alpha کلاس PlaceContextualListConfigElement از HTMLElement ارث‌بری می‌کند و PlaceContextualListConfigElementOptions را پیاده‌سازی می‌کند.

ویژگی‌ها: layout ، mapHidden

متدهای ارث‌بری شده: addEventListener ، removeEventListener

Alpha رابط PlaceContextualListConfigElementOptions

ویژگی‌ها: layout ، mapHidden

Alpha ثابت‌های PlaceContextualListLayout

ثابت‌ها: COMPACT ، VERTICAL

سفارشی‌سازی محتوای ویجت مکان

کلاس PlaceContentConfigElement از HTMLElement ارث‌بری می‌کند و PlaceContentConfigElementOptions را پیاده‌سازی می‌کند.

متدهای ارث‌بری شده: addEventListener ، removeEventListener

رابط PlaceContentConfigElementOptions
کلاس PlaceAllContentElement از HTMLElement ارث‌بری می‌کند و PlaceAllContentElementOptions را پیاده‌سازی می‌کند.

متدهای ارث‌بری شده: addEventListener ، removeEventListener

PlaceAllContentElementOptions interface
PlaceStandardContentElement class extends HTMLElement , implements PlaceStandardContentElementOptions

Inherited Methods: addEventListener , removeEventListener

PlaceStandardContentElementOptions interface
PlaceMediaElement class extends HTMLElement , implements PlaceMediaElementOptions

Properties: lightboxPreferred , preferredSize

Inherited Methods: addEventListener , removeEventListener

PlaceMediaElementOptions interface

Properties: lightboxPreferred , preferredSize

MediaSize constants

Constants: LARGE , MEDIUM , SMALL

PlaceAddressElement class extends HTMLElement , implements PlaceAddressElementOptions

Inherited Methods: addEventListener , removeEventListener

PlaceAddressElementOptions interface
PlaceRatingElement class extends HTMLElement , implements PlaceRatingElementOptions

Inherited Methods: addEventListener , removeEventListener

PlaceRatingElementOptions interface
PlaceTypeElement class extends HTMLElement , implements PlaceTypeElementOptions

Inherited Methods: addEventListener , removeEventListener

PlaceTypeElementOptions interface
PlacePriceElement class extends HTMLElement , implements PlacePriceElementOptions

Inherited Methods: addEventListener , removeEventListener

PlacePriceElementOptions interface
PlaceAccessibleEntranceIconElement class extends HTMLElement , implements PlaceAccessibleEntranceIconElementOptions

Inherited Methods: addEventListener , removeEventListener

PlaceAccessibleEntranceIconElementOptions interface
PlaceOpenNowStatusElement class extends HTMLElement , implements PlaceOpenNowStatusElementOptions

Inherited Methods: addEventListener , removeEventListener

PlaceOpenNowStatusElementOptions interface
PlaceReviewSummaryElement class extends HTMLElement , implements PlaceReviewSummaryElementOptions

Inherited Methods: addEventListener , removeEventListener

PlaceReviewSummaryElementOptions interface
PlaceReviewsElement class extends HTMLElement , implements PlaceReviewsElementOptions

Inherited Methods: addEventListener , removeEventListener

PlaceReviewsElementOptions interface
PlaceSummaryElement class extends HTMLElement , implements PlaceSummaryElementOptions

Inherited Methods: addEventListener , removeEventListener

PlaceSummaryElementOptions interface
PlaceFeatureListElement class extends HTMLElement , implements PlaceFeatureListElementOptions

Inherited Methods: addEventListener , removeEventListener

PlaceFeatureListElementOptions interface
PlaceOpeningHoursElement class extends HTMLElement , implements PlaceOpeningHoursElementOptions

Inherited Methods: addEventListener , removeEventListener

PlaceOpeningHoursElementOptions interface
PlacePhoneNumberElement class extends HTMLElement , implements PlacePhoneNumberElementOptions

Inherited Methods: addEventListener , removeEventListener

PlacePhoneNumberElementOptions interface
PlacePlusCodeElement class extends HTMLElement , implements PlacePlusCodeElementOptions

Inherited Methods: addEventListener , removeEventListener

PlacePlusCodeElementOptions interface
PlaceTypeSpecificHighlightsElement class extends HTMLElement , implements PlaceTypeSpecificHighlightsElementOptions

Inherited Methods: addEventListener , removeEventListener

PlaceTypeSpecificHighlightsElementOptions interface
PlaceWebsiteElement class extends HTMLElement , implements PlaceWebsiteElementOptions

Inherited Methods: addEventListener , removeEventListener

PlaceWebsiteElementOptions interface
PlaceAttributionElement class extends HTMLElement , implements PlaceAttributionElementOptions

Properties: darkSchemeColor , lightSchemeColor

Inherited Methods: addEventListener , removeEventListener

PlaceAttributionElementOptions interface

Properties: darkSchemeColor , lightSchemeColor

AttributionColor constants

Constants: BLACK , GRAY , WHITE

Place Data

Place class implements PlaceOptions

Static Methods: searchByText , searchNearby

Properties: accessibilityOptions , addressComponents , adrFormatAddress , allowsDogs , attributions , businessStatus , consumerAlert , currentOpeningHours , currentSecondaryOpeningHours , displayName , displayNameLanguageCode , editorialSummary , editorialSummaryLanguageCode , evChargeAmenitySummary , evChargeOptions , formattedAddress , fuelOptions , generativeSummary , googleMapsLinks , googleMapsURI , hasCurbsidePickup , hasDelivery , hasDineIn , hasLiveMusic , hasMenuForChildren , hasOutdoorSeating , hasRestroom , hasTakeout , iconBackgroundColor , id , internationalPhoneNumber , isGoodForChildren , isGoodForGroups , isGoodForWatchingSports , isReservable , location , nationalPhoneNumber , neighborhoodSummary , parkingOptions , paymentOptions , photos , plusCode , postalAddress , priceLevel , priceRange , primaryType , primaryTypeDisplayName , primaryTypeDisplayNameLanguageCode , rating , regularOpeningHours , regularSecondaryOpeningHours , requestedLanguage , requestedRegion , resourceName , reviews , reviewSummary , servesBeer , servesBreakfast , servesBrunch , servesCocktails , servesCoffee , servesDessert , servesDinner , servesLunch , servesVegetarianFood , servesWine , shortFormattedAddress , subDestinations , svgIconMaskURI , types , userRatingCount , utcOffsetMinutes , viewport , websiteURI , openingHours , hasWiFi

Methods: fetchFields , Beta getNextOpeningTime , Beta isOpen

Inherited Methods: toJSON

PlaceOptions interface

Properties: id , requestedLanguage , requestedRegion , resourceName

AccessibilityOptions class

Properties: hasWheelchairAccessibleEntrance , hasWheelchairAccessibleParking , hasWheelchairAccessibleRestroom , hasWheelchairAccessibleSeating

AddressComponent class

Properties: longText , shortText , types

Inherited Methods: toJSON

Attribution class

Properties: provider , providerURI

Inherited Methods: toJSON

AuthorAttribution class

Properties: displayName , photoURI , uri

Inherited Methods: toJSON

ConnectorAggregation class

Properties: availabilityLastUpdateTime , availableCount , count , maxChargeRateKw , outOfServiceCount , type

ConsumerAlert class

Properties: details , languageCode , overview

Inherited Methods: toJSON

ConsumerAlertDetails class

Properties: aboutLinkTitle , aboutLinkURI , description , title

ContentBlock class

Properties: content , contentLanguageCode , referencedPlaces

Inherited Methods: toJSON

EVChargeAmenitySummary class

Properties: coffee , disclosureText , disclosureTextLanguageCode , flagContentURI , overview , restaurant , store

Inherited Methods: toJSON

EVChargeOptions class

Properties: connectorAggregations , connectorCount

Inherited Methods: toJSON

EVConnectorType constants

Constants: CCS_COMBO_1 , CCS_COMBO_2 , CHADEMO , J1772 , NACS , OTHER , TESLA , TYPE_2 , UNSPECIFIED_GB_T , UNSPECIFIED_WALL_OUTLET

EVSearchOptions interface

Properties: connectorTypes , minimumChargingRateKw

FetchFieldsRequest interface

Properties: fields

FuelOptions class

Properties: fuelPrices

Inherited Methods: toJSON

FuelPrice class

Properties: price , type , updateTime

FuelType constants

Constants: BIO_DIESEL , DIESEL , DIESEL_PLUS , E100 , E80 , E85 , LPG , METHANE , MIDGRADE , PREMIUM , REGULAR_UNLEADED , SP100 , SP91 , SP91_E10 , SP92 , SP95 , SP95_E10 , SP98 , SP99 , TRUCK_DIESEL

GenerativeSummary class

Properties: disclosureText , disclosureTextLanguageCode , flagContentURI , overview , overviewLanguageCode

Inherited Methods: toJSON

Properties: directionsURI , photosURI , placeURI , reviewsURI , writeAReviewURI

Inherited Methods: toJSON

Money class

Properties: currencyCode , nanos , units

Methods: toString

Inherited Methods: toJSON

NeighborhoodSummary class

Properties: description , disclosureText , disclosureTextLanguageCode , flagContentURI , overview

Inherited Methods: toJSON

OpeningHours class

Properties: periods , specialDays , weekdayDescriptions

Inherited Methods: toJSON

OpeningHoursPeriod class

Properties: close , open

Inherited Methods: toJSON

OpeningHoursPoint class

Properties: day , hour , minute

Inherited Methods: toJSON

SecondaryOpeningHours class extends OpeningHours

Properties: type

Inherited Properties: periods , specialDays , weekdayDescriptions

Inherited Methods: toJSON

ParkingOptions class

Properties: hasFreeGarageParking , hasFreeParkingLot , hasFreeStreetParking , hasPaidGarageParking , hasPaidParkingLot , hasPaidStreetParking , hasValetParking

PaymentOptions class

Properties: acceptsCashOnly , acceptsCreditCards , acceptsDebitCards , acceptsNFC

Photo class

Properties: authorAttributions , flagContentURI , googleMapsURI , heightPx , widthPx

Methods: getURI

Inherited Methods: toJSON

PlusCode class

Properties: compoundCode , globalCode

Inherited Methods: toJSON

PostalAddress class implements PostalAddressLiteral

Properties: addressLines , administrativeArea , languageCode , locality , organization , postalCode , recipients , regionCode , sortingCode , sublocality

Inherited Methods: toJSON

PostalAddressLiteral interface

Properties: addressLines , administrativeArea , languageCode , locality , organization , postalCode , recipients , regionCode , sortingCode , sublocality

PriceLevel constants

Constants: EXPENSIVE , FREE , INEXPENSIVE , MODERATE , VERY_EXPENSIVE

PriceRange class

Properties: endPrice , startPrice

Inherited Methods: toJSON

Review class

Properties: authorAttribution , flagContentURI , googleMapsURI , originalText , originalTextLanguageCode , publishTime , rating , relativePublishTimeDescription , text , textLanguageCode , visitDateMonth , visitDateYear

Inherited Methods: toJSON

ReviewSummary class

Properties: disclosureText , disclosureTextLanguageCode , flagContentURI , reviewsURI , text , textLanguageCode

Inherited Methods: toJSON

SearchByTextRequest interface

Properties: evSearchOptions , fields , includedType , isOpenNow , language , locationBias , locationRestriction , maxResultCount , minRating , priceLevels , rankPreference , region , textQuery , useStrictTypeFiltering , query , Beta rankBy

SearchByTextRankPreference constants

Constants: DISTANCE , RELEVANCE

SearchNearbyRequest interface

Properties: excludedPrimaryTypes , excludedTypes , fields , includedPrimaryTypes , includedTypes , language , locationRestriction , maxResultCount , rankPreference , region

SearchNearbyRankPreference constants

Constants: DISTANCE , POPULARITY

Autocomplete Data

AutocompleteSuggestion class

Static Methods: fetchAutocompleteSuggestions

Properties: placePrediction

AutocompleteRequest interface

Properties: includedPrimaryTypes , includedRegionCodes , input , inputOffset , language , locationBias , locationRestriction , origin , region , sessionToken

AutocompleteSessionToken class
PlacePrediction class

Properties: distanceMeters , mainText , placeId , secondaryText , text , types

روش‌ها: Beta fetchAddressValidation , toPlace

StringRange class

Properties: endOffset , startOffset

FormattableText class

Properties: matches , text

ژئوکودر

Geocoder class

Methods: geocode

GeocoderRequest interface

Properties: address , bounds , componentRestrictions , Beta extraComputations , fulfillOnZeroResults , language , location , placeId , region

GeocoderComponentRestrictions interface

Properties: administrativeArea , country , locality , postalCode , route

Beta ExtraGeocodeComputation constants

Constants: ADDRESS_DESCRIPTORS

GeocoderStatus constants

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

GeocoderResponse interface

Properties: Beta address_descriptor , plus_code , results

GeocoderResult interface

Properties: address_components , Beta address_descriptor , formatted_address , geometry , partial_match , place_id , plus_code , postcode_localities , types

Beta AddressDescriptor interface

Properties: areas , landmarks

GeocoderAddressComponent interface

Properties: long_name , short_name , types

GeocoderGeometry interface

Properties: bounds , location , location_type , viewport

GeocoderLocationType constants

Constants: APPROXIMATE , GEOMETRIC_CENTER , RANGE_INTERPOLATED , ROOFTOP

Beta Landmark interface

Properties: display_name , display_name_language_code , place_id , spatial_relationship , straight_line_distance_meters , travel_distance_meters , types

Beta Area interface

Properties: containment , display_name , display_name_language_code , place_id

Beta Containment constants

Constants: NEAR , OUTSKIRTS , WITHIN

Beta SpatialRelationship constants

Constants: ACROSS_THE_ROAD , AROUND_THE_CORNER , BEHIND , BESIDE , DOWN_THE_ROAD , NEAR , WITHIN

Places Autocomplete Service (deprecated)

AutocompleteService class

Methods: getPlacePredictions , getQueryPredictions

AutocompletionRequest interface

Properties: componentRestrictions , input , language , locationBias , locationRestriction , offset , origin , region , sessionToken , types , bounds , location , radius

AutocompleteResponse interface

Properties: predictions

QueryAutocompletionRequest interface

Properties: bounds , input , location , offset , radius

ComponentRestrictions interface

Properties: country

AutocompletePrediction interface

Properties: description , distance_meters , matched_substrings , place_id , structured_formatting , terms , types

QueryAutocompletePrediction interface

Properties: description , matched_substrings , place_id , terms

PredictionTerm interface

Properties: offset , value

PredictionSubstring interface

Properties: length , offset

StructuredFormatting interface

Properties: main_text , main_text_matched_substrings , secondary_text

Address Validation

AddressValidation class

Static Methods: fetchAddressValidation

Properties: address , geocode , metadata , responseId , uspsData , verdict

Inherited Methods: toJSON

AddressValidationRequest interface

Properties: address , placeAutocompleteElement , previousResponseId , sessionToken , uspsCASSEnabled

Address class

Properties: components , formattedAddress , missingComponentTypes , postalAddress , unconfirmedComponentTypes , unresolvedTokens

Inherited Methods: toJSON

AddressComponent class

Properties: componentName , componentNameLanguageCode , componentType , confirmationLevel , inferred , replaced , spellCorrected , unexpected

AddressMetadata class

Properties: business , poBox , residential

Inherited Methods: toJSON

ConfirmationLevel constants

Constants: CONFIRMED , UNCONFIRMED_AND_SUSPICIOUS , UNCONFIRMED_BUT_PLAUSIBLE

Geocode class

Properties: bounds , featureSizeMeters , location , placeId , placeTypes , plusCode

Methods: fetchPlace

Inherited Methods: toJSON

Granularity constants

Constants: BLOCK , OTHER , PREMISE , PREMISE_PROXIMITY , ROUTE , SUB_PREMISE

Beta PossibleNextAction constants

Constants: ACCEPT , CONFIRM , CONFIRM_ADD_SUBPREMISES , FIX

USPSAddress class

Properties: city , cityStateZipAddressLine , firm , firstAddressLine , secondAddressLine , state , urbanization , zipCode , zipCodeExtension

Inherited Methods: toJSON

USPSData class

Properties: abbreviatedCity , addressRecordType , carrierRoute , carrierRouteIndicator , cassProcessed , county , deliveryPointCheckDigit , deliveryPointCode , dpvCMRA , dpvConfirmation , dpvDoorNotAccessible , dpvDrop , dpvEnhancedDeliveryCode , dpvFootnote , dpvNonDeliveryDays , dpvNonDeliveryDaysValues , dpvNoSecureLocation , dpvNoStat , dpvNoStatReasonCode , dpvPBSA , dpvThrowback , dpvVacant , elotFlag , elotNumber , errorMessage , fipsCountyCode , hasDefaultAddress , hasNoEWSMatch , lacsLinkIndicator , lacsLinkReturnCode , pmbDesignator , pmbNumber , poBoxOnlyPostalCode , postOfficeCity , postOfficeState , standardizedAddress , suiteLinkFootnote

Inherited Methods: toJSON

Verdict class

Properties: addressComplete , geocodeGranularity , hasInferredComponents , hasReplacedComponents , hasUnconfirmedComponents , inputGranularity , Beta possibleNextAction , validationGranularity

Places Service (deprecated)

PlacesService class

Methods: findPlaceFromPhoneNumber , findPlaceFromQuery , getDetails , nearbySearch , textSearch

PlaceDetailsRequest interface

Properties: fields , language , placeId , region , sessionToken

FindPlaceFromPhoneNumberRequest interface

Properties: fields , language , locationBias , phoneNumber

FindPlaceFromQueryRequest interface

Properties: fields , language , locationBias , query

PlaceSearchRequest interface

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

TextSearchRequest interface

Properties: bounds , language , location , query , radius , region , type

RankBy constants

Constants: DISTANCE , PROMINENCE

LocationBias typedef
LocationRestriction typedef
PlacesServiceStatus constants

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

PlaceSearchPagination interface

Properties: hasNextPage

Methods: nextPage

PlaceResult interface

Properties: 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 , rating , reviews , types , url , user_ratings_total , utc_offset_minutes , vicinity , website , utc_offset , permanently_closed

PlaceAspectRating interface

Properties: rating , type

BusinessStatus constants

Constants: CLOSED_PERMANENTLY , CLOSED_TEMPORARILY , OPERATIONAL

PlaceGeometry interface

Properties: location , viewport

PlaceOpeningHours interface

Properties: periods , weekday_text , open_now

Methods: isOpen

PlaceOpeningHoursPeriod interface

Properties: close , open

PlaceOpeningHoursTime interface

Properties: day , hours , minutes , nextDate , time

PlacePlusCode interface

Properties: compound_code , global_code

PlacePhoto interface

Properties: height , html_attributions , width

Methods: getUrl

PhotoOptions interface

Properties: maxHeight , maxWidth

PlaceReview interface

Properties: author_name , author_url , language , profile_photo_url , rating , relative_time_description , text , time , aspects

Routes

مسیر

Route class

Static Methods: computeRoutes

Properties: description , distanceMeters , durationMillis , legs , localizedValues , optimizedIntermediateWaypointIndices , path , polylineDetails , routeLabels , routeToken , speedPaths , staticDurationMillis , travelAdvisory , viewport , warnings

Methods: createPolylines , createWaypointAdvancedMarkers

Inherited Methods: toJSON

ComputeRoutesRequest interface

Properties: arrivalTime , computeAlternativeRoutes , departureTime , destination , extraComputations , fields , intermediates , language , optimizeWaypointOrder , origin , polylineQuality , region , requestedReferenceRoutes , routeModifiers , routingPreference , trafficModel , transitPreference , travelMode , units

ComputeRoutesExtraComputation constants

Constants: FLYOVER_INFO_ON_POLYLINE , FUEL_CONSUMPTION , HTML_FORMATTED_NAVIGATION_INSTRUCTIONS , NARROW_ROAD_INFO_ON_POLYLINE , TOLLS , TRAFFIC_ON_POLYLINE

DirectionalLocationLiteral interface extends LatLngAltitudeLiteral

Properties: heading

Inherited Properties: altitude , lat , lng

DirectionalLocation class extends LatLngAltitude , implements DirectionalLocationLiteral

Properties: heading

Inherited Properties: altitude , lat , lng

Methods: toJSON

Inherited Methods: equals

FallbackInfo class

Properties: reason , routingMode

Inherited Methods: toJSON

FallbackReason constants

Constants: LATENCY_EXCEEDED , SERVER_ERROR

FallbackRoutingMode constants

Constants: TRAFFIC_AWARE , TRAFFIC_UNAWARE

GeocodedWaypoint class

Properties: geocoderStatus , intermediateWaypointRequestIndex , partialMatch , placeId , types

Inherited Methods: toJSON

GeocodingResults class

Properties: destination , intermediates , origin

Inherited Methods: toJSON

MultiModalSegment class

Properties: instructions , maneuver , stepEndIndex , stepStartIndex , travelMode

Inherited Methods: toJSON

PolylineDetailInfo class

Properties: endIndex , presence , startIndex

Inherited Methods: toJSON

PolylineDetails class

Properties: flyoverInfo , narrowRoadInfo

Inherited Methods: toJSON

PolylineQuality constants

Constants: HIGH_QUALITY , OVERVIEW

ReferenceRoute constants

Constants: FUEL_EFFICIENT , SHORTER_DISTANCE

RoadFeatureState constants

Constants: DOES_NOT_EXIST , EXISTS

RouteLabel constants

Constants: DEFAULT_ROUTE , DEFAULT_ROUTE_ALTERNATE , FUEL_EFFICIENT , SHORTER_DISTANCE

RouteLeg class

Properties: distanceMeters , durationMillis , endLocation , localizedValues , path , speedPaths , startLocation , staticDurationMillis , steps , stepsOverview , travelAdvisory

Inherited Methods: toJSON

RouteLegLocalizedValues class

Properties: distance , distanceLanguage , duration , durationLanguage , staticDuration , staticDurationLanguage

Inherited Methods: toJSON

RouteLegStep class

Properties: distanceMeters , endLocation , instructions , localizedValues , maneuver , path , startLocation , staticDurationMillis , transitDetails , travelMode

Inherited Methods: toJSON

RouteLegStepLocalizedValues class

Properties: distance , distanceLanguage , staticDuration , staticDurationLanguage

Inherited Methods: toJSON

RouteLegTravelAdvisory class

Properties: speedReadingIntervals , tollInfo

Inherited Methods: toJSON

RouteLocalizedValues class

Properties: distance , distanceLanguage , duration , durationLanguage , staticDuration , staticDurationLanguage , transitFare , transitFareLanguage

Inherited Methods: toJSON

RouteModifiers interface

Properties: avoidFerries , avoidHighways , avoidIndoor , avoidTolls , tollPasses , vehicleInfo

RoutePolylineDetails interface

Properties: speed , transitDetails , travelMode

RoutePolylineOptions interface

Properties: colorScheme , polylineOptions

RouteTravelAdvisory class

Properties: fuelConsumptionMicroliters , routeRestrictionsPartiallyIgnored , speedReadingIntervals , tollInfo , transitFare

Inherited Methods: toJSON

RoutingPreference constants

Constants: TRAFFIC_AWARE , TRAFFIC_AWARE_OPTIMAL , TRAFFIC_UNAWARE

Speed constants

Constants: NORMAL , SLOW , TRAFFIC_JAM

SpeedPath interface

Properties: path , speed

SpeedReadingInterval class

Properties: endPolylinePointIndex , speed , startPolylinePointIndex

StepsOverview class

Properties: multiModalSegments

Inherited Methods: toJSON

TollInfo class

Properties: estimatedPrices

Inherited Methods: toJSON

TransitAgency class

Properties: name , phoneNumber , url

Inherited Methods: toJSON

TransitDetails class

Properties: arrivalStop , arrivalTime , departureStop , departureTime , headsign , headwayMillis , stopCount , transitLine , tripShortText

Inherited Methods: toJSON

TransitLine class

Properties: agencies , color , iconURL , name , shortName , textColor , url , vehicle

Inherited Methods: toJSON

TransitPreference interface

Properties: allowedTransitModes , routingPreference

TransitStop class

Properties: location , name

Inherited Methods: toJSON

TransitVehicle class

Properties: iconURL , localIconURL , name , nameLanguage , vehicleType

Inherited Methods: toJSON

VehicleEmissionType constants

Constants: DIESEL , ELECTRIC , GASOLINE , HYBRID

VehicleInfo interface

Properties: emissionType

Waypoint interface

Properties: location , sideOfRoad , vehicleStopover , via

WaypointMarkerDetails interface

Properties: index , leg , totalMarkers

Route Matrix

RouteMatrix class

Static Methods: computeRouteMatrix

Properties: rows

Inherited Methods: toJSON

RouteMatrixRow class

Properties: items

Inherited Methods: toJSON

RouteMatrixItem class

Properties: condition , distanceMeters , durationMillis , error , fallbackInfo , localizedValues , staticDurationMillis , travelAdvisory

ComputeRouteMatrixRequest interface

Properties: arrivalTime , departureTime , destinations , extraComputations , fields , language , origins , region , routingPreference , trafficModel , transitPreference , travelMode , units

ComputeRouteMatrixExtraComputation constants

Constants: TOLLS

RouteMatrixItemCondition constants

Constants: ROUTE_EXISTS , ROUTE_NOT_FOUND

RouteMatrixItemError class extends Error

Inherited Methods: toJSON

RouteMatrixItemLocalizedValues class

Properties: distance , distanceLanguage , duration , durationLanguage , staticDuration , staticDurationLanguage , transitFare , transitFareLanguage

Inherited Methods: toJSON

RouteMatrixOrigin interface

Properties: routeModifiers , waypoint

ارتفاع

ElevationService class

Methods: getElevationAlongPath , getElevationForLocations

LocationElevationRequest interface

Properties: locations

LocationElevationResponse interface

Properties: results

PathElevationRequest interface

Properties: path , samples

PathElevationResponse interface

Properties: results

ElevationResult interface

Properties: elevation , location , resolution

ElevationStatus constants

Constants: INVALID_REQUEST , OK , OVER_QUERY_LIMIT , REQUEST_DENIED , UNKNOWN_ERROR

Directions (deprecated)

DirectionsService class

Methods: route

DirectionsRequest interface

Properties: avoidFerries , avoidHighways , avoidTolls , destination , drivingOptions , language , optimizeWaypoints , origin , provideRouteAlternatives , region , transitOptions , travelMode , unitSystem , waypoints

DirectionsStatus constants

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

DirectionsResult interface

Properties: available_travel_modes , geocoded_waypoints , request , routes

DirectionsRenderer class extends MVCObject

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

Inherited Methods: addListener , bindTo , get , notify , set , setValues , unbind , unbindAll

Events: directions_changed

DirectionsRendererOptions interface

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

DirectionsWaypoint interface

Properties: location , stopover

DirectionsGeocodedWaypoint interface

Properties: partial_match , place_id , types

DirectionsRoute interface

Properties: bounds , copyrights , fare , legs , overview_path , overview_polyline , summary , warnings , waypoint_order

DirectionsLeg interface

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

DirectionsStep interface

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

DirectionsPolyline interface

Properties: points

Place interface

Properties: location , placeId , query

TravelMode constants

Constants: BICYCLING , DRIVING , TRANSIT , Beta TWO_WHEELER , WALKING

DrivingOptions interface

Properties: departureTime , trafficModel

TrafficModel constants

Constants: BEST_GUESS , OPTIMISTIC , PESSIMISTIC

TransitOptions interface

Properties: arrivalTime , departureTime , modes , routingPreference

TransitMode constants

Constants: BUS , Beta LIGHT_RAIL , RAIL , SUBWAY , TRAIN , TRAM

TransitRoutePreference constants

Constants: FEWER_TRANSFERS , LESS_WALKING

TransitFare interface

Properties: currency , text , value

TransitDetails interface

Properties: arrival_stop , arrival_time , departure_stop , departure_time , headsign , headway , line , num_stops , trip_short_name

TransitStop interface

Properties: location , name

TransitLine interface

Properties: agencies , color , icon , name , short_name , text_color , url , vehicle

TransitAgency interface

Properties: name , phone , url

TransitVehicle interface

Properties: icon , local_icon , name , type

VehicleType constants

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

UnitSystem constants

Constants: IMPERIAL , METRIC

Distance interface

Properties: text , value

Duration interface

Properties: text , value

Time interface

Properties: text , time_zone , value

DirectionsTravelMode constants
DirectionsUnitSystem constants

Distance Matrix (deprecated)

DistanceMatrixService class

Methods: getDistanceMatrix

DistanceMatrixRequest interface

Properties: avoidFerries , avoidHighways , avoidTolls , destinations , drivingOptions , language , origins , region , transitOptions , travelMode , unitSystem

DistanceMatrixResponse interface

Properties: destinationAddresses , originAddresses , rows

DistanceMatrixResponseRow interface

Properties: elements

DistanceMatrixResponseElement interface

Properties: distance , duration , duration_in_traffic , fare , status

DistanceMatrixStatus constants

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

DistanceMatrixElementStatus constants

Constants: NOT_FOUND , OK , ZERO_RESULTS

نقشه‌های سه‌بعدی

نقشه‌های سه‌بعدی

Map3DElement class extends HTMLElement , implements Map3DElementOptions

Properties: bounds , cameraPosition , center , defaultUIHidden , description , fov , gestureHandling , heading , internalUsageAttributionIds , language , mapId , maxAltitude , maxHeading , maxTilt , minAltitude , minHeading , minTilt , mode , range , region , roll , tilt , defaultUIDisabled

Methods: flyCameraAround , flyCameraTo , stopCameraAnimation

Inherited Methods: addEventListener , removeEventListener

Events: gmp-animationend , gmp-camerapositionchange , gmp-centerchange , gmp-click , gmp-error , gmp-fovchange , gmp-headingchange , gmp-map-id-error , gmp-rangechange , gmp-rollchange , gmp-steadychange , gmp-tiltchange

Map3DElementOptions interface

Properties: bounds , cameraPosition , center , defaultUIHidden , description , fov , gestureHandling , heading , internalUsageAttributionIds , language , mapId , maxAltitude , maxHeading , maxTilt , minAltitude , minHeading , minTilt , mode , range , region , roll , tilt , defaultUIDisabled

MapMode constants

Constants: HYBRID , SATELLITE

GestureHandling constants

Constants: AUTO , COOPERATIVE , GREEDY

FlyAroundAnimationOptions interface

Properties: camera , durationMillis , repeatCount , rounds

FlyToAnimationOptions interface

Properties: durationMillis , endCamera

CameraOptions interface

Properties: altitudeMode , cameraPosition , center , fov , heading , range , roll , tilt

SteadyChangeEvent class extends Event

Properties: isSteady

LocationClickEvent class extends Event

Properties: position

PlaceClickEvent class extends LocationClickEvent

Properties: placeId

Inherited Properties: position

Methods: fetchPlace

Draw on the map

MarkerElement class extends HTMLElement , implements MarkerElementOptions

Properties: altitudeMode , anchorLeft , anchorTop , collisionBehavior , collisionPriority , position , title

Inherited Methods: addEventListener , removeEventListener

MarkerElementOptions interface

Properties: altitudeMode , anchorLeft , anchorTop , collisionBehavior , collisionPriority , position , title

MarkerInteractiveElement class extends MarkerElement , implements MarkerInteractiveElementOptions

Properties: gmpPopoverTargetElement

Inherited Properties: altitudeMode , anchorLeft , anchorTop , collisionBehavior , collisionPriority , position , title

Inherited Methods: addEventListener , removeEventListener

Events: gmp-click

MarkerInteractiveElementOptions interface extends MarkerElementOptions

Properties: gmpPopoverTargetElement

Inherited Properties: altitudeMode , anchorLeft , anchorTop , collisionBehavior , collisionPriority , position , title

Marker3DElement class extends HTMLElement , implements Marker3DElementOptions

Properties: altitudeMode , collisionBehavior , collisionPriority , drawsWhenOccluded , extruded , label , position , sizePreserved , zIndex

Inherited Methods: addEventListener , removeEventListener

Marker3DElementOptions interface

Properties: altitudeMode , collisionBehavior , collisionPriority , drawsWhenOccluded , extruded , label , position , sizePreserved , zIndex

Marker3DInteractiveElement class extends Marker3DElement , implements Marker3DInteractiveElementOptions

Properties: gmpPopoverTargetElement , title

Inherited Properties: altitudeMode , collisionBehavior , collisionPriority , drawsWhenOccluded , extruded , label , position , sizePreserved , zIndex

Inherited Methods: addEventListener , removeEventListener

Events: gmp-click

Marker3DInteractiveElementOptions interface extends Marker3DElementOptions

Properties: gmpPopoverTargetElement , title

Inherited Properties: altitudeMode , collisionBehavior , collisionPriority , drawsWhenOccluded , extruded , label , position , sizePreserved , zIndex

Model3DElement class extends HTMLElement , implements Model3DElementOptions

Properties: altitudeMode , orientation , position , scale , src

Inherited Methods: addEventListener , removeEventListener

Model3DElementOptions interface

Properties: altitudeMode , orientation , position , scale , src

Model3DInteractiveElement class extends Model3DElement , implements Model3DInteractiveElementOptions

Inherited Properties: altitudeMode , orientation , position , scale , src

Inherited Methods: addEventListener , removeEventListener

Events: gmp-click

Model3DInteractiveElementOptions interface extends Model3DElementOptions

Inherited Properties: altitudeMode , orientation , position , scale , src

Polyline3DElement class extends HTMLElement , implements Polyline3DElementOptions

Properties: altitudeMode , drawsOccludedSegments , extruded , geodesic , outerColor , outerWidth , path , strokeColor , strokeWidth , zIndex , coordinates

Inherited Methods: addEventListener , removeEventListener

Polyline3DElementOptions interface

Properties: altitudeMode , coordinates , drawsOccludedSegments , extruded , geodesic , outerColor , outerWidth , strokeColor , strokeWidth , zIndex

Polyline3DInteractiveElement class extends Polyline3DElement , implements Polyline3DInteractiveElementOptions

Inherited Properties: altitudeMode , drawsOccludedSegments , extruded , geodesic , outerColor , outerWidth , path , strokeColor , strokeWidth , zIndex , coordinates

Inherited Methods: addEventListener , removeEventListener

Events: gmp-click

Polyline3DInteractiveElementOptions interface extends Polyline3DElementOptions

Inherited Properties: altitudeMode , coordinates , drawsOccludedSegments , extruded , geodesic , outerColor , outerWidth , strokeColor , strokeWidth , zIndex

Polygon3DElement class extends HTMLElement , implements Polygon3DElementOptions

Properties: altitudeMode , drawsOccludedSegments , extruded , fillColor , geodesic , innerPaths , path , strokeColor , strokeWidth , zIndex , outerCoordinates , innerCoordinates

Inherited Methods: addEventListener , removeEventListener

Polygon3DElementOptions interface

Properties: altitudeMode , drawsOccludedSegments , extruded , fillColor , geodesic , innerCoordinates , outerCoordinates , strokeColor , strokeWidth , zIndex

Polygon3DInteractiveElement class extends Polygon3DElement , implements Polygon3DInteractiveElementOptions

Inherited Properties: altitudeMode , drawsOccludedSegments , extruded , fillColor , geodesic , innerPaths , path , strokeColor , strokeWidth , zIndex , outerCoordinates , innerCoordinates

Inherited Methods: addEventListener , removeEventListener

Events: gmp-click

Polygon3DInteractiveElementOptions interface extends Polygon3DElementOptions

Inherited Properties: altitudeMode , drawsOccludedSegments , extruded , fillColor , geodesic , innerCoordinates , outerCoordinates , strokeColor , strokeWidth , zIndex

FlattenerElement class extends HTMLElement , implements FlattenerElementOptions

Properties: innerPaths , path

Inherited Methods: addEventListener , removeEventListener

FlattenerElementOptions interface

Properties: innerPaths , path

PopoverElement class extends HTMLElement , implements PopoverElementOptions

Properties: altitudeMode , autoPanDisabled , lightDismissDisabled , open , positionAnchor

Inherited Methods: addEventListener , removeEventListener

PopoverElementOptions interface

Properties: altitudeMode , autoPanDisabled , lightDismissDisabled , open , positionAnchor

AltitudeMode constants

Constants: ABSOLUTE , CLAMP_TO_GROUND , RELATIVE_TO_GROUND , RELATIVE_TO_MESH

Environmental (alpha)

کیفیت هوا

Alpha AirQualityMeterElement class extends HTMLElement , implements AirQualityMeterElementOptions

Properties: location , requestedLanguage

Inherited Methods: addEventListener , removeEventListener

Events: gmp-error , gmp-load

AirQualityMeterElementOptions interface

Properties: location , requestedLanguage

Journey Sharing

نمای نقشه

JourneySharingMapView class

Properties: automaticViewportMode , element , enableTraffic , locationProviders , map , mapOptions , locationProvider , destinationMarkerSetup , originMarkerSetup , taskOutcomeMarkerSetup , unsuccessfulTaskMarkerSetup , vehicleMarkerSetup , waypointMarkerSetup , anticipatedRoutePolylineSetup , takenRoutePolylineSetup , pingMarkerSetup , successfulTaskMarkerSetup , destinationMarkers , originMarkers , successfulTaskMarkers , taskOutcomeMarkers , unsuccessfulTaskMarkers , vehicleMarkers , waypointMarkers , anticipatedRoutePolylines , takenRoutePolylines

Methods: addLocationProvider , removeLocationProvider

JourneySharingMapViewOptions interface

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

AutomaticViewportMode constants

Constants: FIT_ANTICIPATED_ROUTE , NONE

LocationProvider abstract class

Methods: addListener

PollingLocationProvider abstract class extends LocationProvider

Properties: isPolling , pollingIntervalMillis

Inherited Methods: addListener

Events: ispollingchange

PollingLocationProviderIsPollingChangeEvent interface

Properties: error

احراز هویت

AuthToken interface

Properties: expiresInSeconds , token

AuthTokenContext interface

Properties: deliveryVehicleId , taskId , trackingId , tripId , vehicleId

AuthTokenFetcher typedef
AuthTokenFetcherOptions interface

Properties: context , serviceType

FleetEngineServiceType constants

Constants: DELIVERY_VEHICLE_SERVICE , TASK_SERVICE , TRIP_SERVICE , UNKNOWN_SERVICE

شخصی‌سازی رابط کاربری

PolylineSetup typedef
PolylineSetupOptions interface

Properties: polylineOptions , visible

DefaultPolylineSetupOptions interface

Properties: defaultPolylineOptions , defaultVisible

MarkerSetup typedef
MarkerSetupOptions interface

Properties: markerOptions

DefaultMarkerSetupOptions interface

Properties: defaultMarkerOptions

MarkerCustomizationFunctionParams interface

Properties: defaultOptions , isNew , marker

DeliveryVehicleMarkerCustomizationFunctionParams interface extends MarkerCustomizationFunctionParams

Properties: vehicle

Inherited Properties: defaultOptions , isNew , marker

PlannedStopMarkerCustomizationFunctionParams interface extends DeliveryVehicleMarkerCustomizationFunctionParams

Properties: stopIndex

Inherited Properties: defaultOptions , isNew , marker , vehicle

TaskMarkerCustomizationFunctionParams interface extends DeliveryVehicleMarkerCustomizationFunctionParams

Properties: task

Inherited Properties: defaultOptions , isNew , marker , vehicle

ShipmentMarkerCustomizationFunctionParams interface extends MarkerCustomizationFunctionParams

Properties: taskTrackingInfo

Inherited Properties: defaultOptions , isNew , marker

TripMarkerCustomizationFunctionParams interface extends MarkerCustomizationFunctionParams

Properties: trip

Inherited Properties: defaultOptions , isNew , marker

TripWaypointMarkerCustomizationFunctionParams interface extends TripMarkerCustomizationFunctionParams

Properties: waypointIndex

Inherited Properties: defaultOptions , isNew , marker , trip

VehicleMarkerCustomizationFunctionParams interface extends MarkerCustomizationFunctionParams

Properties: vehicle

Inherited Properties: defaultOptions , isNew , marker

VehicleWaypointMarkerCustomizationFunctionParams interface extends VehicleMarkerCustomizationFunctionParams

Properties: waypointIndex

Inherited Properties: defaultOptions , isNew , marker , vehicle

PolylineCustomizationFunctionParams interface

Properties: defaultOptions , isNew , polylines

ShipmentPolylineCustomizationFunctionParams interface extends PolylineCustomizationFunctionParams

Properties: taskTrackingInfo

Inherited Properties: defaultOptions , isNew , polylines

TripPolylineCustomizationFunctionParams interface extends PolylineCustomizationFunctionParams

Properties: trip

Inherited Properties: defaultOptions , isNew , polylines

VehiclePolylineCustomizationFunctionParams interface extends PolylineCustomizationFunctionParams

Properties: vehicle

Inherited Properties: defaultOptions , isNew , polylines

DeliveryVehiclePolylineCustomizationFunctionParams interface extends PolylineCustomizationFunctionParams

Properties: deliveryVehicle

Inherited Properties: defaultOptions , isNew , polylines

Fleet Engine Entities

Task interface

Properties: attributes , estimatedCompletionTime , latestVehicleLocationUpdate , name , outcome , outcomeLocation , outcomeLocationSource , outcomeTime , plannedLocation , remainingVehicleJourneySegments , status , targetTimeWindow , trackingId , type , vehicleId

TaskInfo interface

Properties: extraDurationMillis , id , targetTimeWindow

TaskTrackingInfo interface

Properties: attributes , estimatedArrivalTime , estimatedTaskCompletionTime , latestVehicleLocationUpdate , name , plannedLocation , remainingDrivingDistanceMeters , remainingStopCount , routePolylinePoints , state , targetTimeWindow , taskOutcome , taskOutcomeTime , trackingId

Trip interface

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

DeliveryVehicle interface

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

DeliveryVehicleStop interface

Properties: plannedLocation , state , tasks

DeliveryVehicleStopState constants

Constants: ARRIVED , ENROUTE , NEW , UNSPECIFIED

VehicleJourneySegment interface

Properties: drivingDistanceMeters , drivingDurationMillis , path , stop

VehicleLocationUpdate interface

Properties: heading , location , speedKilometersPerHour , time

VehicleWaypoint interface

Properties: distanceMeters , durationMillis , location , path , speedReadingIntervals

Vehicle interface

Properties: attributes , currentRouteSegmentEndPoint , currentRouteSegmentVersion , currentTrips , etaToFirstWaypoint , latestLocation , maximumCapacity , name , navigationStatus , remainingDistanceMeters , supportedTripTypes , vehicleState , vehicleType , waypoints , waypointsVersion

VehicleNavigationStatus constants

Constants: ARRIVED_AT_DESTINATION , ENROUTE_TO_DESTINATION , NO_GUIDANCE , OFF_ROUTE , UNKNOWN_NAVIGATION_STATUS

VehicleState constants

Constants: OFFLINE , ONLINE , UNKNOWN_VEHICLE_STATE

VehicleType constants

Constants: AUTO , TAXI , TRUCK , TWO_WHEELER , UNKNOWN

TripType constants

Constants: EXCLUSIVE , SHARED , UNKNOWN_TRIP_TYPE

TripWaypoint interface

Properties: distanceMeters , durationMillis , location , path , speedReadingIntervals , tripId , waypointType

WaypointType constants

Constants: DROP_OFF_WAYPOINT_TYPE , INTERMEDIATE_DESTINATION_WAYPOINT_TYPE , PICKUP_WAYPOINT_TYPE , UNKNOWN_WAYPOINT_TYPE

TimeWindow interface

Properties: endTime , startTime

Speed constants

Constants: NORMAL , SLOW , TRAFFIC_JAM

SpeedReadingInterval interface

Properties: endPolylinePointIndex , speed , startPolylinePointIndex

Trip and Order Progress

FleetEngineTripLocationProvider class extends PollingLocationProvider

Static Methods: TRAFFIC_AWARE_ACTIVE_POLYLINE_CUSTOMIZATION_FUNCTION , TRAFFIC_AWARE_REMAINING_POLYLINE_CUSTOMIZATION_FUNCTION

Properties: tripId

Inherited Properties: isPolling , pollingIntervalMillis

Methods: refresh

Inherited Methods: addListener

Events: error , update

Inherited Events: ispollingchange

FleetEngineTripLocationProviderOptions interface

Properties: activePolylineCustomization , authTokenFetcher , destinationMarkerCustomization , originMarkerCustomization , pollingIntervalMillis , projectId , remainingPolylineCustomization , takenPolylineCustomization , tripId , vehicleMarkerCustomization , waypointMarkerCustomization

FleetEngineTripLocationProviderUpdateEvent interface

Properties: trip

Fleet Tracking - Last Mile Fleet

FleetEngineDeliveryVehicleLocationProvider class extends PollingLocationProvider

Properties: deliveryVehicleId , shouldShowOutcomeLocations , shouldShowTasks , staleLocationThresholdMillis , taskFilterOptions

Inherited Properties: isPolling , pollingIntervalMillis

Inherited Methods: addListener

Events: error , update

Inherited Events: ispollingchange

FleetEngineDeliveryVehicleLocationProviderOptions interface

Properties: activePolylineCustomization , authTokenFetcher , deliveryVehicleId , deliveryVehicleMarkerCustomization , plannedStopMarkerCustomization , pollingIntervalMillis , projectId , remainingPolylineCustomization , shouldShowOutcomeLocations , shouldShowTasks , staleLocationThresholdMillis , takenPolylineCustomization , taskFilterOptions , taskMarkerCustomization , taskOutcomeMarkerCustomization

FleetEngineTaskFilterOptions interface

Properties: completionTimeFrom , completionTimeTo , state

FleetEngineDeliveryVehicleLocationProviderUpdateEvent interface

Properties: completedVehicleJourneySegments , deliveryVehicle , tasks

FleetEngineDeliveryFleetLocationProvider class extends PollingLocationProvider

Properties: deliveryVehicleFilter , locationRestriction , staleLocationThresholdMillis

Inherited Properties: isPolling , pollingIntervalMillis

Inherited Methods: addListener

Events: update

Inherited Events: ispollingchange

FleetEngineDeliveryFleetLocationProviderOptions interface

Properties: authTokenFetcher , deliveryVehicleFilter , deliveryVehicleMarkerCustomization , locationRestriction , projectId , staleLocationThresholdMillis

FleetEngineDeliveryFleetLocationProviderUpdateEvent interface

Properties: deliveryVehicles

Fleet Tracking - On Demand Rides & Delivery

FleetEngineVehicleLocationProvider class extends PollingLocationProvider

Static Methods: TRAFFIC_AWARE_ACTIVE_POLYLINE_CUSTOMIZATION_FUNCTION , TRAFFIC_AWARE_REMAINING_POLYLINE_CUSTOMIZATION_FUNCTION

Properties: staleLocationThresholdMillis , vehicleId

Inherited Properties: isPolling , pollingIntervalMillis

Inherited Methods: addListener

Events: error , update

Inherited Events: ispollingchange

FleetEngineVehicleLocationProviderOptions interface

Properties: activePolylineCustomization , authTokenFetcher , destinationMarkerCustomization , intermediateDestinationMarkerCustomization , originMarkerCustomization , pollingIntervalMillis , projectId , remainingPolylineCustomization , staleLocationThresholdMillis , takenPolylineCustomization , vehicleId , vehicleMarkerCustomization

FleetEngineVehicleLocationProviderUpdateEvent interface

Properties: trips , vehicle

FleetEngineFleetLocationProvider class extends PollingLocationProvider

Properties: locationRestriction , staleLocationThresholdMillis , vehicleFilter

Inherited Properties: isPolling , pollingIntervalMillis

Inherited Methods: addListener

Events: update

Inherited Events: ispollingchange

FleetEngineFleetLocationProviderOptions interface

Properties: authTokenFetcher , locationRestriction , projectId , staleLocationThresholdMillis , vehicleFilter , vehicleMarkerCustomization

FleetEngineFleetLocationProviderUpdateEvent interface

Properties: vehicles

Shipment Tracking

FleetEngineShipmentLocationProvider class extends PollingLocationProvider

Properties: trackingId

Inherited Properties: isPolling , pollingIntervalMillis

Methods: refresh

Inherited Methods: addListener

Events: error , update

Inherited Events: ispollingchange

FleetEngineShipmentLocationProviderOptions interface

Properties: activePolylineCustomization , authTokenFetcher , deliveryVehicleMarkerCustomization , destinationMarkerCustomization , pollingIntervalMillis , projectId , remainingPolylineCustomization , takenPolylineCustomization , trackingId

FleetEngineShipmentLocationProviderUpdateEvent interface

Properties: taskTrackingInfo

Library interfaces

Library interfaces

CoreLibrary interface

Properties: ColorScheme , ControlPosition , event , LatLng , LatLngAltitude , LatLngBounds , MapsNetworkError , MapsNetworkErrorEndpoint , MapsRequestError , MapsServerError , MVCArray , MVCObject , Orientation3D , Point , RPCStatus , Settings , Size , SymbolPath , UnitSystem , Vector3D

MapsLibrary interface

Properties: BicyclingLayer , Circle , Data , FeatureType , GroundOverlay , ImageMapType , InfoWindow , KmlLayer , KmlLayerStatus , Map , MapElement , MapTypeControlStyle , MapTypeId , MapTypeRegistry , MaxZoomService , MaxZoomStatus , OverlayView , Polygon , Polyline , Rectangle , RenderingType , StrokePosition , StyledMapType , TrafficLayer , TransitLayer , WebGLOverlayView , ZoomChangeEvent

Maps3DLibrary interface

Properties: AltitudeMode , FlattenerElement , GestureHandling , LocationClickEvent , Map3DElement , MapMode , Marker3DElement , Marker3DInteractiveElement , MarkerElement , MarkerInteractiveElement , Model3DElement , Model3DInteractiveElement , PlaceClickEvent , Polygon3DElement , Polygon3DInteractiveElement , Polyline3DElement , Polyline3DInteractiveElement , PopoverElement , SteadyChangeEvent

PlacesLibrary interface

Properties: AccessibilityOptions , AddressComponent , Attribution , AuthorAttribution , Autocomplete , AutocompleteService , AutocompleteSessionToken , AutocompleteSuggestion , BusinessStatus , ConnectorAggregation , ConsumerAlert , ConsumerAlertDetails , ContentBlock , EVChargeAmenitySummary , EVChargeOptions , EVConnectorType , FormattableText , FuelOptions , FuelPrice , FuelType , GenerativeSummary , GoogleMapsLinks , Money , NeighborhoodSummary , OpeningHours , OpeningHoursPeriod , OpeningHoursPoint , ParkingOptions , PaymentOptions , Photo , Place , PlaceContextualElement , PlaceContextualListConfigElement , PlaceContextualListLayout , PlacePrediction , PlacesService , PlacesServiceStatus , PlusCode , PostalAddress , PriceLevel , PriceRange , RankBy , Review , ReviewSummary , SearchBox , SearchByTextRankPreference , SearchNearbyRankPreference , SecondaryOpeningHours , StringRange

GeocodingLibrary interface

Properties: Containment , ExtraGeocodeComputation , Geocoder , GeocoderLocationType , GeocoderStatus , SpatialRelationship

RoutesLibrary interface

Properties: ComputeRouteMatrixExtraComputation , ComputeRoutesExtraComputation , DirectionalLocation , DirectionsRenderer , DirectionsService , DirectionsStatus , DistanceMatrixElementStatus , DistanceMatrixService , DistanceMatrixStatus , FallbackInfo , FallbackReason , FallbackRoutingMode , GeocodedWaypoint , GeocodingResults , MultiModalSegment , PolylineDetailInfo , PolylineDetails , PolylineQuality , ReferenceRoute , RoadFeatureState , Route , RouteLabel , RouteLeg , RouteLegLocalizedValues , RouteLegStep , RouteLegStepLocalizedValues , RouteLegTravelAdvisory , RouteLocalizedValues , RouteMatrix , RouteMatrixItem , RouteMatrixItemCondition , RouteMatrixItemError , RouteMatrixItemLocalizedValues , RouteMatrixRow , RouteTravelAdvisory , RoutingPreference , Speed , SpeedReadingInterval , StepsOverview , TollInfo , TrafficModel , TransitAgency , TransitDetails , TransitLine , TransitMode , TransitRoutePreference , TransitStop , TransitVehicle , TravelMode , VehicleEmissionType , VehicleType

MarkerLibrary interface

Properties: AdvancedMarkerClickEvent , AdvancedMarkerElement , Animation , CollisionBehavior , Marker , PinElement

GeometryLibrary interface

Properties: encoding , poly , spherical

ElevationLibrary interface

Properties: ElevationService , ElevationStatus

StreetViewLibrary interface

Properties: InfoWindow , OverlayView , StreetViewCoverageLayer , StreetViewPanorama , StreetViewPreference , StreetViewService , StreetViewSource , StreetViewStatus

JourneySharingLibrary interface

Properties: AutomaticViewportMode , DeliveryVehicleStopState , FleetEngineDeliveryFleetLocationProvider , FleetEngineDeliveryVehicleLocationProvider , FleetEngineFleetLocationProvider , FleetEngineServiceType , FleetEngineShipmentLocationProvider , FleetEngineTripLocationProvider , FleetEngineVehicleLocationProvider , JourneySharingMapView , Speed , TripType , VehicleNavigationStatus , VehicleState , VehicleType , WaypointType

DrawingLibrary interface

Properties: DrawingManager , OverlayType

VisualizationLibrary interface

Properties: HeatmapLayer

AirQualityLibrary interface

Properties: AirQualityMeterElement

AddressValidationLibrary interface

Properties: Address , AddressComponent , AddressMetadata , AddressValidation , ConfirmationLevel , Geocode , Granularity , Beta PossibleNextAction , USPSAddress , USPSData , Verdict