Export ol.format.GeoJSON.writeGeometry()

This commit is contained in:
tsauerwein
2014-07-02 13:48:51 +02:00
parent 3e49ea2ba0
commit 97e59f0976
+13 -2
View File
@@ -449,7 +449,7 @@ ol.format.GeoJSON.prototype.readProjection = function(object) {
* *
* @function * @function
* @param {ol.Feature} feature Feature. * @param {ol.Feature} feature Feature.
* @return {ArrayBuffer|Node|Object|string} Result. * @return {ArrayBuffer|Node|Object|string} GeoJSON.
* @todo api * @todo api
*/ */
ol.format.GeoJSON.prototype.writeFeature; ol.format.GeoJSON.prototype.writeFeature;
@@ -485,7 +485,7 @@ ol.format.GeoJSON.prototype.writeFeatureObject = function(feature) {
* *
* @function * @function
* @param {Array.<ol.Feature>} features Features. * @param {Array.<ol.Feature>} features Features.
* @return {ArrayBuffer|Node|Object|string} Result. * @return {ArrayBuffer|Node|Object|string} GeoJSON.
* @todo api * @todo api
*/ */
ol.format.GeoJSON.prototype.writeFeatures; ol.format.GeoJSON.prototype.writeFeatures;
@@ -507,6 +507,17 @@ ol.format.GeoJSON.prototype.writeFeaturesObject = function(features) {
}; };
/**
* Encode a geometry as GeoJSON.
*
* @function
* @param {ol.geom.Geometry} geometry Geometry.
* @return {ArrayBuffer|Node|Object|string} GeoJSON.
* @todo api
*/
ol.format.GeoJSON.prototype.writeGeometry;
/** /**
* @inheritDoc * @inheritDoc
*/ */