Commit Graph

4652 Commits

Author SHA1 Message Date
Éric Lemoine abcc74cbc7 give a class to the back buffer 2011-10-21 00:13:16 +02:00
Éric Lemoine 55c2f0e047 better comments in Image/IFrame.js 2011-10-20 23:08:16 +02:00
Éric Lemoine 667d21137f purely cosmetic change 2011-10-20 23:05:34 +02:00
Éric Lemoine 8aaf9ee775 remove the unnecessary SUPPORTED_TRANSITIONS array 2011-10-20 23:05:08 +02:00
Éric Lemoine dc0867e655 remove the Tile.BackBufferable tests 2011-10-20 23:04:17 +02:00
Éric Lemoine 9bab78cde8 more Layer.Grid tests 2011-10-20 23:03:28 +02:00
Éric Lemoine 17dc9c2b58 fix test_Layer_Grid_addTileMonitoringHooks 2011-10-20 22:02:39 +02:00
Éric Lemoine bed285593f add tests for Layer.Grid 2011-10-20 21:55:30 +02:00
Éric Lemoine 39eca86083 replace test_insertBackBuffer by test_cloneMarkup in the Tile/Image.html tests 2011-10-19 23:50:43 +02:00
Éric Lemoine 76e8a800da special precautions must be taken in updateBackBufferData 2011-10-19 23:47:25 +02:00
Éric Lemoine 7ffec2e88b Make the IFrame.html tests pass 2011-10-19 23:19:52 +02:00
Éric Lemoine 853bfeaee1 necessary adaptations to the Tile.IFrame mixin - back buffering is disabled when using POST and iframe tiles 2011-10-19 23:19:29 +02:00
Éric Lemoine a37202ac09 remove BackBufferable.js from the js files list in OpenLayers.js 2011-10-19 23:15:17 +02:00
Éric Lemoine f9ae12f227 minor refactoring in Layer.Grid - add a removeBackBuffer function 2011-10-19 20:42:34 +02:00
Éric Lemoine b39f4fde1c remove Tile.Image:insertBackBuffer and add API docs for Tile.Image:cloneMarkup 2011-10-18 08:25:46 +02:00
Éric Lemoine 0971124669 Tile.Image inherits from Tile 2011-10-18 08:25:02 +02:00
Éric Lemoine 1bffc4fe28 Tile/Image.js does not require Tile/BackBufferable.js 2011-10-18 08:24:32 +02:00
Éric Lemoine 475f96db96 back buffer is not correctly repositioned 2011-10-18 08:11:43 +02:00
Éric Lemoine 5ae65d413a the layer may not be in the map anymore when a tile is received 2011-10-16 22:40:11 +02:00
Éric Lemoine 2dbbef8c6f ok, remove Tile.BackBufferable 2011-10-16 22:32:57 +02:00
Éric Lemoine bea037679f better back buffer code, and support for singleTile 2011-10-16 22:31:37 +02:00
Éric Lemoine 8ca9f22cf5 Merge branch 'master' into bigbackbuffer 2011-10-16 15:55:13 +02:00
Éric Lemoine 93ed63e23d a better tile for the OSM example page, no functional change 2011-10-16 15:51:10 +02:00
Éric Lemoine 1d7c74cff9 remove unused local variable in BackBufferable:draw, no functional change 2011-10-16 15:50:16 +02:00
Éric Lemoine 69d3c76254 a "big back buffer" attempt 2011-10-15 23:48:13 +02:00
ahocevar 469350176f Merge pull request #11 from ahocevar/3526
Dateline handling improvements for vector layers. Thanks @tschaub for the great collaboration on this. r=tschaub (closes #3526)
2011-10-12 23:06:47 -07:00
ahocevar 740e3c4d28 Defaults for featureDx and xOffset.
This is mostly done to make SVG and VML tests pass again, but it may also help existing applications that override setExtent or drawFeature without calling the superclass methods properly.
2011-10-12 08:25:20 +02:00
Tim Schaub 6af8178452 Enforcing existing zoomToExtent behavior.
The Map.html and WrapDateLine.html tests that check zoomToExtent were failing with the changes to this method.  These test changes make the expectations more explicit.  It is inconsistent to call wrapDateLine only in zoomToExtent, but this is the minimum change to get the tests passing again.  It would be more consistent to call wrapDateLine in the setCenter sequence.
2011-10-11 21:14:07 -06:00
Tim Schaub ea8404c3bd Fixing up the WFS tile (ack) tests. 2011-10-11 19:56:42 -06:00
tschaub 8a3498bd0f Setup and teardown for WFS tile tests. Still need work. 2011-10-11 15:26:51 -06:00
tschaub b4de402774 Properly set up and tear down for tests. 2011-10-11 15:22:50 -06:00
tschaub d65fde60e2 Avoid test failures due to partial mocking.
Add setup and teardown methods to properly set up test context.
2011-10-11 15:11:03 -06:00
tschaub cb74ede41b Handle features without bounds.
Updates to tests to work with new wrap dateline code.  Canvas renderer needs to handle geometries without bounds as well.
2011-10-11 14:48:10 -06:00
tschaub c2bf717e5c Merge branch 'master' of github.com:openlayers/openlayers into 3526 2011-10-11 09:42:49 -06:00
tschaub fc5a0121e6 The getFeatureFromEvent method now throws (see #7). 2011-10-11 09:36:43 -06:00
tschaub c6e66a3c5c The getFeatureFromEvent now throws.
An error is thrown if getFeatureFromEvent is called on a destroyed layer (see #7).
2011-10-11 09:34:38 -06:00
fredj b1ee9d1f95 fix APIProperty formating, thanks Denis Rykov 2011-10-10 16:26:23 +02:00
Bart van den Eijnden 64f111a308 add infoFormats to WMSCapabilities Format, r=ahocevar (closes #3539) 2011-10-10 08:24:24 +02:00
Marc Jansen 760d5a584c Reverse QUERY_LAYERS order in GetFeatureInfo requests. r=bartvde (closes #3253) 2011-10-09 15:53:12 +02:00
Éric Lemoine c4c4f97334 Merge pull request #10 from elemoine/3061
IE<7 needs a reflow when the tiles are loaded
2011-10-09 01:31:21 -07:00
ahocevar 9670b140cb Tests for calculateFeatureDx 2011-10-09 10:10:21 +02:00
ahocevar 8c43c4537c Merge branch 'master' into 3526 2011-10-09 09:54:45 +02:00
ahocevar b56af5a5cf Tests for setExtent; improved comments. 2011-10-08 14:34:59 -04:00
ahocevar 281ae3dfe7 new calculateFeatureDx method which is used by both Canvas and Elements renderers. 2011-10-08 12:26:19 -04:00
ahocevar f2fcb5a95c Canvas renderer needs to return false from setExtent 2011-10-08 12:21:51 -04:00
ahocevar bb80c893fd Documenting the featureDx, xOffset and rightOfDateLine member variables. 2011-10-08 12:03:16 -04:00
ahocevar 2cfe6f83c2 Cross-dateline rendering fixed for SVG and added for VML renderer. 2011-10-08 11:33:35 -04:00
Éric Lemoine 89388880b7 do not return too early from onImageLoad 2011-10-08 00:22:22 +02:00
Éric Lemoine 1ee40cec02 IE<7 needs a reflow when the tiles are loaded 2011-10-08 00:06:28 +02:00
Éric Lemoine 2c93a90c9b Merge pull request #5 from elemoine/clientzoom
add continuous zooming support for tiled layers
2011-10-07 13:30:50 -07:00