ahocevar
52552c9b18
Fire change events for multi-part geometries
2013-10-04 23:36:16 -06:00
Tim Schaub
9b47c15bd8
Make geometries event targets
...
Previously, the tests were using eql to make assertions about matching geometries. This is inappropriate for structures with circular references (as with goog.events.EventTarget);
2013-10-03 12:28:34 -06:00
Tim Schaub
626a319222
Accessor for polygon rings
2013-10-03 12:28:34 -06:00
Tim Schaub
e1ba1d8887
Remove use of shared structures in feature parsers
2013-09-27 23:18:34 +01:00
Frederic Junod
764aacb568
Rename {get|set}FeatureId to {get|set}Id
2013-09-17 12:50:56 +02:00
Tim Schaub
e806f51b3d
Changing extent structure back to single array: [minX, minY, maxX, maxY]
...
This means we'll have to have a new structure and new methods for 3D envelopes.
2013-09-15 00:31:32 -06:00
Tim Schaub
65863614bb
GeoJSON and TopoJSON tests for new extent structure
2013-09-14 21:11:53 -06:00
Tim Schaub
0c555e6e7d
Accept null crs
2013-08-27 10:54:00 -06:00
Tim Schaub
7e2bd66417
Read crs from top-level object when parsing as features
2013-08-25 12:32:22 -06:00
Tim Schaub
254f325f29
Provide a method for parsing any GeoJSON as an array of features
2013-08-07 11:50:37 -06:00
ahocevar
9578da0cfb
Renaming readFeaturesWithMetadata* back to readFeatures*
...
Since this is not exported and we do not have a counterpart that
does not return the metadata, it should be fine to use a shorter
name.
2013-08-04 15:10:11 +02:00
Bart van den Eijnden
33dd188f9b
fix up the geojson tests
2013-08-04 15:10:08 +02:00
Tim Schaub
2ee0805075
Taking advantage of GitHub's rendering of .geojson
2013-06-18 15:39:45 -06:00
ahocevar
5a3ac559be
Merge pull request #733 from ahocevar/fid
...
Store the feature's commonly used id. r=@fredj,@bartvde
2013-05-24 06:15:00 -07:00
ahocevar
8c0f1f979a
Store the feature's commonly used id
...
To not clobber the feature's attributes, this is a separate
member property.
2013-05-23 11:16:17 -05:00
Bart van den Eijnden
93b067b6bc
Write support for ol.parser.GeoJSON
...
Also add some convenience with static read and write methods based on the
singleton.
2013-05-23 15:57:11 +02:00
Tom Payne
f81658f542
Port parsers to new extents
2013-04-19 10:03:36 +02:00
Tobias Bieniek
d5d8afc858
Converted "vector" branch unit tests to mocha, expect.js and sinon
2013-03-13 04:48:08 +01:00
ahocevar
ab19d255c7
Rendering icons from external graphic urls
2013-03-06 01:57:08 +01:00
Tim Schaub
1d6cd1bd1b
Lint-free tests
2013-03-04 21:30:23 +01:00
Tim Schaub
8c8ddce290
GeoJSON parser implements StringFeatureParser
2013-03-04 20:31:01 +01:00
Tim Schaub
b247031fe2
Test reading with shared vertices
2013-03-03 15:51:24 +01:00
Tim Schaub
69b6fae744
Parser base class
...
GeoJSON is now a parser. The idea is that we'll want to pass parsers to sources or protocols and want a known type.
2013-03-03 11:50:51 +01:00
Tim Schaub
b52d283641
Allow geometries to use a shared vertex array
...
The ol.geom.SharedVertices structure represents a flattened array of vertex coordinates. This is intended to support optimal WebGL rendering.
2013-03-02 18:39:24 +01:00
Tim Schaub
9cac8ec2f6
Moving GeoJSON into parser package
...
Need to discuss whether we want all to require constructing a new parser. I liked the simple `ol.io.geojson.read` function.
2013-02-20 00:09:38 -07:00