Commit Graph

2194 Commits

Author SHA1 Message Date
Gregers Gram Rygg 0fbe28a348 Removed debugger statement 2012-11-05 22:31:15 +01:00
Gregers Gram Rygg a2a391d3b5 Fixed problems with touch events on a scrollable page 2012-11-02 14:22:46 +01:00
Tim Schaub 8d0da09454 Merge pull request #733 from tschaub/filter-tweaks
Allow writer functions to use document fragments when they need to append more than a single child to the parent.
2012-10-26 09:45:53 -07:00
Tim Schaub 8d8a9f3105 Merge pull request #729 from tschaub/date
WFS date filter literal not sent as ISO format
2012-10-26 09:01:54 -07:00
tschaub e6399a265d Use document fragments to write multiple nodes
For writer functions that need to generate multiple nodes, the
createDocumentFragment method can be used.
2012-10-25 11:56:48 -06:00
tschaub 81d3584e09 Test custom encodeLiteral function 2012-10-25 11:24:55 -06:00
ahocevar 7f2ce74dd7 Merge pull request #732 from ahocevar/wmts-serverresolutions
WMTS layers created from capabilities have no serverResolutions. r=@sbrunner
2012-10-25 08:06:05 -07:00
ahocevar ca532c5db6 WMTS layers created from capabilities have no serverResolutions
By adding serverResolutions to the WMTS configuration, it is possible to
use WMTS layers as overlays, even if the map or the base layer is
configured with different resolutions than the WMTS.
2012-10-25 14:40:26 +02:00
Tim Schaub ed66271be3 Use ISO 8601 formatting for dates in filters 2012-10-24 11:16:29 -06:00
tschaub edb4798518 Testing multiple track attributes 2012-10-23 14:24:48 -06:00
Xavier Mamano ee34448844 Add test remove features and zoom on Strategy/Cluster.html 2012-10-17 19:06:53 +02:00
Matt Walker a65a231da3 Updated IS_NULL filter to check for strict null.
The IS_NULL filter evaluates to true only when the
property is null. Updated tests to reflect this
change.
2012-10-16 08:11:59 +01:00
Matt Walker ea5a510d45 Moved node var declaration to the top of the function 2012-10-15 11:16:00 +01:00
Matt Walker a9494394da Comparing the filter XML written using t.xml_eq.
The PropertyIsNull test now used the t.xml_eq method
to verify the XML output when the filter is written.

Tided up variable names to be consistent with other
tests.
2012-10-15 11:09:52 +01:00
Matt Walker 41dac08cfa Resolved redefinition of filter variable in test 2012-10-15 09:51:56 +01:00
Matt Walker 8f860e516e Removed stray console.log in PropertyIsNull test 2012-10-13 20:05:43 +01:00
Matt Walker 0707bb49bd Merge remote-tracking branch 'upstream/master' 2012-10-13 19:59:41 +01:00
Matt Walker f08c562955 Added IS_NULL evaluate feature tests 2012-10-13 09:47:23 +01:00
Matt Walker 6a37e72ae3 Added some comments to Format/Filter tests. 2012-10-12 22:49:30 +01:00
Matt Walker d5013d6df5 Added support for PropertyIsNull filter.
Added a simple comparison and read/write for PropertyIsNull
encoded as XML including tests for each.
2012-10-12 22:40:56 +01:00
ahocevar 583dc15700 Merge pull request #587 from ahocevar/587
Layer.WMS: BBOX precision errors in URLs. r=@bartvde
2012-10-12 08:53:23 -07:00
ahocevar 6607bcc0bb Do not cache data from aborted tile loads
This also results in a simplified cache method that can more easily be
overridden for use with other storage providers.
2012-10-12 14:06:08 +02:00
ahocevar 66455600c7 Better precision for right and top corners 2012-10-12 03:10:42 +02:00
ahocevar f78d127b1c Removing console.log line 2012-10-11 23:59:17 +02:00
ahocevar 7df5e3ca8e Fixing KaMap layer
This also fixes an issue that has gone unnoticed for a while: the grid did
not cover the bottom of the map viewport, but instead covered an invisible
area above the top of the map viewport.
2012-10-11 23:54:04 +02:00
ahocevar c5bb52d93f No deltas for tile bounds/position calculation
Now we also do not use deltas for shiftRow and shiftColumn. Some
refactoring was done so we do not need different calculateGridLayout
methods for layers with top-left and bottom-left tile origin.

TODO: With this commit, ArcGisCache and KaMap layers are broken.
2012-10-11 21:22:52 +02:00
ahocevar d4f011d00c Absolute calculation of tile bounds
This avoids cumulated tile bounds errors for layer types that do not use a
tile row/column index in requests (e.g. WMS).
2012-10-10 12:22:57 +02:00
Matt Priour e8cc0deeb5 Remove extra event firing logic from Layer::setVisibility 2012-10-09 12:21:25 -05:00
Matt Priour f17a3c70e4 Fire the 'changelayer:visibility' event from layer's display method
Move the changelayer event firing logic for in / out of resolution range
from the Map class to the Layer class. Tests have been also been created
to specifically test that the display method works correctly and fires
events only when needed.
2012-10-09 11:10:55 -05:00
Bart van den Eijnden fd6e7ebe03 allow versioned profiled parsers to fallback to the non-profiled parser, this will help deal with situations in which a WMSC parser is created, the server is requested for WMS 1.1.1, but returns 1.1.0 2012-10-08 16:28:19 +02:00
ahocevar 88a7b7d3e2 Testing backwards compatibility 2012-10-02 16:11:27 +02:00
ahocevar 84a8d8d1f6 Applying VersionedOGC pattern to WMSDescribeLayer format
The WMSDescribeLayer format currently differs from other formats that
inhreit from VersionedOGC by having an array instead of an object as return
type. This especially bad since the VersionedOGC superclass sets a version
property on the array. With this change, the WMSDescribeLayer format will
also be compatible with GeoServer's new JSON response type for
DescribeLayer - see
http://sourceforge.net/mailarchive/message.php?msg_id=29912776.

Another change included here is the removal of the WMSDescribeLayer
format's getVersion hack, which was replaced by a generic fallback to less
generic parsers, e.g. from a v1_1_1 parser to a v1_1 parser if v1_1_1 is
not implemented.
2012-10-02 14:35:05 +02:00
ahocevar 22c5e76b0b Support for multiple resource urls
With this change, createLayer generates url arrays for both KVP and REST
encoding if multiple resource urls are provided. To make this work, the
WMTSCapabilities format got a new resourceUrls property, because
previously only the first resourceUrl for a format was stored.
2012-10-01 15:28:30 +02:00
Stéphane Brunner e8987c0683 Gets the right url (#608 / 3) 2012-09-14 15:39:12 +02:00
Marc Jansen 1063a4cd19 Make it possible to change the filter in handlers
Trigger the 'select'-event earlier, this way any handlers for the event can
change both the filter and the resulting SLD inside the callback.
2012-09-06 13:29:59 +02:00
ahocevar 2197f1656a Updating row/col sizes in tests (see #639) 2012-08-31 11:11:34 +02:00
ahocevar 475cd7cd60 Fixing test (backBufferLonLat should not be OpenLayers.Bounds).
Thanks @rdewit for the IE7 test report - this fixes one of the reported issues.
2012-08-21 13:57:11 +02:00
ahocevar f0ad48597f No more percentage based positioning.
Client zoom now supports both over- and undersampling.
2012-08-21 13:57:11 +02:00
ahocevar 26d4fe3ce8 Making row and column size consistent, as suggested by @bartvde. 2012-08-21 13:37:48 +02:00
ahocevar 0f58868830 When using a buffer, the grid lacks rows/columns at the top/left.
This is because the threshold used for deciding when a column or row is shifted is too far to the bottom right. A tiny fix, but effective. A new test makes sure that we don't shift columns more than necessary when the layer is dragged.
2012-08-20 18:52:17 +02:00
ahocevar 87e7cfe29c Merge pull request #632 from ahocevar/wps-client
WPS Client. r=@bartvde,@tschaub
2012-08-18 10:01:01 -07:00
ahocevar e04d7cd627 Addressing final review comments. 2012-08-18 18:56:36 +02:00
Marc Jansen df19317c95 Merge branch 'master' of https://github.com/openlayers/openlayers
Conflicts:
	tests/list-tests.html
2012-08-17 22:46:06 +02:00
Bart van den Eijnden 7b4cb8e3f5 cleanup and always use window resize as suggested by @tonio 2012-08-17 11:36:03 +02:00
Bart van den Eijnden 3b9ce4ca2d introduce new property on the Map called autoUpdateSize which lets applications take control of window resizing / device orientation changes if they want to 2012-08-17 10:13:04 +02:00
ahocevar 88572303fb Addressing @tschaub's review comment. 2012-08-14 13:31:41 +02:00
ahocevar 5fff368a2d Addressing review suggestions and fixing asynchronous function calls.
This commit addresses @bartvde's review comments, adds more documentation, and fixes asynchronous function calls. Previously, when creating multiple processes with the same identifier, the describe callback would only have been called for the first process. This was fixed to move DescribeProcess handling from WPSProcess to WPSClient.
2012-08-14 13:17:07 +02:00
ahocevar 94f3ab393f Giving the test code more time to execute. 2012-08-12 22:08:43 +02:00
ahocevar 96db01006c Making Firefox happy. 2012-08-11 19:32:17 +02:00
ahocevar e2acbc56d0 More docs and unit tests. 2012-08-11 19:32:17 +02:00