首页 >> 精选知识 >

今日视点:Google(地图API资料整理及详细介绍)

2023-07-04 13:34:13 来源: 用户: 

大家好,综合小编来为大家讲解下今日视点:Google,地图API资料整理及详细介绍这个很多人还不知道,现在让我们一起来看看吧!

谷歌地图API参考手册

地图

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

叠加层

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

事件

The constructor/object describes that it has no methods and constructors. Its instance is returned from addListener () and finally passed back to removeListener () event Add/Remove/Trigger Event Listener MouseEvent returns from various mouse events on maps and overlays.

控制设备

Constructor/object description MapTypeControlOptions contains options for modifying controls (position and style). MapTypeControlStyle specifies which type of map control (drop-down menu or button) to display. Overview MapControlOptions are used to render overview map controls (open or collapse). Translation control options are used to render translation controls (position). Rotation control option is used to render rotation control (position) Zoom control option is used to render zoom control (position and style) option ScaleControlStyle specifies which scale control is displayed streetview control option is used to render street view option pegman control (position) ZoomControlOptions is used to render zoom control option (position and style) ZoomControlStyle specifies which zoom control (large or small) control position specifies the position of the control on the map.

本文[高级伪原创标题]到此分享完毕,希望对大家有所帮助。

  免责声明:本文由用户上传,与本网站立场无关。财经信息仅供读者参考,并不构成投资建议。投资者据此操作,风险自担。 如有侵权请联系删除!

 
分享:
最新文章