[OpenLayers-Users] Turn off "slippery" panning in 2.13

Andreas Hocevar ahocevar at opengeo.org
Wed May 15 08:38:53 PDT 2013


Sure. Either create a build that excludes OpenLayers/Kinetic.js, or do the
following before you create your map:

OpenLayers.Control.DragPan.prototype.enableKinetic = false;

Andreas.


On Wed, May 15, 2013 at 4:58 PM, Jackie Ng <jumpinjackie at gmail.com> wrote:

> Hi All,
>
> I am testing the 2.13 RC2 release of OpenLayers and have found out that
> panning now has this "slippery" animation effect that I am just not a fan
> of. Is there a way to turn off this behaviour?
>
> - Jackie
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Turn-off-slippery-panning-in-2-13-tp5053436.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130515/d3dec3e6/attachment.html>


More information about the Users mailing list