Google Maps JavaScript API V3 Reference

با مجموعه‌ها، منظم بمانید ذخیره و دسته‌بندی محتوا براساس اولویت‌های شما.

آخرین به روز رسانی سه شنبه، 28 فوریه 2023

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

برای اطلاعات بیشتر به یادداشت‌های انتشار و نسخه‌سازی مراجعه کنید.
همچنین به مستندات مرجع نسخه 3.51 (کانال فصلنامه)، نسخه 3.50 و نسخه 3.49 مراجعه کنید.

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

مفاهیم جهانی

google.maps

فضای نام google.maps

روش‌های استاتیک: importLibrary

ثابت ها: version

رابط CoreLibrary

ویژگی ها: ControlPosition ، event ، LatLng ، LatLngAltitude UnitSystem LatLngBounds ، MapsNetworkError ، MapsNetworkErrorEndpoint ، MapsRequestError ، MapsServerError ، MVCArray ، MVCObject ، Point ، SymbolPath Settings Size .

رابط MapsLibrary

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

رابط کتابخانه مکان ها

ویژگی‌ها: AddressComponent ، Attribution ، Autocomplete ، AutocompleteService ، AutocompleteSessionToken ، BusinessStatus ، OpeningHours ، OpeningHoursPeriod ، OpeningHoursPoint RankBy Photo ، PhotoAttribution ، Place ، PlacesService ، PlacesServiceStatus ، Review SearchBox PlusCode

رابط GeocodingLibrary

ویژگی ها: Geocoder ، GeocoderLocationType ، GeocoderStatus

رابط کتابخانه مسیرها

ویژگی ها: DirectionsRenderer ، DirectionsService ، DirectionsStatus ، DistanceMatrixElementStatus ، DistanceMatrixService ، DistanceMatrixStatus ، TrafficModel ، TransitMode ، TransitRoutePreference ، TravelMode ، VehicleType

رابط MarkerLibrary

ویژگی ها: AdvancedMarkerView ، Animation ، CollisionBehavior ، Marker ، PinView

رابط GeometryLibrary

خواص: encoding ، poly ، spherical

رابط ElevationLibrary

ویژگی ها: ElevationService ، ElevationStatus

رابط StreetViewLibrary

ویژگی ها: InfoWindow ، OverlayView ، StreetViewCoverageLayer ، StreetViewPanorama ، StreetViewPreference ، StreetViewService ، StreetViewSource ، StreetViewStatus

Beta رابط JourneySharingLibrary

ویژگی‌ها: AutomaticViewportMode ، DeliveryVehicleStopState JourneySharingMapView FleetEngineDeliveryFleetLocationProvider ، FleetEngineDeliveryVehicleLocationProvider ، FleetEngineServiceType FleetEngineTripLocationProvider FleetEngineShipmentLocationProvider

رابط DrawingLibrary

ویژگی ها: DrawingManager ، OverlayType

رابط کاربری VisualizationLibrary

ویژگی ها: HeatmapLayer

تنظیمات (بتا)

Beta کلاس تنظیمات

روش های استاتیک: Beta getInstance

خواص: Beta experienceIds

سیستم رویداد

کلاس رویداد

روش‌های استاتیک: addListener ، addListenerOnce ، clearInstanceListeners ، clearListeners ، hasListeners ، removeListener ، trigger ، addDomListener ، addDomListenerOnce

رابط MapsEventListener

روش ها: remove

کلاس MVCObject

روش‌ها: addListener ، bindTo ، get ، notify ، set ، setValues ، unbind ، unbindAll

کلاس MVCAray

روش‌ها: clear , forEach , getArray , getAt , getLength , insertAt , pop , push , removeAt , setAt

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

رابط ErrorEvent

خواص: error

خطاها

کلاس MapsNetworkError

ویژگی ها: code ، endpoint

کلاس MapsRequestError
کلاس MapsServerError
ثابت های MapsNetworkErrorEndpoint

Constants: DIRECTIONS_ROUTE , DISTANCE_MATRIX , ELEVATION_ALONG_PATH , ELEVATION_LOCATIONS , FLEET_ENGINE_GET_DELIVERY_VEHICLE , FLEET_ENGINE_GET_TRIP , FLEET_ENGINE_GET_VEHICLE , FLEET_ENGINE_LIST_DELIVERY_VEHICLES , FLEET_ENGINE_LIST_TASKS , FLEET_ENGINE_LIST_VEHICLES , FLEET_ENGINE_SEARCH_TASKS , GEOCODER_GEOCODE , MAPS_MAX_ZOOM , PLACES_AUTOCOMPLETE , PLACES_DETAILS , PLACES_FIND_PLACE_FROM_PHONE_NUMBER , PLACES_FIND_PLACE_FROM_QUERY , PLACES_GATEWAY , PLACES_LOCAL_CONTEXT_SEARCH , PLACES_NEARBY_SEARCH , STREETVIEW_GET_PANORAMA

نقشه ها

نقشه ها

کلاس نقشه

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

روش‌ها: fitBounds ، getBounds ، getCenter ، getClickableIcons ، getDiv ، Beta getFeatureLayer ، getHeading ، Beta getMapCapabilities , getMapTypeId , getProjection , getRenderingType , getStreetView , getTilt , getZoom , moveCamera , panBy , panTo , panToBounds setOptions setCenter , setClickableIcons , setHeading , setMapTypeId , setStreetView , setTilt , setZoom

ثابت ها: DEMO_MAP_ID

رویدادها: bounds_changed ، center_changed ، click ، contextmenu ، dblclick ، drag ، dragend ، dragstart ، heading_changed ، idle ، isfractionalzoomenabled_changed ، Beta mapcapabilities_changed , maptypeid_changed , mousemove , mouseout , mouseover , projection_changed , renderingtype_changed , tilesloaded , tilt_changed , zoom_changed , rightclick

رابط MapOptions

Properties: backgroundColor , center , clickableIcons , controlSize , disableDefaultUI , disableDoubleClickZoom , draggableCursor , draggingCursor , fullscreenControl , fullscreenControlOptions , gestureHandling , heading , isFractionalZoomEnabled , keyboardShortcuts , mapId , mapTypeControl , mapTypeControlOptions , mapTypeId , maxZoom , minZoom , noClear , panControl , panControlOptions , restriction , rotateControl ، rotateControlOptions ، scaleControl ، scaleControlOptions ، scrollwheel ، streetView ، streetViewControl ، streetViewControlOptions ، styles ، tilt ، zoom ، zoomControl ، zoomControlOptions ، draggable

رابط MapTypeStyle

ویژگی ها: elementType ، featureType ، stylers

رابط MapMouseEvent

ویژگی ها: domEvent ، latLng

روش: stop

رابط IconMouseEvent

خواص: placeId

ثابت های MapTypeId

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

کلاس MapTypeRegistry

روش ها: set

رابط MapRestriction

ویژگی ها: latLngBounds ، strictBounds

کلاس TrafficLayer

روش ها: getMap ، setMap ، setOptions

رابط TrafficLayerOptions

ویژگی ها: autoRefresh ، map

کلاس TransitLayer

روش ها: getMap ، setMap

کلاس BicyclingLayer

روش ها: getMap ، setMap

Beta رابط CameraOptions

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

رابط VisibleRegion

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

RenderingType ثابت

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

Beta رابط MapCapabilities

ویژگی ها: isAdvancedMarkersAvailable ، isDataDrivenStylingAvailable

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

استایل مبتنی بر داده (بتا)

Beta رابط FeatureLayer

ویژگی ها: featureType ، isAvailable ، style

روش ها: addListener

Beta ثابت های FeatureType

ثابت ها: ADMINISTRATIVE_AREA_LEVEL_1 ، ADMINISTRATIVE_AREA_LEVEL_2 ، COUNTRY ، LOCALITY ، POSTAL_CODE ، NEIGHBORHOOD ، ADMINISTRATIVE_AREA_LEVEL_3 ، ADMINISTRATIVE_AREA_LEVEL_4 ، SUBLOCALITY_LEVEL_1

Beta FeatureStyleFunction typedef
Beta رابط FeatureStyleFunctionOptions

خواص: feature

Beta رابط FeatureStyleOptions

خواص: fillColor ، fillOpacity ، strokeColor ، strokeOpacity ، strokeWeight

Beta رابط ویژگی

ویژگی ها: featureType

Beta رابط PlaceFeature

خواص: placeId

روش ها: fetchPlace

Beta رابط FeatureMouseEvent

خواص: features

کنترل ها

رابط FullscreenControlOptions

خواص: position

رابط MapTypeControlOptions

ویژگی ها: mapTypeIds ، position ، style

ثابت های MapTypeControlStyle

ثابت ها: DEFAULT ، DROPDOWN_MENU ، HORIZONTAL_BAR

رابط MotionTrackingControlOptions

خواص: position

رابط PanControlOptions

خواص: position

رابط RotateControlOptions

خواص: position

رابط ScaleControlOptions

خواص: style

ثابت های ScaleControlStyle

ثابت ها: DEFAULT

رابط StreetViewControlOptions

خواص: position

رابط ZoomControlOptions

خواص: position

ثابت های ControlPosition

ثابت ها: BOTTOM_CENTER ، BOTTOM_LEFT ، BOTTOM_RIGHT ، LEFT_BOTTOM ، LEFT_CENTER ، LEFT_TOP ، RIGHT_BOTTOM ، RIGHT_CENTER ، RIGHT_TOP ، TOP_LEFT TOP_CENTER TOP_RIGHT

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

فضای نام رمزگذاری

روش های استاتیک: decodePath ، encodePath

فضای نام کروی

روش های استاتیک: computeArea ، computeDistanceBetween ، computeHeading ، computeLength ، computeOffset ، computeOffsetOrigin ، computeSignedArea ، interpolate

فضای نام پلی

روش‌های استاتیک: containsLocation ، isLocationOnEdge

طراحی روی نقشه

نشانگر

کلاس نشانگر

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

ثابت ها: MAX_ZINDEX

رویدادها: animation_changed , click , clickable_changed title_changed contextmenu , cursor_changed , dblclick , drag , dragend , draggable_changed , dragstart , flat_changed , icon_changed , mousedown , mouseout , mousedown_changed , mouseover , position_changed , mouseup , shape_changed , visible_changed , zindex_changed rightclick

رابط MarkerOptions

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

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

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

نشانگرهای پیشرفته (بتا)

Beta کلاس AdvancedMarkerView

ویژگی ها: collisionBehavior ، content ، draggable ، element ، map ، position ، title ، zIndex

روش ها: addListener

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

Beta رابط AdvancedMarkerViewOptions

ویژگی ها: collisionBehavior ، content ، draggable ، element ، map ، position ، title ، zIndex

Beta کلاس PinView

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

روش ها: addListener

Beta رابط PinViewOptions

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

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

کلاس InfoWindow

روش ها: close ، focus ، getContent ، getPosition ، getZIndex ، open ، setContent ، setOptions ، setPosition ، setZIndex

رویدادها: closeclick ، content_changed ، domready ، position_changed ، visible ، zindex_changed

رابط InfoWindowOptions

ویژگی ها: ariaLabel ، content ، disableAutoPan ، maxWidth ، minWidth ، pixelOffset ، position ، zIndex

رابط InfoWindowOpenOptions

ویژگی ها: anchor ، map ، shouldFocus

چند ضلعی ها

کلاس پلی لاین

روش ها: 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 ، path ، strokeColor ، strokeOpacity ، strokeWeight ، visible ، zIndex

رابط IconSequence

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

کلاس چند ضلعی

روش ها: getDraggable ، getEditable ، getMap ، getPath ، getPaths ، getVisible ، setDraggable ، setEditable ، setMap ، setOptions ، setPath ، setPaths ، setVisible

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

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

کلاس مستطیل

روش ها: getBounds ، getDraggable ، getEditable ، getMap ، getVisible ، setBounds ، setDraggable ، setEditable ، setMap ، setOptions ، setVisible

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

کلاس دایره

روش ها: getBounds ، getCenter ، getDraggable ، getEditable ، getMap ، getRadius ، getVisible ، setCenter ، setDraggable ، setEditable ، setMap ، setOptions ، setRadius ، setVisible

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

ثابت های StrokePosition

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

داده ها

کلاس داده

روش‌ها setControls add ، addGeoJson ، contains ، forEach ، getControlPosition ، getControls ، getDrawingMode ، getFeatureById ، getMap ، getStyle setControlPosition loadGeoJson ، overrideStyle ، remove ، revertStyle ، setMap ، setStyle setDrawingMode toGeoJson

رویدادها: 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.StylingFunction typedef
کلاس داده.ویژگی

روش ها: forEachProperty ، getGeometry ، getId ، getProperty ، removeProperty ، setGeometry ، setProperty ، toGeoJson

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

رابط Data.FeatureOptions

خواص: geometry ، id ، properties

رابط Data.Geometry

روش‌ها: forEachLatLng ، getType

کلاس Data.Point

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

کلاس Data.MultiPoint

روش‌ها: forEachLatLng ، getArray ، getAt ، getLength ، getType

کلاس Data.LineString

روش‌ها: forEachLatLng ، getArray ، getAt ، getLength ، getType

کلاس Data.MultiLineString

روش‌ها: forEachLatLng ، getArray ، getAt ، getLength ، getType

کلاس Data.LinearRing

روش‌ها: forEachLatLng ، getArray ، getAt ، getLength ، getType

کلاس Data.Polygon

روش‌ها: forEachLatLng ، getArray ، getAt ، getLength ، getType

کلاس Data.MultiPolygon

روش‌ها: forEachLatLng ، getArray ، getAt ، getLength ، getType

کلاس Data.GeometryCollection

روش‌ها: forEachLatLng ، getArray ، getAt ، getLength ، getType

رابط Data.MouseEvent

خواص: feature

رابط Data.AddFeatureEvent

خواص: feature

رابط Data.RemoveFeatureEvent

خواص: feature

رابط Data.SetGeometryEvent

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

رابط Data.SetPropertyEvent

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

رابط Data.RemovePropertyEvent

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

عناصر DOM

کلاس OverlayView

روش‌های استاتیک: preventMapHitsAndGesturesFrom ، preventMapHitsFrom

روش ها: draw ، getMap ، getPanes ، getProjection ، onAdd ، onRemove ، setMap

رابط MapPanes

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

رابط MapCanvasProjection

روش‌ها: fromContainerPixelToLatLng ، fromDivPixelToLatLng ، fromLatLngToContainerPixel ، fromLatLngToDivPixel ، getVisibleRegion ، getWorldWidth

KML

کلاس KmlLayer

روش ها: getDefaultViewport ، getMap ، getMetadata ، getStatus ، getUrl ، getZIndex ، setMap ، setOptions ، setUrl ، setZIndex

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

رابط KmlLayerOptions

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

رابط KmlLayerMetadata

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

ثابت های KmlLayerStatus

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

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

روش ها: getOpacity ، getTile ، releaseTile ، setOpacity

رویدادها: tilesloaded

رابط ImageMapTypeOptions

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

کلاس GroundOverlay

روش‌ها: getBounds ، getMap ، getOpacity ، getUrl ، setMap ، setOpacity

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

رابط کاربری GroundOverlayOptions

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

کلاس StyledMapType

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

روش‌ها: getTile ، releaseTile

رابط StyledMapTypeOptions

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

کتابخانه طراحی

کلاس DrawingManager

روش ها: getDrawingMode ، getMap ، setDrawingMode ، setMap ، setOptions

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

روش ها: getData ، getMap ، setData ، setMap ، setOptions

رابط HeatmapLayerOptions

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

رابط WeightedLocation

خواص: location ، weight

حداکثر زوم

کلاس MaxZoomService

روش ها: getMaxZoomAtLatLng

رابط MaxZoomResult

ویژگی ها: status ، zoom

ثابت های MaxZoomStatus

ثابت ها: ERROR ، OK

نمای خیابان

تفسیر

کلاس StreetViewPanorama

ویژگی ها: controls

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

رویدادها: closeclick ، pano_changed ، position_changed ، pov_changed ، resize ، status_changed ، visible_changed ، zoom_changed

رابط StreetViewPanoramaOptions

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

رابط StreetViewAddressControlOptions

خواص: position

رابط PanoProviderOptions

خواص: cors

رابط StreetViewTileData

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

روش ها: getTileUrl

رابط StreetViewPov

ویژگی ها: heading ، pitch

کلاس StreetViewCoverageLayer

روش ها: getMap ، setMap

سرویس

کلاس StreetViewService

روش ها: getPanorama

ثابت های StreetViewStatus

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

رابط StreetViewLocationRequest

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

رابط StreetViewPanoRequest

خواص: pano

رابط StreetViewResponse

خواص: data

رابط StreetViewLocation

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

ثابت های StreetViewPreference

ثابت ها: BEST ، NEAREST

ثابت های StreetViewSource

ثابت ها: DEFAULT ، OUTDOOR

رابط StreetViewPanoramaData

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

خواص: description ، heading ، pano

مکان ها

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

کلاس تکمیل خودکار

روش‌ها: getBounds ، getFields ، getPlace ، setBounds ، setComponentRestrictions ، setFields ، setOptions ، setTypes

رویدادها: place_changed

رابط AutocompleteOptions

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

روش ها: getBounds ، getPlaces ، setBounds

رویدادها: places_changed

رابط SearchBoxOptions

خواص: bounds

مکان (بتا)

Beta محل کلاس

روش‌های استاتیک: findPlaceFromPhoneNumber ، findPlaceFromQuery

Properties: addressComponents , adrFormatAddress , attributions , businessStatus , displayName , formattedAddress , googleMapsURI , hasCurbsidePickup , hasDelivery , hasDineIn , hasTakeout , hasWheelchairAccessibleEntrance , icon , iconBackgroundColor , id , internationalPhoneNumber , isReservable , location , nationalPhoneNumber , openingHours , photos , plusCode , priceLevel , rating , requestedLanguage , requestedRegion , reviews , servesBeer , servesBreakfast , servesBrunch , servesDinner , servesLunch , servesVegetarianFood , servesWine شراب , svgIconMaskURI , types , userRatingsCount , utcOffsetMinutes , nuts RI, viewport websiteURI , utcff

روش‌ها: fetchFields ، getNextOpeningTime ، isOpen

Beta رابط PlaceOptions

ویژگی ها: id ، requestedLanguage ، requestedRegion

Beta AddressComponent کلاس

ویژگی ها: longText ، shortText ، types

Beta کلاس اسناد

ویژگی ها: provider ، providerURI

Beta رابط FetchFieldsRequest

خواص: fields ، sessionToken

Beta کلاس OpeningHours

ویژگی‌ها: periods ، weekdayDescriptions

Beta کلاس OpeningHoursPeriod

خواص: close ، open

Beta کلاس OpeningHoursPoint

خواص: day ، hour ، minute

Beta کلاس عکس

ویژگی ها: attributions ، heightPx ، widthPx

روش ها: getURI

Beta کلاس PhotoAttribution

ویژگی ها: author ، authorURI

Beta کلاس پلاس کد

ویژگی ها: compoundCode ، globalCode

Beta مرور کلاس

ویژگی ها: author , authorPhotoURI , authorURI , publishTime , rating , relativePublishTimeDescription , text , textLanguageCode

خدمات مکان ها

کلاس PlacesService

روش‌ها: findPlaceFromPhoneNumber ، findPlaceFromQuery ، getDetails ، nearbySearch ، textSearch

رابط PlaceDetailsRequest

ویژگی ها: fields ، language ، placeId ، region ، sessionToken

رابط FindPlaceFromPhoneNumberRequest

ویژگی ها: fields ، language ، locationBias ، phoneNumber

رابط FindPlaceFromQueryRequest

ویژگی ها: fields ، language ، locationBias ، query

رابط PlaceSearchRequest

ویژگی ها: bounds ، keyword ، language ، location ، maxPriceLevel ، minPriceLevel ، openNow ، radius ، rankBy ، type ، name

رابط TextSearchRequest

ویژگی ها: bounds ، language ، location ، query ، radius ، region ، type

ثابت های RankBy

ثابت ها: DISTANCE ، PROMINENCE

LocationBias typedef
LocationRestriction typedef
ثابت های PlacesServiceStatus

ثابت ها: INVALID_REQUEST ، NOT_FOUND ، OK ، OVER_QUERY_LIMIT ، REQUEST_DENIED ، UNKNOWN_ERROR ، ZERO_RESULTS

رابط PlaceSearchPagination

خواص: hasNextPage

روش ها: nextPage

رابط PlaceResult

خواص reviews address_components name adr_address price_level aspects place_id business_status plus_code formatted_address ، formatted_phone_number ، geometry ، html_attributions ، icon photos in stynes icon_background_color utc_offset_minutes icon_mask_base_uri ، types ، url opening_hours international_phone_number ، user_ratings_total ، rating . vicinity ، website ، utc_offset ، permanently_closed

رابط PlaceAspectRating

خواص: rating ، type

ثابت های وضعیت کسب و کار

ثابت ها: CLOSED_PERMANENTLY ، CLOSED_TEMPORARILY ، OPERATIONAL

رابط مکان هندسه

ویژگی ها: location ، viewport

رابط PlaceOpeningHours

ویژگی‌ها: periods ، weekday_text ، open_now

روش ها: isOpen

رابط PlaceOpeningHoursPeriod

خواص: close ، open

رابط PlaceOpeningHoursTime

ویژگی ها: day ، hours ، minutes ، nextDate ، time

رابط PlacePlusCode

ویژگی ها: compound_code ، global_code

رابط PlacePhoto

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

روش ها: getUrl

رابط PhotoOptions

ویژگی ها: maxHeight ، maxWidth

رابط PlaceReview

ویژگی ها: author_name ، author_url ، language ، profile_photo_url ، rating ، relative_time_description ، text ، time ، aspects

خدمات تکمیل خودکار مکان‌ها

کلاس AutocompleteService

روش‌ها: getPlacePredictions ، getQueryPredictions

رابط درخواست تکمیل خودکار

ویژگی ها: bounds ، componentRestrictions ، input ، language ، location ، offset ، origin ، radius ، region ، sessionToken ، types

رابط AutocompleteResponse

خواص: predictions

واسط QueryAutocompletionRequest

ویژگی ها: bounds ، input ، location ، offset ، radius

کلاس AutocompleteSessionToken
رابط ComponentRestrictions

خواص: country

رابط AutocompletePrediction

ویژگی‌ها: description ، distance_meters ، matched_substrings ، place_id ، structured_formatting ، terms ، types

رابط QueryAutocompletePrediction

ویژگی ها: description ، matched_substrings ، place_id ، terms

رابط PredictionTerm

خواص: offset ، value

رابط PredictionSubstring

خواص: length ، offset

رابط StructuredFormatting

ویژگی ها: main_text ، main_text_matched_substrings ، secondary_text

ژئوکدر

کلاس ژئوکدر

روش ها: geocode

رابط GeocoderRequest

ویژگی ها: address ، bounds ، componentRestrictions ، language ، location ، placeId ، region

رابط GeocoderComponentRestrictions

ویژگی ها: administrativeArea ، country ، locality ، postalCode ، route

GeocoderStatus ثابت

ثابت ها: ERROR , INVALID_REQUEST , OK , OVER_QUERY_LIMIT , REQUEST_DENIED , UNKNOWN_ERROR , ZERO_RESULTS

رابط GeocoderResponse

خواص: results

رابط GeocoderResult

ویژگی ها: address_components ، formatted_address ، geometry ، partial_match ، place_id ، plus_code ، postcode_localities ، types

رابط GeocoderAddressComponent

ویژگی ها: long_name ، short_name ، types

رابط GeocoderGeometry

ویژگی‌ها: bounds ، location ، location_type ، viewport

ثابت های GeocoderLocationType

ثابت ها: APPROXIMATE ، GEOMETRIC_CENTER ، RANGE_INTERPOLATED ، ROOFTOP

مسیرها

جهت ها

کلاس خدمات Directions

روش ها: route

رابط DirectionsRequest

ویژگی‌ها: avoidFerries ، avoidHighways ، avoidTolls ، destination ، drivingOptions ، language ، optimizeWaypoints ، origin ، provideRouteAlternatives ، region ، transitOptions ، travelMode ، unitSystem ، waypoints

مسیرهای ثابت وضعیت

ثابت ها: INVALID_REQUEST ، MAX_WAYPOINTS_EXCEEDED ، NOT_FOUND ، OK ، OVER_QUERY_LIMIT ، REQUEST_DENIED ، UNKNOWN_ERROR ، ZERO_RESULTS

رابط DirectionsResult

ویژگی‌ها: available_travel_modes ، geocoded_waypoints ، routes

کلاس DirectionsRenderer

روش ها: getDirections ، getMap ، getPanel ، getRouteIndex ، setDirections ، setMap ، setOptions ، setPanel ، setRouteIndex

رویدادها: directions_changed

رابط DirectionsRendererOptions

ویژگی‌ها: directions ، draggable ، hideRouteList ، infoWindow ، map ، markerOptions ، panel ، polylineOptions ، preserveViewport ، routeIndex ، suppressBicyclingLayer ، suppressInfoWindows ، suppressMarkers ، suppressPolylines

رابط DirectionsWaypoint

خواص: location ، stopover

رابط DirectionsGeocodedWaypoint

ویژگی ها: partial_match ، place_id ، types

رابط DirectionsRoute

ویژگی‌ها: bounds ، copyrights ، fare ، legs ، overview_path ، overview_polyline ، summary ، warnings ، waypoint_order

رابط DirectionsLeg

ویژگی ها: arrival_time ، departure_time ، distance ، duration ، مدت duration_in_traffic ، end_address ، end_location ، start_address ، start_location ، steps ، via_waypoints ، traffic_speed_entry

رابط DirectionsStep

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

خواص: points

رابط مکان

ویژگی ها: location ، placeId ، query

ثابت های TravelMode

ثابت: BICYCLING ، DRIVING ، TRANSIT ، WALKING

رابط DrivingOptions

ویژگی ها: departureTime ، trafficModel

ثابت های TrafficModel

ثابت‌ها: BEST_GUESS ، OPTIMISTIC ، PESSIMISTIC

رابط TransitOptions

ویژگی ها: arrivalTime ، departureTime ، modes ، routingPreference

ثابت های TransitMode

ثابت: BUS ، RAIL ، SUBWAY ، TRAIN ، TRAM

ثابت های TransitRoutePreference

ثابت: FEWER_TRANSFERS ، LESS_WALKING

رابط TransitFare

خواص: currency ، value

رابط TransitDetails

ویژگی‌ها: arrival_stop ، arrival_time ، departure_stop ، departure_time ، headsign ، headway ، line ، num_stops ، trip_short_name

رابط TransitStop

خواص: location ، name

رابط TransitLine

ویژگی ها: agencies ، color ، icon ، name ، short_name ، text_color ، url ، vehicle

رابط TransitAgency

ویژگی ها: name ، phone ، url

رابط TransitVehicle

ویژگی ها: icon ، local_icon ، name ، type

ثابت های نوع وسیله نقلیه

SUBWAY RAIL BUS ، CABLE_CAR ، COMMUTER_TRAIN ، FERRY ، FUNICULAR ، GONDOLA_LIFT ، HEAVY_RAIL ، HIGH_SPEED_TRAIN ، INTERCITY_BUS ، METRO_RAIL ، MONORAIL ، OTHER ، SHARE_TAXI ، TRAM ، TROLLEYBUS

ثابت های سیستم واحد

ثابت ها: IMPERIAL ، METRIC

رابط فاصله

خواص: text ، value

رابط مدت زمان

خواص: text ، value

رابط زمان

ویژگی ها: text ، time_zone ، value

ثابت های DirectionsTravelMode
DirectionsUnit ثابتهای سیستم

ماتریس فاصله

کلاس DistanceMatrixService

روش ها: getDistanceMatrix

رابط DistanceMatrixRequest

ویژگی ها: avoidFerries ، avoidHighways ، avoidTolls ، destinations ، drivingOptions ، language ، origins ، region ، transitOptions ، travelMode ، unitSystem

رابط DistanceMatrixResponse

ویژگی ها: destinationAddresses ، originAddresses ، rows

رابط DistanceMatrixResponseRow

خواص: elements

رابط DistanceMatrixResponseElement

ویژگی ها: distance ، duration ، duration_in_traffic ، fare ، status

ثابت های DistanceMatrixStatus

ثابت ها: INVALID_REQUEST , MAX_DIMENSIONS_EXCEEDED , MAX_ELEMENTS_EXCEEDED , OK , OVER_QUERY_LIMIT , REQUEST_DENIED , UNKNOWN_ERROR

ثابت های DistanceMatrixElementStatus

Constants: NOT_FOUND , OK , ZERO_RESULTS

Elevation

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

Local Context (beta)

Map View

Beta LocalContextMapView class

Properties: directionsOptions , element , isTransitioningMapBounds , locationBias , locationRestriction , maxPlaceCount , placeTypePreferences

Methods: addListener , hidePlaceDetailsView , search

Events: error , placedetailsviewhidestart , placedetailsviewshowstart

Beta LocalContextMapViewOptions interface

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

Beta PlaceTypePreference typedef
Beta MapDirectionsOptions class

Methods: addListener

Beta MapDirectionsOptionsLiteral interface

Properties: origin

Beta PinOptions interface

Properties: background , glyphColor , scale

PlaceChooserViewSetupOptions interface

Properties: layoutMode , position

Beta PlaceChooserLayoutMode constants

Constants: HIDDEN , SHEET

Beta PlaceChooserPosition constants

Constants: BLOCK_END , INLINE_END , INLINE_START

PlaceDetailsViewSetupOptions interface

Properties: hidesOnMapClick , layoutMode , position

Beta PlaceDetailsLayoutMode constants

Constants: INFO_WINDOW , SHEET

Beta PlaceDetailsPosition constants

Constants: INLINE_END , INLINE_START

Journey Sharing (beta)

Map View

Beta JourneySharingMapView class

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

Beta JourneySharingMapViewOptions interface

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

Beta AutomaticViewportMode constants

Constants: FIT_ANTICIPATED_ROUTE , NONE

Beta LocationProvider abstract class

Methods: addListener

Beta PollingLocationProvider abstract class

Properties: isPolling

Events: ispollingchange

Beta PollingLocationProviderIsPollingChangeEvent interface

Properties: error

Authentication

Beta AuthToken interface

Properties: expiresInSeconds , token

Beta AuthTokenContext interface

Properties: deliveryVehicleId , taskId , trackingId , tripId , vehicleId

Beta AuthTokenFetcher typedef
Beta AuthTokenFetcherOptions interface

Properties: context , serviceType

Beta FleetEngineServiceType constants

Constants: DELIVERY_VEHICLE_SERVICE , TASK_SERVICE , TRIP_SERVICE , UNKNOWN_SERVICE

UI Customization

Beta PolylineSetup typedef
Beta PolylineSetupOptions interface

Properties: polylineOptions , visible

Beta DefaultPolylineSetupOptions interface

Properties: defaultPolylineOptions , defaultVisible

Beta MarkerSetup typedef
Beta MarkerSetupOptions interface

Properties: markerOptions

Beta DefaultMarkerSetupOptions interface

Properties: defaultMarkerOptions

Beta MarkerCustomizationFunctionParams interface

Properties: defaultOptions , isNew , marker

Beta DeliveryVehicleMarkerCustomizationFunctionParams interface

Properties: vehicle

Beta PlannedStopMarkerCustomizationFunctionParams interface

Properties: stopIndex

Beta TaskMarkerCustomizationFunctionParams interface

Properties: task

Beta ShipmentMarkerCustomizationFunctionParams interface

Properties: taskTrackingInfo

Beta TripMarkerCustomizationFunctionParams interface

Properties: trip

Beta TripWaypointMarkerCustomizationFunctionParams interface

Properties: waypointIndex

Fleet Engine Entities

Beta Task interface

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

Beta TaskTrackingInfo interface

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

Beta Trip interface

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

Beta DeliveryVehicle interface

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

Beta DeliveryVehicleStop interface

Properties: tasks

Beta DeliveryVehicleStopState constants

Constants: ARRIVED , ENROUTE , NEW , UNSPECIFIED

Beta VehicleJourneySegment interface

Properties: drivingDistanceMeters , drivingDurationMillis , path , stop

Beta VehicleLocationUpdate interface

Properties: heading , location , speedKilometersPerHour , time

Beta VehicleWaypoint interface

Properties: distanceMeters , durationMillis , location , path

Trip and Order Progress

Beta FleetEngineTripLocationProvider class

Properties: tripId

Methods: refresh

Events: error , update

Beta FleetEngineTripLocationProviderOptions interface

Properties: authTokenFetcher , destinationMarkerCustomization , originMarkerCustomization , pollingIntervalMillis , projectId , tripId , vehicleMarkerCustomization , waypointMarkerCustomization

Beta FleetEngineTripLocationProviderUpdateEvent interface

Properties: trip

Fleet Tracking

Beta FleetEngineDeliveryVehicleLocationProvider class

Properties: deliveryVehicleId , shouldShowOutcomeLocations , shouldShowTasks , staleLocationThresholdMillis , taskFilterOptions

Events: error , update

Beta FleetEngineDeliveryVehicleLocationProviderOptions interface

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

Beta FleetEngineTaskFilterOptions interface

Properties: completionTimeFrom , completionTimeTo , state

Beta FleetEngineDeliveryVehicleLocationProviderUpdateEvent interface

Properties: completedVehicleJourneySegments , deliveryVehicle , tasks

Beta FleetEngineDeliveryFleetLocationProvider class

Properties: deliveryVehicleFilter , locationRestriction , pollingIntervalMillis , staleLocationThresholdMillis

Events: update

Beta FleetEngineDeliveryFleetLocationProviderOptions interface

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

Beta FleetEngineDeliveryFleetLocationProviderUpdateEvent interface

Properties: deliveryVehicles

Shipment Tracking

Beta FleetEngineShipmentLocationProvider class

Properties: trackingId

Methods: refresh

Events: error , update

Beta FleetEngineShipmentLocationProviderOptions interface

Properties: authTokenFetcher , deliveryVehicleMarkerCustomization , destinationMarkerCustomization , pollingIntervalMillis , projectId , trackingId

Beta FleetEngineShipmentLocationProviderUpdateEvent interface

Properties: taskTrackingInfo