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:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user