Google Maps Chi...login
Google Maps Chinese API Manual
author:php.cn  update time:2022-04-14 16:36:56

Google Maps Reference Manual



Google Maps API Reference Manual

Map

Constructor/ObjectDescription
Map()Creates a new map in the specified HTML container, which is usually a DIV element.

Overlay

##RectangleOptionsOptions for rendering the rectangle CircleCreates a circle (contains center+radius and stroke+fill styles)CircleOptionsOptions for rendering the circleGroundOverlayGroundOverlayOptionsOverlayViewMapPanesMapCanvasProjection
Constructor/ObjectDescription
MarkerCreate a marker.
MarkerOptions Marker options. All markup rendered by DirectionsRenderer will use these options.
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
Polyline Creates 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)
Event

Constructor/ObjectDescriptionMapsEventListenerIt has no methods and no constructor. Its instances are returned from addListener(), addDomListener() and are eventually passed back to removeListener()eventAdds/Removes/Trigger event listenersMouseEventReturned 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

php.cn