Commit Graph

4629 Commits

Author SHA1 Message Date
É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
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
Éric Lemoine 8786504c9f Merge pull request #8 from fredj/unneeded-cast
remove unneeded cast to float
2011-10-07 13:27:40 -07:00
Tim Schaub 4ad80fc6c0 Merge pull request #9 from tschaub/date
Making date parsing a bit more lenient (r=ahocevar closes #3542).
2011-10-07 08:29:13 -07:00
Tim Schaub 6eebcc5be0 Making date parsing a bit more lenient.
RFC 3339 doesn't say what timezone to assume for date strings without time.  Some servers append "Z" to dates (e.g. "2001-02-03Z") and some clients accept this (e.g. Chrome).  The OpenLayers date parser now accepts dates without times and with "Z" at the end.
2011-10-07 10:50:56 -04:00
Éric Lemoine d8283ba602 better text for the clientzoom example 2011-10-07 13:57:24 +02:00
Éric Lemoine fed387804e base-10 parseInt 2011-10-07 13:43:55 +02:00
Éric Lemoine 85d3e8d5e9 Merge branch 'master' into clientzoom 2011-10-07 13:36:58 +02:00
fredj ef1feac748 remove unneeded parseFloat when building Bounds 2011-10-07 09:09:26 +02:00
ahocevar 627f32ff39 Merge branch 'master' into 3526 2011-10-06 18:21:05 -04:00
ahocevar 0afb5207e2 Allow filters in WFST for multiple geometry columns. r=bartvde (closes #3370) 2011-10-06 18:02:27 -04:00
Frederic Junod 6026f60276 remove unneeded parseFloat when building Bounds 2011-10-06 14:37:12 +02:00
Frederic Junod 54e5db90ae remove unneeded parseFloat when building Geometry.Point 2011-10-06 14:32:38 +02:00
Frédéric Junod 00e2e1bd59 Merge pull request #7 from fredj/3320
Replace OpenLayers.Console.error with exceptions. r=elemoine,bbinet (closes #3320)
2011-10-06 02:03:48 -07:00
ahocevar 91cd42bfe6 Removing unused image load error handling code. r=fredj (closes #3420) 2011-10-05 14:51:22 -04:00
aabt 4c610135fd Merge pull request #6 from fredj/master
group identical css rules
2011-10-04 02:46:33 -07:00
fredj dcd6b20070 group identical css rules. No functional change 2011-10-04 11:41:39 +02:00
ahocevar de8425db17 world shifting for renderers 2011-10-02 15:40:44 -06:00
ahocevar 868757501f deal with the dateline in the SVG renderer. Not yet fully functional. 2011-10-02 15:40:13 -06:00
Éric Lemoine ded64c00d4 apply patch-3531-A0.diff from trac ticket #3531 2011-10-01 21:41:35 +02:00
ahocevar 49e4547865 Merge branch '3526' of https://github.com/tschaub/openlayers into 3526 2011-09-30 17:31:45 -06:00
ahocevar b782df0849 Merge branch 'master' into 3526 2011-09-30 17:31:31 -06:00
ahocevar cce8ad4f1b Merge pull request #4 from ahocevar/3533
removing unneeded code. r=tschaub (closes #3533)
2011-09-30 16:27:42 -07:00
tschaub 38e59965f1 Quicker route to contains when wrapping.
Instead of moving one world at a time and testing for containment, we can jump immediately by the number of worlds we are away from the bounds.
2011-09-30 16:53:33 -06:00
ahocevar d4fb441da8 removing unneeded code 2011-09-30 14:57:46 -06:00