Merge pull request #2287 from tsauerwein/geojson-write-geometry
Export ol.format.GeoJSON.writeGeometry()
This commit is contained in:
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user