Deciding that setCenter deserves a bit of docs.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9107 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -1500,10 +1500,11 @@ OpenLayers.Map = OpenLayers.Class({
|
||||
|
||||
/**
|
||||
* APIMethod: setCenter
|
||||
* Set the map center (and optionally, the zoom level).
|
||||
*
|
||||
* Parameters:
|
||||
* lonlat - {<OpenLayers.LonLat>}
|
||||
* zoom - {Integer}
|
||||
* lonlat - {<OpenLayers.LonLat>} The new center location.
|
||||
* zoom - {Integer} Optional zoom level.
|
||||
* dragging - {Boolean} Specifies whether or not to trigger
|
||||
* movestart/end events
|
||||
* forceZoomChange - {Boolean} Specifies whether or not to trigger zoom
|
||||
|
||||
Reference in New Issue
Block a user