Tim Schaub
a5cadacb78
Test featureload event
2013-11-27 12:22:34 -07:00
Tim Schaub
f9710b6698
Test forEachFeatureInExtent
2013-11-27 12:22:33 -07:00
Tim Schaub
3bcd4bf833
Tests for getFeatures method
2013-11-27 12:22:33 -07:00
Tim Schaub
1f6d9fc5ae
Test for vector source load method
2013-11-27 12:22:33 -07:00
Tim Schaub
1877f92d46
Add forEach method to rtree, use it in feature cache
...
This saves having to create feature lookup objects and iterate through lookup properties multiple times.
2013-11-27 12:22:33 -07:00
Tim Schaub
8cc4ae8dbd
Separate load requests from feature requests
...
This separates the action of requesting an extent to be loaded from the action of requesting cached features. The renderer (or any other consumer of a vector source) calls load to request a data extent. A `featureload` event fires when new features are loaded. The renderer (or any other consumer) separately asks for cached features given an extent. This vector source only loads features once, but this separation will also work with sources that make multiple requests for data in different extents.
This also removes the `data` option from the vector source in favor of a `features` option. Since we no longer have shared data structures for geometries, people can manually create features and pass them to a vector source. The `addFeatures` method is exported as well. This is used to add features to a source that don't have a representation on the "remote" (or server).
2013-11-27 12:22:32 -07:00
Tim Schaub
bfaed4d52d
Moving all style functionality from source to style
2013-11-27 12:20:43 -07:00
Tim Schaub
01a0b9ff8d
Private source methods
2013-11-27 12:20:42 -07:00
Tim Schaub
2000b0af78
Vector layer/source refactor
...
This moves the feature cache from ol.layer.Vector to ol.source.Vector. These are the minimum changes required to maintain the existing functionality and make tests pass. More refactoring to come.
2013-11-27 12:20:42 -07:00
Bart van den Eijnden
73a2ab2de1
make sure we can also read in CDATA fields with newlines
2013-11-27 16:09:36 +01:00
Éric Lemoine
1192162792
Merge branch 'master' into vector-api
2013-11-27 15:40:22 +01:00
Tom Payne
f847b37261
Rename ol.structs.RBush#allInExtent to getAllInExtent
2013-11-27 15:10:18 +01:00
Tom Payne
828456d18e
Rename ol.structs.RBush#all to getAll
2013-11-27 15:10:18 +01:00
Tom Payne
665781ee03
Throw an exception if an ol.structs.RBush is modified while reading
2013-11-27 15:10:17 +01:00
Tom Payne
1293294d40
Implement ol.structs.RBush#remove_
2013-11-26 12:02:59 -07:00
Tom Payne
0ea7c2cd50
Refactor ol.structs.RBush tests
2013-11-26 12:02:59 -07:00
Tom Payne
e823e7fde3
Add ol.structs.RBush
2013-11-26 12:02:59 -07:00
Tom Payne
2df03fbf96
Implement ol.structs.RBush#remove_
2013-11-26 11:57:38 +01:00
Tom Payne
62b9aa0595
Refactor ol.structs.RBush tests
2013-11-26 11:57:37 +01:00
Tom Payne
e749715abd
Move ol.structs.RTree out of the way
2013-11-26 11:57:37 +01:00
Tom Payne
8294ca9f57
Port ol.source.Vector to ol.structs.RBush
2013-11-26 11:57:37 +01:00
Tom Payne
4cddee2a0e
Add ol.structs.RBush
2013-11-26 11:57:37 +01:00
Bart van den Eijnden
d564b5170c
move the typedefs out of objectliterals
2013-11-25 15:50:09 +01:00
Bart van den Eijnden
279c358af2
same solution for axisOrientation as for WFS 1.1.0
2013-11-25 15:50:08 +01:00
Bart van den Eijnden
c9569ed9e2
more tests and typedefs.
...
Once feature editing is more stable, this format can be extended with Update, Delete and Insert
2013-11-25 15:49:56 +01:00
Bart van den Eijnden
46b79d88f8
ability to parse a FeatureCollection
...
The trick here was to delete featureNS so autoConfig would kick in
2013-11-25 15:49:48 +01:00
Bart van den Eijnden
c4e7d4437c
port over another WFS 1.1 testcase
2013-11-25 15:49:47 +01:00
Bart van den Eijnden
a77632a88c
write out GetFeature in WFS 1.1
2013-11-25 15:49:47 +01:00
Bart van den Eijnden
4df848fae0
need the ability to set axisOrientation
...
We need to be able to set axisOrientation on the underlying GML parser of the Filter subparser of ol.parser.WFS*, also only options and no properties on the instance anymore
2013-11-25 15:48:59 +01:00
Bart van den Eijnden
3184fb02e5
ability to read boundedBy from FeatureCollection
2013-11-25 15:48:58 +01:00
Bart van den Eijnden
d2ac206ca3
starting to add tests for WFS 1.1.0
...
make sure we don't override the wfs:FeatureCollection reader with the one from GML
2013-11-25 15:48:33 +01:00
Bart van den Eijnden
0581a49378
ability to write out PropertyNames in a GetFeature request
2013-11-25 14:40:15 +01:00
Bart van den Eijnden
557390f2ad
initial version of the WFS parser for 1.0.0 and 1.1.0
2013-11-25 14:40:15 +01:00
Bart van den Eijnden
d02af43161
Merge pull request #1130 from bartvde/sld3
...
Add Styled Layer Descriptor (SLD) version 1.0.0 parser (read/write) (r=@ahocevar)
2013-11-25 01:56:16 -08:00
Bart van den Eijnden
410b0793cf
Merge pull request #1127 from bartvde/gfi
...
STYLES parameter duplicated on getFeatureInfo (r=@tschaub,@ahocevar)
2013-11-25 00:39:09 -08:00
Bart van den Eijnden
053d80180d
have the GML parser read and write out multiple geometry attributes with their correct name
2013-11-20 14:57:00 +01:00
Frederic Junod
38bbe35e8d
Remove ol.Map#getRenderer function
2013-11-20 11:45:24 +01:00
Tom Payne
6b61f45379
Remove support for 4- and 8- digit hex colors
...
These are not supported by canvas.
2013-11-20 11:44:49 +01:00
Tom Payne
e3c3170c39
Refactor ol.color to not use goog.color
2013-11-20 11:44:48 +01:00
Tom Payne
51c201acd7
Refactor ol.color to use Array.<number>
2013-11-20 11:44:48 +01:00
Tom Payne
24ca534c54
Use skip instead of xit to mark failing tests
2013-11-20 11:44:48 +01:00
Tom Payne
0aa0cfd54b
Move ol.geom.flatLinearRingIsClockwise into ol.geom.flat
2013-11-20 11:44:44 +01:00
Tom Payne
ca639a057f
Rename ol.test.geom to ol.test.geom.flat
2013-11-20 11:44:44 +01:00
Tom Payne
48d3402044
Move reverseFlatCoordinates into ol.geom.flat
2013-11-20 11:44:44 +01:00
Tom Payne
16e5f238d2
Move inflateCoordinates into ol.geom.flat
2013-11-20 11:44:44 +01:00
Tom Payne
dc1ad7bb83
Move deflateCoodinates into ol.geom.flat
2013-11-20 11:44:44 +01:00
Tom Payne
af17797145
Use clockwise polygons in GeoJSON tests
2013-11-20 11:42:09 +01:00
Tom Payne
376bd6359b
Add more exhaustive polygon tests (some fail for reasons not yet known)
2013-11-20 11:42:09 +01:00
Tom Payne
43d67736a8
Add ol.geom.flatLinearRingIsClockwise
2013-11-20 11:42:09 +01:00
Tom Payne
72f64bd37a
Add ol.geom.reverseFlatCoordinates
2013-11-20 11:42:08 +01:00