Google 地图 API 参考手册

Google 地图API 参考手册

地图

构造函数/对象描述
Map()在指定的 HTML 容器中创建新的地图,该容器通常是一个DIV元素。

叠加层

构造函数/对象描述
Marker创建一个标记。
MarkerOptions标记的选项。由DirectionsRenderer渲染的所有标记都将使用这些选项。
MarkerImageA structure representing a Marker icon or shadow image
MarkerShapeDefines 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
PolylineCreates a polyline (contains path and stroke styles)
PolylineOptionsOptions for rendering the polyline
PolygonCreates a polygon (contains path and stroke+fill styles)
PolygonOptionsOptions for rendering the polygon
RectangleCreates 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 circle
GroundOverlay
GroundOverlayOptions
OverlayView
MapPanes
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
MouseEventReturned from various mouse events on the map and overlays

控件集

构造函数/对象描述
MapTypeControlOptionsHolds options for modifying a control (position and style)
MapTypeControlStyleSpecifies what kind of map control to display (Drop-down menu or buttons)
OverviewMapControlOptionsOptions for rendering of the overview map control (opened or collapsed)
PanControlOptionsOptions for rendering of the pan control (position)
RotateControlOptionsOptions for rendering of the rotate control (position)
ScaleControlOptionsOptions for rendering of the scale control (position and style)
ScaleControlStyleSpecifies what kind of scale control to display
StreetViewControlOptionsOptions for rendering of the street view pegman control (position)
ZoomControlOptionsOptions for rendering of the zoom control (position and style)
ZoomControlStyleSpecifies what kind of zoom control to display (large or small)
ControlPositionSpecifies the placement of controls on the map
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值