openlayers/openlayers — pull request #883 by tschaub (2013-02-14 22:34:52+00:00)
Title: Nicer defaults

OpenLayers, to a fault, has been very conservative about changing behavior between releases. We've gained some really nice functionality over the years, but make it harder than it needs to be for users to take advantage of.

The original justification for keeping `transitionEffect` null was that it comes with a minor performance penalty. Now that we (finally!!!!!) have animated zoom, having no transition effect results in a flash at the end of every zoom (this can be seen in the current [Bing](http://openlayers.org/dev/examples/bing.html) example and others). Setting `transitionEffect` to `"resize"` by default compliments the animated zooming.

I can't recall why kinetic panning was not enabled by default, but I imagine it was because it required a specific build profile. Enabling it is awkward enough that most don't set it:

controls: [
new OpenLayers.Control.Navigation(
{dragPanOptions: {enableKinetic: true}}
)
]

I think kinetic dragging should also be enabled by default.