ahocevar
9f9feabfae
Let's not over-engineer things (see #164 ).
2012-01-21 10:46:44 +01:00
ahocevar
07dc1b5d84
Merge pull request #164 from ahocevar/button-controls
...
Don't let button controls interfer with handlers. Closes http://trac.osgeo.org/openlayers/ticket/3363 . r=@bartvde
2012-01-20 07:09:34 -08:00
Bart van den Eijnden
089ff636f9
fix up broken test in Format/CSWGetRecords/v2_0_2
2012-01-20 15:03:18 +01:00
ahocevar
e70569b2bb
Use event handling of OpenLayers.Event, not the native one.
...
Also includes some of the fixes suggested by @bartvde.
2012-01-20 14:17:56 +01:00
ahocevar
05de2b5109
Don't let button controls interfer with handlers.
...
This change involves removal of the map's eventsDiv and introduces an OpenLayers.Events.buttonclick component that adds a buttonclick event which makes sure that only events that are not related to clicking a button propagate. This allows button controls to be on the map's viewPortDiv again.
2012-01-20 03:37:11 +01:00
Frédéric Junod
1cbd88d230
Merge pull request #137 from fredj/simple-objects
...
Replace Size and Pixel instances with simple objects. r=elemoine,probins,tschaub
2012-01-18 04:12:02 -08:00
Éric Lemoine
37d21272b7
Merge pull request #127 from elemoine/tile-fade-in
...
CSS-based tile animation
2012-01-17 21:06:11 -08:00
Tim Schaub
d34d8f22a3
Merge pull request #128 from tschaub/animation
...
Use requestAnimationFrame where available.
2012-01-17 11:56:59 -08:00
tschaub
00975e79cc
Merge branch 'master' of github.com:openlayers/openlayers into proj
2012-01-17 08:52:03 -07:00
Éric Lemoine
99ca32540d
Merge branch 'master' into tile-fade-in
...
Conflicts:
tests/Tile/Image.html
2012-01-17 09:27:55 +01:00
Éric Lemoine
8f57e34376
Merge branch 'master' into osm
...
Conflicts:
notes/2.12.md
2012-01-17 09:10:27 +01:00
Pierre GIRAUD
0aaa5265b4
Merge pull request #146 from openlayers/2492
...
Improving precision in LinearRing::containsPoint
2012-01-16 23:30:58 -08:00
Tim Schaub
4b949176d3
Move mercator transforms to Projection.js.
...
The SphericalMercator mixin is not required for coordinate transforms. Default transforms included whenever Projection.js is included.
2012-01-16 22:39:44 -07:00
tschaub
483fe267b0
Update animation tests to run in a popup.
...
As an optimization, certain browsers (e.g. Firefox) may not execute functions sent to `requestAnimationFrame` while the window is not visible. Because our tests run in an iframe, the tests fail unless we open a popup to run the animation methods.
2012-01-16 17:44:55 -07:00
tschaub
02aa9bcc36
Tests with a description of the updated method.
...
The old `containsPoint` method was sensitive to failure when looking for ray crossings with nearly vertical edges. These added tests demonstrate the simple cases where `containsPoint` succeeds. The tests also now include a case that covers the failure for polygons with nearly vertical edges. The previous `getX` method (within the `containsPoint` method) and the new one are mathematically equivalent. The updated version performs better in cases using coordinates with many significant figures.
2012-01-16 16:59:54 -07:00
fredj
0e8b3f2ff8
Popup tests: return false if map.events.listeners.movestart is undefined
2012-01-16 12:30:03 +01:00
Bart van den Eijnden
8905ef2fa5
Merge pull request #145 from bartvde/cswemptysubject
...
ignore empty subject tags in CSWGetRecords parser (r=ahocevar)
2012-01-15 23:50:36 -08:00
fredj
b900144ce3
remove map.getSize call to avoid creating new instances
2012-01-14 14:11:25 +01:00
fredj
1df5cfa158
replace LonLat argument with simple object (Map.getLayerPxFromLonLat)
2012-01-14 14:11:24 +01:00
Éric Lemoine
7a5b469192
Merge pull request #116 from elemoine/redraw
...
make Layer.redraw not unconditionally set zoomChanged to true when calling Layer.moveTo
2012-01-13 08:37:09 -08:00
Pierre GIRAUD
7a0336a9ef
Fixing a wrong calculation in LinearRing::containsPoint
2012-01-13 17:36:23 +01:00
Bart van den Eijnden
c667e9a147
ignore empty subject tags in CSWGetRecords parser
2012-01-13 13:05:20 +01:00
Éric Lemoine
2f700bd894
Merge branch 'master' into osm
...
Conflicts:
apidoc_config/Menu.txt
2012-01-12 21:27:39 +01:00
Éric Lemoine
3cbd7b4b40
move Layer.OSM in its own script file
2012-01-12 21:22:58 +01:00
Éric Lemoine
e1ea3471e0
Merge pull request #143 from jorix/stop-freehand
...
Handler.Path: Stop freehand using "maxVertices"
2012-01-12 12:08:12 -08:00
Xavier Mamano
59dfb7ec11
Add test for stop freehand using "maxVertices"
2012-01-12 20:23:01 +01:00
Bart van den Eijnden
476d438578
minor doc adjustments and a bit more test coverage
2012-01-09 10:27:44 +01:00
Bart van den Eijnden
41370b3eb7
fix up broken test
2012-01-09 09:57:32 +01:00
Bart van den Eijnden
849189d136
Merge branch 'master' of github.com:bartvde/openlayers into csw
2012-01-09 09:41:59 +01:00
Bart van den Eijnden
a6be4a4b6c
start with the patch from OL Trac ticket 2133
2012-01-09 09:29:15 +01:00
Tim Schaub
0127806ee2
Assert that split control works with no geometry.
2012-01-08 21:14:17 -05:00
Éric Lemoine
30c5b11d99
Merge branch 'master' into tile-fade-in
...
Conflicts:
examples/fullScreen.js
2012-01-05 09:39:39 +01:00
Éric Lemoine
77f227ffed
more Grid tests, for delayed back buffer removal
2012-01-04 21:01:46 +01:00
fredj
3245836b6d
New OpenLayers.Layer.Grid.tileClass option. Defaults to OpenLayers.Tile.Image
2012-01-04 12:37:39 +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
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