Commit Graph

33 Commits

Author SHA1 Message Date
tsauerwein
539e4a23b9 Introduce defaultDataProjection for formats 2014-08-18 15:31:06 +02:00
tsauerwein
31dbbc6a8c Implement read/write transforms for ol.format.GPX 2014-08-08 15:50:55 +02:00
tsauerwein
3090a0af37 Fix GeoJSON.readFeaturesFromObject
Only feature collections worked properly.
2014-08-08 11:14:03 +02:00
Andreas Hocevar
c4fdbacc12 Make options complete in ol.format.Feature already 2014-07-31 17:55:43 +02:00
Andreas Hocevar
ee5f85df9f Add transformGeometry function to avoid repeated code 2014-07-31 17:54:41 +02:00
Andreas Hocevar
464eb3ccf5 Make projection retrieval consistent 2014-07-31 17:54:41 +02:00
Andreas Hocevar
4c4a335448 Implement write transforms for ol.format.GeoJSON 2014-07-31 17:54:41 +02:00
Andreas Hocevar
0ea55b7f27 Use a ReadFeatures object instead of sourceProjection/targetProjection 2014-07-31 17:51:25 +02:00
Éric Lemoine
225791c969 Add target/sourceProjection to ol.format.GeoJSON#read* 2014-07-31 17:51:24 +02:00
Frederic Junod
051da752f3 Improve type annotation in ol.format.GeoJSON 2014-07-31 09:43:06 +02:00
Tim Schaub
4cf5ab4620 Use @api annotation instead of @todo api 2014-07-05 15:41:14 -04:00
Éric Lemoine
0666dee697 GeoJSON format needs to implement readProjectionFromObject 2014-07-04 13:51:27 +02:00
tsauerwein
97e59f0976 Export ol.format.GeoJSON.writeGeometry() 2014-07-02 13:48:51 +02:00
Éric Lemoine
eafc2ac371 Change setValues to setProperties 2014-06-27 17:26:51 +02:00
Peter Robins
41d9f0360a Add @classdesc to classes 2014-06-09 12:10:19 -04:00
Bart van den Eijnden
8eef633abc Ability to specify geometryName on ol.format.GeoJSON 2014-05-21 16:44:18 +02:00
Andreas Hocevar
fbdbbfb7a7 Get rid of stability annotations and document stability with api
This change adds a stability value to the api annotation, with
'experimental' as default value.

enum, typedef and event annotations are never exportable, but
api annotations are needed there to make them appear in the
docs.

Nested typedefs are no longer inlined recursively, because the
resulting tables get too wide with the current template.
2014-04-29 09:53:07 -06:00
Andreas Hocevar
c17ac0cae3 Greatly simplify and document the usage of JSDoc
This commit simplifies the exports.js plugin so it only relies
on the stability notes to generate the documentation, which
completely decouples it from the exportable API.

As a rule of thumb, whenever something has an 'api' annotation,
it should also have a 'stability' annotation. A more verbose
documentation of ol3 specific annotation usage is available in
the new 'apidoc/readme.md' file.

This commit also modifies all source files to implement these
usage suggestions.
2014-04-29 09:53:06 -06:00
Tim Schaub
fb497f5288 Annotations for exports 2014-04-29 09:53:05 -06:00
Paul Spencer
cc90d59cac Add documentation for the GeoJSON format. 2014-03-11 20:53:20 -04:00
Tom Payne
87cf424029 Rename ol.format.JSON to ol.format.JSONFeature 2014-02-28 13:09:14 +01:00
Antoine Abt
24ee4cb742 [GeoJSON] Add support for feature with null geometries 2014-02-14 15:12:16 +01:00
Tom Payne
2dd6cfd651 Add stability annotation to ol.format.GeoJSON 2014-02-03 14:59:13 +01:00
Tim Schaub
b7ed585e31 Reminder to remove workaround when GeoServer GeoJSON issue is fixed
See #1566 and http://jira.codehaus.org/browse/GEOS-5996
2014-01-21 09:59:25 -07:00
Tom Payne
f9e0167b66 Parse out-of-spec CRSs generated by GeoServer 2014-01-21 16:02:02 +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
d68a88da26 Always return an array of features, even if no features are read 2013-12-20 17:53:46 +01:00
Tom Payne
07c20c93fc Add ol.format.GeoJSON#getExtensions 2013-12-19 17:00:36 +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