make panMethod an API property. Since this is the only way to turn off animated

panning, it makes sense to support users who want to change this.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@8871 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2009-02-19 19:54:37 +00:00
parent dbc6e54403
commit dd27c501d8

View File

@@ -367,7 +367,7 @@ OpenLayers.Map = OpenLayers.Class({
eventListeners: null, eventListeners: null,
/** /**
* Property: panMethod * APIProperty: panMethod
* {Function} The Easing function to be used for tweening. Default is * {Function} The Easing function to be used for tweening. Default is
* OpenLayers.Easing.Expo.easeOut. Setting this to 'null' turns off * OpenLayers.Easing.Expo.easeOut. Setting this to 'null' turns off
* animated panning. * animated panning.