Google 地图API资料整理及详细介绍
Google地图API参考手册
地图
构造函数/对象
描述
Map()
在指定的HTML容器中创建新的地图,该容器通常是一个DIV元素。
叠加层
构造函数/对象
描述
Marker
创建一个标记。
MarkerOptions
标记的选项。由DirectionsRenderer渲染的所有标记都将使用这些选项。
MarkerImage
AstructurerepresentingaMarkericonorshadowimage
MarkerShape
Definesthemarkershapetouseindeterminationofamarker'sclickableregion(typeandcoord)
Animation
Specifiesanimationsthatcanbeplayedonamarker(bounceordrop)
InfoWindow
Createsaninfowindow
InfoWindowOptions
Optionsforrenderingtheinfowindow
Polyline
Createsapolyline(containspathandstrokestyles)
PolylineOptions
Optionsforrenderingthepolyline
Polygon
Createsapolygon(containspathandstroke+fillstyles)
PolygonOptions
Optionsforrenderingthepolygon
Rectangle
Createsarectangle(containsboundsandstroke+fillstyles)
RectangleOptions
Optionsforrenderingtherectangle
Circle
Createsacircle(containscenter+radiusandstroke+fillstyles)
CircleOptions
Optionsforrenderingthecircle
GroundOverlay
GroundOverlayOptions
OverlayView
MapPanes
MapCanvasProjection
事件
构造函数/对象
描述
MapsEventListener
Ithasnomethodsandnoconstructor.ItsinstancesarereturnedfromaddListener(),addDomListener()andareeventuallypassedbacktoremoveListener()
event
Adds/Removes/Triggereventlisteners
MouseEvent
Returnedfromvariousmouseeventsonthemapandoverlays
控件集
构造函数/对象
描述
MapTypeControlOptions
Holdsoptionsformodifyingacontrol(positionandstyle)
MapTypeControlStyle
Specifieswhatkindofmapcontroltodisplay(Drop-downmenuorbuttons)
OverviewMapControlOptions
Optionsforrenderingoftheoverviewmapcontrol(openedorcollapsed)
PanControlOptions
Optionsforrenderingofthepancontrol(position)
RotateControlOptions
Optionsforrenderingoftherotatecontrol(position)
ScaleControlOptions
Optionsforrenderingofthescalecontrol(positionandstyle)
ScaleControlStyle
Specifieswhatkindofscalecontroltodisplay
StreetViewControlOptions
Optionsforrenderingofthestreetviewpegmancontrol(position)
ZoomControlOptions
Optionsforrenderingofthezoomcontrol(positionandstyle)
ZoomControlStyle
Specifieswhatkindofzoomcontroltodisplay(largeorsmall)
ControlPosition
Specifiestheplacementofcontrolsonthemap
以上就是对Google地图API资料整理,后续继续补充相关知识,谢谢大家对本站的支持!