Google地圖中文API手冊登入
Google地圖中文API手冊
作者:php.cn  更新時間:2022-04-14 16:36:56

Google 地圖參考手冊



Google 地圖API 參考手冊

地圖

#建構子/物件描述
Map()在指定的HTML 容器中建立新的地圖,該容器通常是DIV元素。

疊加層

#Options for rendering the polyline#PolygonCreates a polygon (contains path and stroke+fill styles)PolygonOptions#Options for rendering the polygonRectangleCreates a rectangle (contains bounds and stroke+fill styles)RectangleOptionsOptions for rendering the rectangle CircleCreates a circle (contains center+radius and stroke+fill styles)#CircleOptionsOptions for rendering the circleGroundOverlay GroundOverlayOptions ##GroundOverlayOptions#OverlayViewMapPanes
#建構子/物件描述
#Marker建立一個標記。
MarkerOptions標記的選項。由DirectionsRenderer渲染的所有標記都將使用這些選項。
MarkerImageA structure representing a Marker icon or shadow image
MarkerShape#Defines the marker shape to use in determination of a marker's clickable region (type and coord)
AnimationSpecifies animations that can be played on a marker (bounce or drop)
InfoWindowCreates an info window
#InfoWindowOptionsOptions for rendering the info window
#Polyline Creates a polyline (contains path and stroke styles)
PolylineOptionsOptions for rendering the polyline
 
 
 

MapCanvasProjection事件#建構子/物件##描述MapsEventListenerIt has no methods and no constructor. Its instances are returned from addListener(), addDomListener() and are eventually passed back to removeListener()eventAdds/Removes/Trigger event listeners
 
#########MouseEvent######Returned from various mouse events on the map and overlays#############

#控制項集

##函數/物件建構描述##MapTypeControlOptionsMapTypeControlStyleOverviewMapControlOptionsPanControlOptionsRotateControlOptionsScaleControlOptionsScaleControlStyleStreetViewControlOptionsZoomControlOptionsZoomControlStyle##ControlPosition指定控制項在地圖上的位置#
#儲存用於修改控制項(位置和樣式)的選項
指定要顯示的地圖控制項類型(下拉式功能表或 按鈕)
用於呈現概覽地圖控制項的選項(開啟或折疊)
用於渲染平移控制項(位置)的選項
用於渲染旋轉控制項(位置)的選項
用來呈現比例控制項的選項(位置和樣式)
指定要顯示的比例控制項類型
用於渲染街景街景小人控制的選項(位置)
#縮放控制項呈現的選項(位置和樣式)
指定要顯示的縮放控制項類型(大或小)