ahocevar
8d55e14986
Safeguard against the case where no features are modifiable
2013-12-09 13:25:14 +01:00
Tom Payne
87f147db60
Merge pull request #1341 from twpayne/mapguide-clean-ups
...
Tidy up ol.source.MapGuide and add ratio option
2013-12-06 12:50:43 -08:00
ahocevar
951e874914
Merge pull request #1339 from ahocevar/wfs-transaction
...
Transaction handling and exports for the WFS parser
2013-12-06 12:26:12 -08:00
ahocevar
19cb3c5835
Addressing review comments
...
* Do not write xmlns
* Make @this annotations consistent
* Handle numbers and strings for attribute values
* Fix defaultNamespaceURI scope
2013-12-06 19:15:44 +01:00
Tom Payne
43e4292ec9
Tidy up ol.source.MapGuide and add ratio option
2013-12-06 18:11:01 +01:00
Tom Payne
0a5cc8812c
Merge pull request #1236 from jumpinjackie/master
...
MapGuide untiled map support
2013-12-06 08:59:57 -08:00
ahocevar
e49464a573
No native element on GetFeature queries
2013-12-06 16:49:44 +01:00
ahocevar
198b05047e
Export the WFS parser and its write methods
...
For using the WFS parser, users need to be able to write
GetFeature queries and transactions.
2013-12-06 11:06:39 +01:00
ahocevar
35b8fdc00c
Export getParser()
...
This reduces the API footprint of versioned parsers, because
only the base parser needs to be exported as symbol, and
versioned parsers can be accessed using the getParser() method.
2013-12-06 11:06:12 +01:00
ahocevar
b3b9add06e
Add Insert, Update and Delete writers
...
This change also adds some type annotations for better type
checking, introduces different write options for writing
transactions and queries, and provides new writeGetFeature and
writeTransaction methods.
2013-12-06 10:57:58 +01:00
ahocevar
f539eb140f
Use standard x, y axis order if we do not know better
2013-12-06 10:49:24 +01:00
ahocevar
77a8e91a2e
Merge pull request #1337 from ahocevar/no-foo
...
Proper namespace and sub-parser management in OGC parsers
2013-12-06 00:47:59 -08:00
ahocevar
fa0cc538f5
Proper namespace and sub-parser management
...
Instead of setting a dummy namespace, we can have setter methods
for the featureNS property to propagate them to sub-parsers. The
srsName is also a property which needs to be propagated to
sub-parsers.
2013-12-06 01:08:45 +01:00
ahocevar
af4308f481
Merge pull request #1336 from ahocevar/fix-writers-typo
...
Fix a typo - it's writers, not witers
2013-12-05 16:00:13 -08:00
ahocevar
1bf4b9bf49
Fix a typo - it's writers, not witers
2013-12-06 00:53:16 +01:00
Tim Schaub
e6841b6088
Merge pull request #1297 from tschaub/observable
...
Create ol.Observable.
2013-12-05 15:13:00 -08:00
Tim Schaub
162b245d7c
ol.Object extends ol.Observable
2013-12-05 12:28:33 -07:00
Tim Schaub
3dc40f8cb6
Add ol.Observable for on, once, un, and unByKey methods
2013-12-05 12:27:30 -07:00
Tom Payne
fac8936688
Merge pull request #1333 from twpayne/object-get-properties
...
Add ol.Object#getProperties
2013-12-05 07:40:32 -08:00
Tom Payne
7ae7c8e41e
Merge pull request #1334 from twpayne/build-check
...
Don't build ol.css in check target
2013-12-05 07:40:13 -08:00
Tom Payne
dfdec96ba7
Export ol.Object#getProperties
2013-12-05 16:32:41 +01:00
Tom Payne
d9c94c7012
Don't build ol.css in check target
2013-12-05 13:12:39 +01:00
Tom Payne
f795adcd56
Add ol.Object#getProperties
2013-12-04 19:19:51 +01:00
Tom Payne
bcda3aa3c2
Merge pull request #1331 from twpayne/rbush-is-empty
...
Add ol.structs.RBush#isEmpty
2013-12-04 06:26:41 -08:00
Tom Payne
2be40a1ae6
Add ol.structs.RBush#isEmpty
2013-12-04 15:05:43 +01:00
Tom Payne
b64e899b92
Merge pull request #1330 from twpayne/fail-if-major-performance-caveat
...
Don't use WebGL if there as a major performance caveat
2013-12-04 04:58:46 -08:00
Tom Payne
0d3583bd8d
Improve type checking in WebGL support test
2013-12-04 11:59:29 +01:00
Tom Payne
d6dc1a2c6f
Don't use WebGL if there is a major performance caveat
2013-12-04 11:58:05 +01:00
Bart van den Eijnden
10db521898
Merge pull request #1329 from bartvde/gpx-trkpt
...
Add GPX tracks example
2013-12-02 10:03:46 -08:00
Éric Lemoine
c904ca1d90
Merge pull request #1327 from oterral/fix_galaxytab
...
Fix map navigation on some android native browsers
2013-12-02 07:16:17 -08:00
Bart van den Eijnden
029c7ea7f3
add missing requires
2013-12-02 09:48:59 +01:00
Bart van den Eijnden
d9ba4e387c
add an example to display GPX tracks
2013-12-02 09:46:11 +01:00
oterral
22ac512507
Fix map navigation on android native browsers
2013-11-29 09:06:19 +01:00
ahocevar
1ac93d09c9
Merge pull request #1325 from ahocevar/remove-rtree
...
Replace RTree with RBush and remove RTree
2013-11-28 08:58:04 -08:00
ahocevar
45d9f6ce0b
Rename rbush test to match the naming scheme
2013-11-28 16:17:29 +01:00
ahocevar
d4bdac715b
Get rid of ol.structs.RTree
2013-11-28 16:17:17 +01:00
ahocevar
92a30bcbf7
Use ol.structs.RBush in ol.source.Vector
2013-11-28 16:16:52 +01:00
Tim Schaub
5a02ab9524
Merge pull request #1282 from tschaub/vector-source
...
Vector layer/source refactor.
2013-11-27 13:27:30 -08:00
Tim Schaub
b7b14420a4
Test removeFeatures and featureremove event
2013-11-27 12:22:34 -07:00
Tim Schaub
8b5dccb742
Test featureadd event
2013-11-27 12:22:34 -07:00
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
6229c0a1d4
Unused getFeaturesByIds_ 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
ec02e09ce8
Move render intent enum to feature
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
307e425891
Remove unused method
2013-11-27 12:20:42 -07:00