É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
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
Éric Lemoine
4f4a7e9c0a
Merge branch 'master' into tile-fade-in
2012-01-03 08:27:20 +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
Tim Schaub
bd4278de4a
Docs and tests for animation methods.
2012-01-02 21:54:08 -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
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
eb924c8f77
no longer rely on the transitionend event, unwanted flashes are avoid using a timer
2012-01-02 22:53:53 +01: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
Tom Hughes
dd103ebf82
Use OpenLayers.Util.DEFAULT_PRECISION for geometry comparisons
2011-12-31 14:00:25 +00:00
Éric Lemoine
587650e01b
use parseFloat to read opacity style values in tests
2011-12-31 14:09:24 +01:00
Tom Hughes
93f2a31253
Add tests for regular and irregular transformations
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
Éric Lemoine
afc0283c06
fix the Layer.WMS setOpacity tests
2011-12-31 00:45:15 +01:00
Éric Lemoine
6b918bc9ab
make the Layer/Image.html tests pass again
2011-12-31 00:19:44 +01:00
Éric Lemoine
5edd3d3f84
make Tile.Image compatible with CSS-based tile fade animation
2011-12-31 00:19:19 +01:00
Éric Lemoine
04f72a0e07
tests for the tileAnimation map option
2011-12-30 23:28:21 +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
ahocevar
cfe25feecf
Making dateline handling work with ratio.
2011-12-28 20:14:39 +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
ahocevar
6e39c3e3e0
Moving test for reproject option to deprecated tests.
...
Also re-adding accidently removed ```reproject: true``` option to test.
2011-12-23 18:32:28 +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
701e171081
Adding test to make sure we don't pan.
2011-12-16 11:48:08 +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
Éric Lemoine
6b0d61dbd1
remove useless assertion in Panel.html:test_iconOn_iconOff
2011-12-14 16:08:34 +01:00
Éric Lemoine
45a6e24299
Panel iconOn and iconOff do not behave correctly if application-specific classes are set in the control
2011-12-14 15:49:19 +01:00
Bart van den Eijnden
9f9829053a
do not wrap DOMElements in CDATA sections for WPS Execute, p=jachym, r=me (closes http://trac.osgeo.org/openlayers/ticket/3517 )
2011-12-14 15:20:00 +01:00
tschaub
469842012b
Tests for string methods without WKT.
2011-12-10 17:09:18 -07:00
tschaub
66de55ef9b
Allowing for WKT free builds.
...
The WKT format is used for converting geometries to and from string representations. For builds that do not explicitly include the WKT format, the `OpenLayers.Geometry.fromWKT` returns `undefined`.
2011-12-10 17:00:20 -07:00
Éric Lemoine
513dd16be3
deprecated LayerSwitcher roundedCorner option
2011-12-09 00:10:29 +01:00
Éric Lemoine
46e15b5359
make OpenLayers.Feature create OpenLayers.Popup.Anchored as opposed to OpenLayers.Popup.AnchoredBubble by default
2011-12-09 00:08:28 +01:00
Frédéric Junod
5fda8835da
Merge pull request #82 from fredj/2897
...
don't create div for image tile when no gutter is used. p=ahocevar,pgiraud,elemoine,fredj
2011-12-07 23:03:26 -08:00
Frédéric Junod
e97961321c
Merge pull request #96 from fredj/3404
...
SelectFeature stops selecting features after a right click on the map. r=ahocevar
2011-12-07 08:03:27 -08:00
ahocevar
b6df3d871b
It turns out we really want to retile sometimes.
...
The reason is that we want to avoid moveGriddedTiles to run through hundreds of cycles to shift tiles until we reach the new bounds. But containsBounds does not work if extents that cross the date line start on different worlds, so we use intersectsBounds where we can pass the world bounds to handle this case.
2011-12-07 15:55:22 +01:00
fredj
b11b33e3ab
SelectFeature stops selecting features after a right click on the map
2011-12-07 15:03:39 +01:00
ahocevar
f79520cf9d
Don't set zoomOffset - maxResolution and numZoomLevels is enough. r=fredj (closes http://trac.osgeo.org/openlayers/ticket/3550 )
2011-12-07 14:53:53 +01:00
Frédéric Junod
63cdcaeaac
Merge pull request #86 from fredj/addLayer-exception
...
Instead of throwing an exception, return false if the layer can't be added to the map. r=bbinet,tschaub
2011-12-07 00:33:26 -08:00
ahocevar
7aa7b98285
fixing indentation
2011-12-03 01:37:42 +01:00
ahocevar
d20e6f7c7a
removing console.log
2011-12-03 01:36:11 +01:00
ahocevar
b70ea9e8c1
Use valid tile bounds and test grid crossing the dateline.
2011-12-03 00:07:04 +01:00
fredj
1135c771b7
Instead of throwing an exception, return false if the layer can't be added to the map.
2011-12-01 16:13:35 +01:00
fredj
efdd9d0eb2
don't create div for image tile when no gutter is used
2011-11-30 14:19:36 +01:00
Frédéric Junod
e960c1929d
Merge pull request #76 from fredj/surface-removal
...
Remove Geometry.Surface, r=tschaub
2011-11-28 07:50:56 -08:00