Merge pull request #128 from tschaub/animation

Use requestAnimationFrame where available.
This commit is contained in:
Tim Schaub
2012-01-17 11:56:59 -08:00
11 changed files with 235 additions and 48 deletions

View File

@@ -1,7 +1,6 @@
var map = new OpenLayers.Map({
div: "map",
resolutions: [0.087890625, 0.0439453125, 0.02197265625, 0.010986328125],
panDuration: 100,
controls: [
new OpenLayers.Control.Navigation(
{dragPanOptions: {enableKinetic: true}}