tschaub
4cf7f99de0
Work with formats that copy filter writers
2012-10-25 12:31:20 -06:00
tschaub
81d3584e09
Test custom encodeLiteral function
2012-10-25 11:24:55 -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
Tim Schaub
ed66271be3
Use ISO 8601 formatting for dates in filters
2012-10-24 11:16:29 -06:00
Tim Schaub
1c39820eb1
Merge pull request #728 from tschaub/kml-track
...
Properly parse track attributes
2012-10-24 09:11:04 -07:00
tschaub
edb4798518
Testing multiple track attributes
2012-10-23 14:24:48 -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
Tim Schaub
8a8b3076c8
Adding an example that reprojects GeoJSON.
2012-10-19 14:16:13 -04:00
ahocevar
4b7a0b43b1
Merge pull request #709 from jorix/ghostClusters
...
Bug: Ghost clusters
2012-10-17 10:33:30 -07:00
Xavier Mamano
ee34448844
Add test remove features and zoom on Strategy/Cluster.html
2012-10-17 19:06:53 +02: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
Bart van den Eijnden
0b46f19ba6
Merge pull request #722 from tomhughes/bbox-fail
...
Clear the bounds in Protocol.BBOX when a load fails (r=bartvde)
2012-10-16 06:18:02 -07: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
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
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
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
ahocevar
e38ab01752
Fixing image-layer example
2012-10-13 09:26:45 +02: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
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
f757580ed4
Merge pull request #634 from ahocevar/634
...
CacheWrite caches an empty image if the tile is unloaded before the image is loaded. r=@bartvde
2012-10-12 06:41:24 -07: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
cf3ea0c7db
Register application listener after the control's
2012-10-12 13:41:54 +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
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
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
Stéphane Brunner
f1e7425821
use OpenLayers.Event.element
2012-10-10 11:28:18 +02:00
Stéphane Brunner
2e44aff5f0
Prevent KeyboardDefaults.js from triggering keyboard events when user is typing into the form elements for IE
2012-10-10 11:28:18 +02:00
ahocevar
0b3f582e10
Merge pull request #708 from mpriour/displayEvent
...
Fire the 'changelayer:visibility' event from layer's display method
2012-10-09 14:23:28 -07: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
74103ec3e0
Merge pull request #706 from bartvde/wmsc
...
allow versioned profiled parsers to fallback to the non-profiled parser (r=@ahocevar)
2012-10-08 23:41:57 -07:00
Bart van den Eijnden
ec8fa47a39
remove duplicate line in comment
2012-10-08 16:34:12 +02: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