Stable GeoJSON read/write methods

This commit is contained in:
Tim Schaub
2015-04-02 12:56:11 +02:00
parent 0b2c097686
commit 419483face
+3 -3
View File
@@ -524,8 +524,8 @@ ol.format.GeoJSON.prototype.writeFeature;
* *
* @param {ol.Feature} feature Feature. * @param {ol.Feature} feature Feature.
* @param {olx.format.WriteOptions=} opt_options Write options. * @param {olx.format.WriteOptions=} opt_options Write options.
* @api
* @return {Object} Object. * @return {Object} Object.
* @api stable
*/ */
ol.format.GeoJSON.prototype.writeFeatureObject = function( ol.format.GeoJSON.prototype.writeFeatureObject = function(
feature, opt_options) { feature, opt_options) {
@@ -571,7 +571,7 @@ ol.format.GeoJSON.prototype.writeFeatures;
* @param {Array.<ol.Feature>} features Features. * @param {Array.<ol.Feature>} features Features.
* @param {olx.format.WriteOptions=} opt_options Write options. * @param {olx.format.WriteOptions=} opt_options Write options.
* @return {Object} GeoJSON Object. * @return {Object} GeoJSON Object.
* @api * @api stable
*/ */
ol.format.GeoJSON.prototype.writeFeaturesObject = ol.format.GeoJSON.prototype.writeFeaturesObject =
function(features, opt_options) { function(features, opt_options) {
@@ -606,7 +606,7 @@ ol.format.GeoJSON.prototype.writeGeometry;
* @param {ol.geom.Geometry} geometry Geometry. * @param {ol.geom.Geometry} geometry Geometry.
* @param {olx.format.WriteOptions=} opt_options Write options. * @param {olx.format.WriteOptions=} opt_options Write options.
* @return {GeoJSONGeometry|GeoJSONGeometryCollection} Object. * @return {GeoJSONGeometry|GeoJSONGeometryCollection} Object.
* @api * @api stable
*/ */
ol.format.GeoJSON.prototype.writeGeometryObject = function(geometry, ol.format.GeoJSON.prototype.writeGeometryObject = function(geometry,
opt_options) { opt_options) {