Commit Graph

4844 Commits

Author SHA1 Message Date
Bart van den Eijnden
7d02c4a371 Handle undefined value at readGeometryFromNode instead 2014-02-25 17:28:36 +01:00
Bart van den Eijnden
46a6f96032 Handle that ol.xml.pushParseAndPop can return undefined 2014-02-25 17:25:14 +01:00
Bart van den Eijnden
8d623d765a Do not create parsers in wfs namespace if not needed 2014-02-25 17:11:24 +01:00
Bart van den Eijnden
6256bf1989 Add feature id (fid) parsing 2014-02-25 16:28:10 +01:00
Bart van den Eijnden
98368a554d Use ol.xml.pushParseAndPop instead 2014-02-25 14:58:16 +01:00
ahocevar
71e1dc9f45 Always use a context for GML parsing
The context is at the bottom of the object stack. All entry
points to parsing (#readGeometryFromNode(),
#readFeaturesFromNode()) set up the context now, and parsers
always access the context at index 0 of the objectStack.
2014-02-25 14:33:20 +01:00
Bart van den Eijnden
679b152852 Add srsName info at index 0 in the stack 2014-02-25 13:58:19 +01:00
Bart van den Eijnden
08e2ccb59a Handle srsName better 2014-02-25 13:22:15 +01:00
ahocevar
b4454535f7 Use stack instead of recursion for features
This also allows us to work without a local copy of the
namespace URIs.
2014-02-25 09:34:38 +01:00
Bart van den Eijnden
0a71b5bbaa Rename NAMESPACE_URIS_ to namespaceURIs_ 2014-02-24 16:59:08 +01:00
Bart van den Eijnden
d2c88c1ea3 Use readFeatureFromNode instead 2014-02-24 16:49:35 +01:00
Bart van den Eijnden
0a93bb38f8 Copy NAMESPACE_URIS_ array to the instance 2014-02-24 16:01:15 +01:00
Bart van den Eijnden
831d233874 Move parseGeometry workaround into the tests 2014-02-24 15:25:54 +01:00
Bart van den Eijnden
a095d41ac4 Add support for axis orientation 2014-02-24 15:25:54 +01:00
Bart van den Eijnden
7145179c30 Port over more test cases 2014-02-24 15:25:54 +01:00
Bart van den Eijnden
dd8d69f976 Call setGeometryName on the feature 2014-02-24 15:25:54 +01:00
Bart van den Eijnden
b2885217df Add feature parsing from WFS FeatureCollection 2014-02-24 15:25:54 +01:00
Bart van den Eijnden
796e7be623 Add preliminary read support for features 2014-02-24 15:25:53 +01:00
Bart van den Eijnden
9e44e79789 Add support for gml:MultiSurface 2014-02-24 15:25:53 +01:00
Bart van den Eijnden
e479bd142f Add gml:MultiCurve support 2014-02-24 15:25:53 +01:00
Bart van den Eijnden
086828ba14 Add support for gml:MultiPolygon 2014-02-24 15:25:53 +01:00
Bart van den Eijnden
a484452207 Add support for gml:MultiLineString 2014-02-24 15:25:53 +01:00
Bart van den Eijnden
aa4d798dc7 Add gml:MultiPoint parsing 2014-02-24 15:25:53 +01:00
Bart van den Eijnden
95bbb849bb Deal with srsDimension 2014-02-24 15:25:53 +01:00
Bart van den Eijnden
877d5a445e Add parser for gml:Envelope 2014-02-24 15:25:52 +01:00
Bart van den Eijnden
85fe1bf737 Add parsing for gml:Curve 2014-02-24 15:25:52 +01:00
Bart van den Eijnden
e845d6558c Add parsing for gml:Surface 2014-02-24 15:25:52 +01:00
Bart van den Eijnden
ae1e660ab4 Add geometry parsing for point, line, polygon 2014-02-24 15:25:52 +01:00
ahocevar
28d0d82253 Merge pull request #1716 from ahocevar/gpx-write
Write support for ol.format.GPX
2014-02-24 14:23:16 +01:00
ahocevar
3a560c9843 Put jsdoc comment into effect 2014-02-24 14:14:13 +01:00
ahocevar
bb38771096 No magic for namespace URI 2014-02-24 14:13:41 +01:00
ahocevar
c1a966bb6f namespaceURI can be null, but not undefined 2014-02-24 13:55:20 +01:00
Tom Payne
f028befdf9 Merge pull request #1739 from twpayne/rotate-with-map
Allow icons to be rotated with the map
2014-02-24 13:06:48 +01:00
Antoine Abt
e213bccef7 Merge pull request #1740 from tonio/interaction_api
Editing interaction api cleanup
2014-02-24 08:46:49 +01:00
ahocevar
7b56abdac7 Get rid of compiler warnings 2014-02-23 01:50:59 +01:00
ahocevar
696425af36 Documentation and cleanup 2014-02-21 22:49:33 +01:00
ahocevar
480a6a85ba Add trk serialization for ol.format.GPX 2014-02-21 20:27:04 +01:00
ahocevar
791cb2415b Simplify annotations 2014-02-21 20:22:44 +01:00
ahocevar
1354d8ce78 Added rte serialization for ol.format.GPX 2014-02-21 16:55:48 +01:00
ahocevar
13b4f07cd9 New makeChildrenAppender function and Node factory refactoring
The makeChildAppender function is used for adding a node of a
type with maxOccurs=1. For adding nodes of a type with
maxOccurs>1, the new makeChildrenAppender function was added.

With this new function, it turned out that more convenience for
creating node factories is required. The makeChildNodeFactory
function was renamed to makeSimpleNodeFactory, and it now can
create node factories where not only the namespace, but also the
node name can be fixed.
2014-02-21 16:55:05 +01:00
Tom Payne
3c32bbdce3 Document rotateWithView option 2014-02-21 14:32:15 +01:00
Tom Payne
7a34929b15 Rename rotateWithMap to rotateWithView 2014-02-21 14:32:06 +01:00
Antoine Abt
a971928bbe Add features option to draw interaction 2014-02-21 13:41:07 +01:00
Tom Payne
a17055a419 Activate rotateWithMap option in ol.render.canvas.Immediate 2014-02-21 12:57:34 +01:00
Tom Payne
0e90cf02ad Pass view rotation to ol.render.canvas.Immediate 2014-02-21 12:57:09 +01:00
Antoine Abt
ec832bdf6e Modify interaction takes style & features options
Instead of a FeatureOverlay
2014-02-21 12:35:30 +01:00
Tom Payne
1d2c88efb9 Merge pull request #1717 from twpayne/binary-format
Add ol.format.Binary
2014-02-21 12:27:13 +01:00
Antoine Abt
7cea6f3240 Make select interaction create its FeatureOverlay
You can now configure it with a `style` option.
2014-02-21 11:59:43 +01:00
Tom Payne
222fafcb77 Activate rotateWithMap option in ol.render.canvas.Replay 2014-02-21 11:57:11 +01:00
Tom Payne
fe420ce1eb Pass view rotation to replay 2014-02-21 11:56:34 +01:00