Commit Graph

55 Commits

Author SHA1 Message Date
Tom Payne
7cfca09632 Fix date calculation in ol.format.IGC 2014-01-16 20:04:06 +01:00
Antoine Abt
c8e7c9f64e Add support for reading id & properties 2014-01-16 10:25:19 +01:00
Antoine Abt
dfbdd61701 Add new TopoJSON format. 2014-01-16 10:25:17 +01:00
Antoine Abt
979b7485b5 Move format exports into child classes.
To only export implemented methods.
2014-01-16 10:25:17 +01:00
Tom Payne
bb2ab4d71e Remove ol.format.Format#readFeaturesAsync 2014-01-15 15:17:07 +01:00
Tom Payne
99eca3037d Encode ol.geom.Circles as empty geometry collections in GeoJSON
GeoJSON does not support circles, nor null geometries.  Empty geometry
collections seem to be the way to represent at null geometry in GeoJSON.
2014-01-14 12:34:47 +01:00
Frederic Junod
b53ddf5b42 Create 'type' annotation for 'const' variables 2014-01-13 08:53:36 +01:00
oterral
235af49f0b Add goog.provide('ol.geom.GeometryType') 2014-01-10 14:00:30 +01:00
Tom Payne
6b94baf291 Add ol.format.KML defaultStyle option 2014-01-08 18:22:19 +01:00
Éric Lemoine
fd6756e465 Export ol.format.KML#readName 2014-01-08 11:35:09 +01:00
Éric Lemoine
47056f6012 Remove useless code 2014-01-08 10:59:36 +01:00
Tom Payne
1acdef835d Change default anchor for KML icons from Google Maps 2014-01-08 00:30:17 +01:00
Éric Lemoine
7487f97436 Support anchorXUnits and anchorYUnits in KML format 2014-01-08 00:27:08 +01:00
Tom Payne
0b4e8bf6f1 Use firstElementChild in ol.format.KML 2014-01-06 13:27:37 +01:00
Tom Payne
d20a8eac3f Read KML LinearRings as Polygons 2014-01-06 10:41:38 +01:00
Tom Payne
061fed50b7 Move all styleFunction types into ol.feature 2014-01-03 17:23:11 +01:00
Frederic Junod
1f0c70fec3 Parse HFDTE record before the others H records
ol.format.IGC.H_RECORD_RE_ don't match HFDTE records (because of the ':').
2013-12-22 12:44:12 +01:00
Frederic Junod
979083bb21 Fix ol.format.IGC HFDTE parsing (HFDTEDDMMYY not HFDTEYYMMDD) 2013-12-22 12:44:12 +01:00
Tom Payne
d68a88da26 Always return an array of features, even if no features are read 2013-12-20 17:53:46 +01:00
Tom Payne
2b51d6af00 Add support for gx:MultiTrack elements 2013-12-20 16:40:53 +01:00
Frederic Junod
eaf6d7caef Add ol.format.IGC#getExtensions 2013-12-20 09:08:08 +01:00
Tom Payne
e789d9a6fe Merge pull request #1359 from twpayne/vector-api-polyline
[vector-api] Add ol.format.Polyline
2013-12-19 09:15:46 -08:00
Tobias Bieniek
432c6d8af3 Optimize encode 2013-12-19 18:14:10 +01:00
Tom Payne
33bf2b746f Add ol.format.KML#readName 2013-12-19 17:54:13 +01:00
Tom Payne
1d8f81d637 Add ol.format.KML 2013-12-19 17:00:37 +01:00
Tom Payne
07c20c93fc Add ol.format.GeoJSON#getExtensions 2013-12-19 17:00:36 +01:00
Tom Payne
befd1fc5f8 Add ol.format.Format#getExtensions 2013-12-19 17:00:36 +01:00
Tom Payne
986f6559b7 Refactor ol.format.XML 2013-12-19 17:00:36 +01:00
Éric Lemoine
fead554a39 Add missing goog.provide's (for @enum's) 2013-12-18 23:29:26 +01:00
Tom Payne
1d1dbb08c9 Use stronger instanceof assertion 2013-12-17 12:59:58 +01:00
Tom Payne
ed332dba19 Remove whitespace 2013-12-17 12:59:58 +01:00
Tom Payne
1864f204f7 Add ol.format.Polyline#readProjectionFromText 2013-12-17 12:59:58 +01:00
Tobias Bieniek
36a5a53ba2 Optimize encode 2013-12-17 12:59:58 +01:00
Tom Payne
d187849838 Making coding style closer to ol3's in ol.format.Polyline 2013-12-17 12:59:58 +01:00
Tom Payne
3cf87ced1e Port ol.parser.polyline to ol.format.Format 2013-12-17 12:59:58 +01:00
Tom Payne
461a0d0615 Move back ol.parser.polyline 2013-12-17 12:59:57 +01:00
Tom Payne
fde0350414 Add ol.format.IGC 2013-12-16 20:25:49 +01:00
Tom Payne
8003c4ba5a Remove ol.format.Format#readStyleFunction 2013-12-16 12:47:28 +01:00
Tom Payne
d46d3a209e Don't assume EPSG:4326 in ol.format.XML 2013-12-13 21:43:11 +01:00
Tom Payne
c86d7c40e2 Don't assume EPSG:4326 in ol.format.Text 2013-12-13 21:42:38 +01:00
Tom Payne
700ebb860a Don't assume EPSG:4326 in ol.format.Format 2013-12-13 21:42:25 +01:00
Éric Lemoine
35d5158454 Merge remote-tracking branch 'upstream/master' into vector-api
Conflicts:
	src/objectliterals.jsdoc
	src/ol/attribution.js
	src/ol/geom/geometry.js
	src/ol/geom/geometrycollection.js
	src/ol/geom/linestring.js
	src/ol/layer/vectorlayer.exports
	src/ol/layer/vectorlayer.js
	src/ol/map.js
	src/ol/proj/proj.js
	src/ol/renderer/canvas/canvasvectorlayerrenderer.js
	src/ol/source/imagewmssource.js
	src/ol/source/tilewmssource.js
	src/ol/source/vectorsource.exports
	src/ol/source/vectorsource.js
	src/ol/source/wmssource.js
	src/ol/style/style.js
	src/ol/tilegrid/tilegrid.js
	src/ol/tilegrid/wmtstilegrid.js
	src/ol/tilegrid/xyztilegrid.js
2013-12-13 12:53:57 +01:00
Tom Payne
bde17b2ac8 Add ol.geom.GeometryCollection support to ol.format.GeoJSON 2013-12-11 17:28:00 +01:00
Tom Payne
ecf9ace190 Add ol.format.GeoJSON 2013-12-10 15:35:50 +01:00
Tom Payne
aa0002d880 Add ol.format.XML 2013-12-10 14:43:45 +01:00
Tom Payne
8c7ff29470 Add ol.format.Text 2013-12-10 14:43:45 +01:00
Tom Payne
409cde83bf Add ol.format.JSON 2013-12-10 14:43:45 +01:00
Tom Payne
1187466ebf Add ol.format.Format 2013-12-10 12:55:22 +01:00
Tom Payne
6d96fbf44d Remove experimental ol.format code 2013-12-10 12:55:22 +01:00
Tom Payne
8626da50ea Read GeoJSON feature id 2013-11-20 11:42:08 +01:00