Commit Graph

4286 Commits

Author SHA1 Message Date
Bart van den Eijnden 8cc0cdc6a1 incorporate suggestions by @ahocevar and @elemoine 2012-11-07 11:56:04 +01:00
Bart van den Eijnden a4df9a871b when using BBOX or Fixed strategies, pass on the filter used in the request to the loadstart event. This is mostly important in the case of BBOX, since there is no other way to get the filter used in the request. An example use case is doing a hitCount request using the same filter to find out the true number of features matched on the server-side 2012-11-07 11:43:18 +01:00
Éric Lemoine 7ecbce28aa Merge pull request #742 from finn-no/scroll-touch-fix
Fixed problems with touch events on a scrollable page
2012-11-06 06:04:07 -08:00
Gregers Gram Rygg 7b1bc2a675 Removed Event from doc, since it's not being used 2012-11-05 23:15:53 +01:00
Gregers Gram Rygg 6e18d0e254 Added comment about olMochWin 2012-11-05 23:08:42 +01:00
Gregers Gram Rygg 4842c9e572 Renamed _mochWin to olMochWin 2012-11-05 23:04:32 +01:00
ahocevar a54ecca32b Merge pull request #705 from ahocevar/animation
Remove complexity from the image loading sequence. r=@elemoine,@tschaub
2012-11-05 10:33:59 -08:00
ahocevar 5a3bcc716b Not using requestAnimationFrame
Using the Timeline tab of the Chrome Developer Tools, no significant
difference of Paint events can be observed when requestAnimationFrame is
used. So I agree with @elemoine that there is no need to introduce
asynchronous behavior here.
2012-11-05 17:28:10 +01:00
Bart van den Eijnden b45f903198 Merge pull request #744 from bartvde/cqlnull
add support for OpenLayers.Filter.Comparison.IS_NULL in CQL format (thanks @elemoine for the review)
2012-11-05 06:42:38 -08:00
Bart van den Eijnden 703e0a2ca1 make it clear with docs that maxFeatures can be specified on Protocol.WFS (non-functional change) 2012-11-05 15:31:08 +01:00
Bart van den Eijnden 31b4c39b5b Merge branch 'master' of github.com:openlayers/openlayers 2012-11-05 15:27:55 +01:00
Bart van den Eijnden 41ac2dea08 add support for OpenLayers.Filter.Comparison.IS_NULL in OpenLayers.Format.CQL 2012-11-05 13:21:51 +01:00
ahocevar 65fa1aaa2d Make sure we do not make abandoned tiles visible 2012-11-05 10:43:05 +01:00
ahocevar ebeb49b5e7 blankImageUrl is no longer needed for image tiles 2012-11-05 10:40:05 +01:00
Éric Lemoine 8bb58e453b Merge pull request #576 from probins/cors
CORS support in Request: remove console warning if not same origin
2012-11-05 01:36:56 -08:00
Peter Robins 99906c8b98 CORS support in Request: remove console warning if not same origin 2012-11-05 09:32:20 +00:00
tschaub 47ef7e87f7 Handle whitespace and escaped quotes in CQL values
See #743.
2012-11-02 11:44:41 -06: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 4cf7f99de0 Work with formats that copy filter writers 2012-10-25 12:31:20 -06:00
tschaub 9e21911ca3 Unnecessary call to appendChild
The writeNode function already calls appendChild on the parent.
2012-10-25 12:11:25 -06: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 993add338d Allow user to customize literal encoding
As suggested by @mpriour, it would be nice if the user could determine how
date values are encoded in literal elements.  Extending this beyond date
values, we can provide an `encodeLiteral` method that can be overridden to
provide application specific behavior.
2012-10-25 10:52:54 -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 596ac680da Use correct track attribute
Previously, the last track attribute name would be used as the
feature attribute name.  For tracks with multiple attributes, this
doesn't work.
2012-10-23 14:15:22 -06:00
ahocevar 4b7a0b43b1 Merge pull request #709 from jorix/ghostClusters
Bug: Ghost clusters
2012-10-17 10:33:30 -07:00
Stéphane Brunner 788d49a3bb Merge pull request #666 from sbrunner/Prevent.KeyboardDefaults-ie
Prevent KeyboardDefaults.js from triggering keyboard events when user is...
2012-10-17 03:01:58 -07:00
Xavier Mamano 3c416a4d60 Clear the cache on Strategy.Cluster when features are removed.
This prevents reappearing the removed features after zooming.
2012-10-16 18:43:53 +02:00
Tom Hughes 628978f894 Clear the bounds in Protocol.BBOX when a load fails
If a load fails then we won't have any features, but we also won't
try and load them again for any part of that area because the bounds
tell us we have already loaded them. So clear the bounds in order
that reloads will be triggered.
2012-10-16 14:16:37 +01:00
Bart van den Eijnden d098897c79 Merge pull request #717 from walkermatt/master
Support for PropertyIsNull Filter
2012-10-16 00:24:23 -07: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 bccd0824b9 Removed duplicate line that gets the filter value 2012-10-15 09:47:10 +01:00
ahocevar c3b13b5df3 Using radix parameter to make linter happy 2012-10-15 08:27:01 +02:00
Matt Walker 0707bb49bd Merge remote-tracking branch 'upstream/master' 2012-10-13 19:59:41 +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 a0acf1e550 Calculating rowSign only once 2012-10-12 16:16:44 +02:00
ahocevar 0eb8949ad2 Updating and fixing API docs 2012-10-12 16:11:10 +02:00
ahocevar e5feda7ad7 Camel casing method name 2012-10-12 15:03:38 +02:00
ahocevar 157dd9e1c2 Fixing typo 2012-10-12 14:44:48 +02: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 ff4a1b2468 Optimizing positions for rendering
Calculating pixel positions from origin and grid index causes alignment
issues in the grid. By going back to incremental positioning, we get a
result without blank spaces between tiles again.
2012-10-12 03:23:56 +02:00
ahocevar 66455600c7 Better precision for right and top corners 2012-10-12 03:10:42 +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 e7292ecbe2 Fixing ArcGISCache layer
This is done by caching the tileOrigin at grid creation time.
2012-10-11 22:26:59 +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