Merge pull request #2287 from tsauerwein/geojson-write-geometry

Export ol.format.GeoJSON.writeGeometry()
This commit is contained in:
Éric Lemoine
2014-07-02 14:46:46 +02:00

View File

@@ -449,7 +449,7 @@ ol.format.GeoJSON.prototype.readProjection = function(object) {
*
* @function
* @param {ol.Feature} feature Feature.
* @return {ArrayBuffer|Node|Object|string} Result.
* @return {ArrayBuffer|Node|Object|string} GeoJSON.
* @todo api
*/
ol.format.GeoJSON.prototype.writeFeature;
@@ -485,7 +485,7 @@ ol.format.GeoJSON.prototype.writeFeatureObject = function(feature) {
*
* @function
* @param {Array.<ol.Feature>} features Features.
* @return {ArrayBuffer|Node|Object|string} Result.
* @return {ArrayBuffer|Node|Object|string} GeoJSON.
* @todo api
*/
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
*/