Google 地圖API 參考手冊
地圖
#建構子/物件 | 描述 |
---|
Map() | 在指定的HTML 容器中建立新的地圖,該容器通常是DIV元素。 |
疊加層
#建構子/物件 | 描述 |
---|
#Marker | 建立一個標記。 |
MarkerOptions | 標記的選項。由DirectionsRenderer渲染的所有標記都將使用這些選項。 |
MarkerImage | A 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) |
Animation | Specifies animations that can be played on a marker (bounce or drop) |
InfoWindow | Creates an info window |
#InfoWindowOptions | Options for rendering the info window |
#Polyline | Creates a polyline (contains path and stroke styles) |
PolylineOptions | Options for rendering the polyline |
| #Options for rendering the polyline |
#Polygon | Creates a polygon (contains path and stroke+fill styles) |
PolygonOptions | #Options for rendering the polygon |
Rectangle | Creates a rectangle (contains bounds and stroke+fill styles) |
RectangleOptions | Options for rendering the rectangle |
Circle | Creates a circle (contains center+radius and stroke+fill styles) |
#CircleOptions | Options for rendering the circle |
GroundOverlay | |
GroundOverlayOptions | |
##GroundOverlayOptions | |
#OverlayView | |
MapPanes
MapCanvasProjection | |
---|
事件 | |
#建構子/物件##描述 | | MapsEventListener
It has no methods and no constructor. Its instances are returned from
addListener(), addDomListener() and are eventually passed back to
removeListener() | | event
Adds/Removes/Trigger event listeners
#########MouseEvent######Returned from various mouse events on the map and overlays#############
#控制項集
##函數/物件 | 建構描述 |
##MapTypeControlOptions#儲存用於修改控制項(位置和樣式)的選項 | |
MapTypeControlStyle指定要顯示的地圖控制項類型(下拉式功能表或
按鈕) | |
OverviewMapControlOptions用於呈現概覽地圖控制項的選項(開啟或折疊) | |
PanControlOptions 用於渲染平移控制項(位置)的選項 | |
RotateControlOptions用於渲染旋轉控制項(位置)的選項 | |
ScaleControlOptions用來呈現比例控制項的選項(位置和樣式) | |
ScaleControlStyle指定要顯示的比例控制項類型 | |
StreetViewControlOptions用於渲染街景街景小人控制的選項(位置) | |
ZoomControlOptions#縮放控制項呈現的選項(位置和樣式) | |
ZoomControlStyle指定要顯示的縮放控制項類型(大或小) | | ##ControlPosition
指定控制項在地圖上的位置 | |
#