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
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
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
4f4a7e9c0a
Merge branch 'master' into tile-fade-in
2012-01-03 08:27:20 +01: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
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
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
tschaub
b7b0d6b712
Collecting image tile changes in the Image.js.
2012-01-02 11:40:50 -07: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
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
5edd3d3f84
make Tile.Image compatible with CSS-based tile fade animation
2011-12-31 00:19:19 +01:00
Éric Lemoine
d417231bb8
add OpenLayers.TRANSITION and OpenLayers.TRANSITION_END private constants
2011-12-31 00:17:36 +01:00
Éric Lemoine
afce5be5d6
add a tileAnimation map option
2011-12-30 23:23:07 +01:00
tschaub
958221d5f4
Moving Rectangle geometries to deprecated.js.
...
The VML and SVG renderers still have support for drawing rectangles. This can be safely removed in 3.0.
2011-12-29 14:14:49 -07:00
Peter Robins
52e7c932f7
Move symbolizer requires
2011-12-29 09:47:22 +00:00
ahocevar
d1319eaf90
Merge branch 'vector-ratio' ( closes #113 )
2011-12-28 20:18:11 +01:00
ahocevar
cfe25feecf
Making dateline handling work with ratio.
2011-12-28 20:14:39 +01:00
ahocevar
1ce59a207d
Don't use clientWidth and clientHeight.
...
Instead, use map.getSize to make sure this works the same way in all browsers.
2011-12-28 20:10:56 +01:00
ahocevar
22e9fc92b8
Don't change existing behavior for redraw(true)
2011-12-26 19:53:23 +01:00
ahocevar
0b3f9c0ae9
Merge branch 'master' of https://github.com/pjeweb/openlayers-1 into vector-ratio
2011-12-26 11:59:27 +01:00
ahocevar
d42eec9775
No new argument for Layer::redraw.
...
Instead, make _resolution a private property (resolution) which is set to null to make redraw call moveTo with zoomChanged set to true.
2011-12-26 11:09:07 +01:00
Xavier Mamano
52e550ea74
"controls" is a APIProperty of Map
2011-12-26 00:02:02 +01:00
Éric Lemoine
ff04517232
HTTPRequest.mergeNewParams should now do redraw(true)
2011-12-22 14:21:07 +01:00
Éric Lemoine
289d9d371d
make Layer.redraw not unconditionally set zoomChanged to true in moveTo
2011-12-22 14:19:02 +01:00
ahocevar
7fbae9f345
Fixing IFrame tile layers.
...
A problem introduced with 5fda8835da can easily be solved by re-adding a check for imgDiv and a strict type check for useIFrame. Thanks @elemoine for pointing out that there could be a problem.
2011-12-22 01:14:04 +01:00
pjeweb
008e8c5ed1
adding ratio to Vector Layer
2011-12-21 12:37:09 +01:00
ahocevar
c48bf3a37f
One more keyword missing (see #111 )
2011-12-16 17:48:51 +01:00
ahocevar
94ef9a6b10
Merge pull request #110 from ahocevar/no-pan-on-invalid-zoom
...
No pan on invalid zoom. r=@tschaub
2011-12-16 08:43:03 -08:00
fredj
ec16a9c0b1
Add missing new keyword in doc. thanks @DaveCausey ( closes #111 )
2011-12-16 17:14:44 +01:00
ahocevar
9c50bb5c01
Don't set the new lonlat if the new zoom is not valid.
...
This avoids unwanted panning without zooming when using the mousewheel to zoom out on a wrapDateLine map (see #109 ).
2011-12-16 11:22:31 +01:00
Tim Schaub
0176d052a7
Merge pull request #102 from tschaub/nowkt
...
Allow for builds without WKT format
2011-12-14 09:51:06 -08:00