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

新闻动态 联系方式 广告合作 招聘英才 安科实验室 帮助与反馈 About Us

Copyright © 2013 - 2019 Ancii.com All Rights Reserved京ICP备18063983号-5 京公网安备11010802014868号