Commit Graph

6187 Commits

Author SHA1 Message Date
fredj 3245836b6d New OpenLayers.Layer.Grid.tileClass option. Defaults to OpenLayers.Tile.Image 2012-01-04 12:37:39 +01:00
fredj 2fabd6954c Fix indentation 2012-01-04 12:16:06 +01:00
Antoine Abt 0ff9d54d5c better alignment 2012-01-04 11:00:29 +01:00
Antoine Abt 6be48e9ef9 Basic support for canvas only (patch from trac #3503) 2012-01-04 10:59:51 +01:00
Éric Lemoine 0cc4dc81ec Merge branch 'master' into redraw 2012-01-04 09:06:29 +01:00
Éric Lemoine eedcaf0ba2 add a test to verify that Layer.HTTPRequest.mergeNewParams set resolution to null prior to calling redraw 2012-01-04 09:02:38 +01:00
Éric Lemoine 0d702609b1 revert changes to layer mergeNewParams tests (ff045172) 2012-01-04 08:59:47 +01:00
Éric Lemoine d64bbe1cfc better doc strings for Layer.resolution 2012-01-04 08:47:55 +01:00
Éric Lemoine 0ef4c8dd5b make redraw return the return value of mergeNewParams 2012-01-04 08:47:28 +01:00
Éric Lemoine aca72e4266 Merge pull request #1 from ahocevar/redraw
No new argument for Layer::redraw
2012-01-03 23:39:25 -08:00
Éric Lemoine 39f2ddccee remove back buffer immediately in applyBackBuffer if back buffer is schedule for removal 2012-01-04 08:20:11 +01:00
Tim Schaub b26efd6beb Merge pull request #126 from tomhughes/url-rewrite
Add an interception point to allow image URLs to be rewritten
2012-01-03 14:13:00 -08:00
tschaub e2834e04e6 Merge branch 'master' into animation 2012-01-03 10:28:40 -07:00
tschaub 519bf9a50a Removing unused minX and maxX. 2012-01-03 10:28:25 -07:00
tschaub 3556af9cb2 Moving animation methods out of Util.js.
Animation methods get their own module, giving methods more sensible names:

 * `OpenLayers.Animation.requestFrame` (was `OpenLayers.Util.requestAnimationFrame`)
 * `OpenLayers.Animation.start` (was `OpenLayers.Util.startAnimation`)
 * `OpenLayers.Animation.stop` (was `OpenLayers.Util.stopAnimation`)
2012-01-03 09:43:50 -07:00
tschaub b844a3b11b Happy New Year!
Updating copyright to 2012.
2012-01-03 09:01:10 -07:00
Éric Lemoine d4249960e3 remove duplications in the 2.12 notes 2012-01-03 08:29:40 +01:00
Éric Lemoine 4f4a7e9c0a Merge branch 'master' into tile-fade-in 2012-01-03 08:27:20 +01:00
Éric Lemoine 9064ba8c6a add release notes for tile animation 2012-01-03 08:24:58 +01:00
Éric Lemoine 5914cb3566 enable kinetic dragging in the full-screen example 2012-01-03 08:24:41 +01:00
Tim Schaub 3f6e0141a4 No animation frames on hidden windows.
As an optimization, Firefox does not execute functions passed to requestAnimationFrame when the window is hidden.  This is the case for the panTo tests here that use a map in a hidden iframe.  Since other browsers may follow suit, we just test the fallback setTimeout method of animating on these tests.
2012-01-02 22:29:23 -07:00
Éric Lemoine a6cbbbde84 Merge pull request #3 from tschaub/fade
increase timeout for backbuffer removal and dispense with extra map property
2012-01-02 21:10:33 -08:00
Tim Schaub bd4278de4a Docs and tests for animation methods. 2012-01-02 21:54:08 -07:00
Tim Schaub 92472ca604 Avoid illegal invocation of native method. 2012-01-02 21:53:21 -07:00
Tim Schaub e363bdb782 Rename to startAnimation for symmetry. 2012-01-02 21:52:31 -07:00
Tim Schaub c151b04257 Use requestAnimationFrame for tweening.
Instead of using an arbitrary interval for tweening, we let the device decide the best animation frame rate.  Where requestAnimationFrame is not available, this will default to 60 fps.
2012-01-02 20:52:46 -07:00
Tim Schaub 5c2af142b6 Use requestAnimationFrame where available.
For kinetic panning, let the device determine the animation frame rate.
2012-01-02 20:40:29 -07:00
Tim Schaub c7c11757ae Allow for infinite animation loop. 2012-01-02 20:39:52 -07:00
Tim Schaub a86151c9e3 Allow callback to cancel animation. 2012-01-02 20:39:38 -07:00
Tim Schaub 709bb7af1b panDuration not used in this example 2012-01-02 20:37:23 -07:00
tschaub bc8a38cf16 Util methods for animation loops. 2012-01-02 17:48:43 -07:00
tschaub f2168d13b7 Increase timeout to avoid flashes.
Without this change, flashes are fairly frequent while zooming around a full screen map.
2012-01-02 16:07:40 -07:00
tschaub 3c910c8801 Removing the tileAnimation map property.
Edit CSS to change the style.
2012-01-02 15:49:55 -07:00
Éric Lemoine 78963a5fa8 correct typo in tests/Tile/Image.html, @tschaub has sharp eyes 2012-01-02 23:34:02 +01:00
Éric Lemoine fcb9a6cd2c remove Tile.Image.onTransitionEnd - it is no longer used 2012-01-02 23:20:15 +01:00
Éric Lemoine eb924c8f77 no longer rely on the transitionend event, unwanted flashes are avoid using a timer 2012-01-02 22:53:53 +01:00
Éric Lemoine aeccee865c Merge pull request #2 from tschaub/fade
tweaks for fade changes
2012-01-02 11:16:57 -08:00
tschaub 3eb34f587e Add test for setOpacity. 2012-01-02 11:52:54 -07:00
tschaub b7b0d6b712 Collecting image tile changes in the Image.js. 2012-01-02 11:40:50 -07:00
ahocevar 485ec033e9 Merge pull request #125 from tomhughes/ticket-2598
Irregular transformation support for TransformFeature Control
2011-12-31 08:04:13 -08:00
Tom Hughes dd103ebf82 Use OpenLayers.Util.DEFAULT_PRECISION for geometry comparisons 2011-12-31 14:00:25 +00:00
Éric Lemoine e11e4358fa add olMapTileAnim rule in style.mobile.css 2011-12-31 14:13:42 +01:00
Éric Lemoine 587650e01b use parseFloat to read opacity style values in tests 2011-12-31 14:09:24 +01:00
Tom Hughes 63fb2d4b04 Add an interception point to allow image URLs to be rewritten
Make all attempts to get a URL for an image go through a single
routine, OpenLayers.Util.getImageLocation, which is given the actual
image name.

This allows users to replace that routine with an enhanced version
which can rewrite the full URL, for example to go through the rails
asset pipeline when using OpenLayers with rails.
2011-12-31 12:19:10 +00:00
Tom Hughes 533ee475ee Improve documentation of regular versus irregular transformation 2011-12-31 12:08:22 +00:00
Tom Hughes 93f2a31253 Add tests for regular and irregular transformations 2011-12-31 12:08:21 +00:00
Tom Hughes 1b6eb38d46 Make irregular transforms work on rotated features
Rework support for irregular transforms to handle features
which have been rotated correctly.
2011-12-31 12:08:21 +00:00
Tom Hughes a46707e727 Add support for irregular transformations to TransformFeature
Give the TransformFeature control an irregular mode where dragging a
handle just extends that side rather than growing the shape symmetrically
about the centre.
2011-12-31 12:08:21 +00:00
Éric Lemoine d2856cd721 remove duplicated setOpacity tests (MapServer/Untiled.html) 2011-12-31 12:25:37 +01:00
Éric Lemoine e7ef3d6c21 remove duplicated setOpacity tests 2011-12-31 12:23:32 +01:00