Manuel de l'API...login
Manuel de l'API chinoise de Google Maps
auteur:php.cn  temps de mise à jour:2022-04-14 16:36:56

Manuel de référence Google Maps



Manuel de référence de l'API Google Maps

Carte

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

Superposition

构造函数/对象描述
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 

Événements

构造函数/对象描述
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

Ensemble de contrôle

构造函数/对象描述
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

Site Web PHP chinois