Google 地圖API資料整理及詳細(xì)介紹
更新時(shí)間:2016年08月06日 16:36:06 投稿:lqh
本文主要介紹Google 地圖API資料,這里整理了Google地圖API的基本知識,并詳解每個函數(shù)的意思,有需要的小伙伴可以參考下
Google 地圖API 參考手冊
地圖
構(gòu)造函數(shù)/對象 | 描述 |
---|---|
Map() | 在指定的 HTML 容器中創(chuàng)建新的地圖,該容器通常是一個DIV元素。 |
疊加層
構(gòu)造函數(shù)/對象 | 描述 |
---|---|
Marker | 創(chuàng)建一個標(biāo)記。 |
MarkerOptions | 標(biāo)記的選項(xiàng)。由DirectionsRenderer渲染的所有標(biāo)記都將使用這些選項(xiàng)。 |
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 |
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 | |
OverlayView | |
MapPanes | |
MapCanvasProjection |
事件
構(gòu)造函數(shù)/對象 | 描述 |
---|---|
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 |
控件集
構(gòu)造函數(shù)/對象 | 描述 |
---|---|
MapTypeControlOptions | Holds options for modifying a control (position and style) |
MapTypeControlStyle | Specifies what kind of map control to display (Drop-down menu or buttons) |
OverviewMapControlOptions | Options for rendering of the overview map control (opened or collapsed) |
PanControlOptions | Options for rendering of the pan control (position) |
RotateControlOptions | Options for rendering of the rotate control (position) |
ScaleControlOptions | Options for rendering of the scale control (position and style) |
ScaleControlStyle | Specifies what kind of scale control to display |
StreetViewControlOptions | Options for rendering of the street view pegman control (position) |
ZoomControlOptions | Options for rendering of the zoom control (position and style) |
ZoomControlStyle | Specifies what kind of zoom control to display (large or small) |
ControlPosition | Specifies the placement of controls on the map |
以上就是對 Google 地圖API資料整理,后續(xù)繼續(xù)補(bǔ)充相關(guān)知識,謝謝大家對本站的支持!
相關(guān)文章
arrify 轉(zhuǎn)數(shù)組實(shí)現(xiàn)示例源碼解析
這篇文章主要為大家介紹了arrify 轉(zhuǎn)數(shù)組實(shí)現(xiàn)示例源碼解析,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪2022-12-12