Merge pull request #2629 from elemoine/apistable-format
Add @api stable annotations to ol.format
This commit is contained in:
@@ -1294,7 +1294,7 @@ olx.format.ReadOptions;
|
||||
* the data and if no `defaultDataProjection` is set for a format, the features
|
||||
* will not be reprojected.
|
||||
* @type {ol.proj.ProjectionLike|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.ReadOptions.prototype.dataProjection;
|
||||
|
||||
@@ -1303,7 +1303,7 @@ olx.format.ReadOptions.prototype.dataProjection;
|
||||
* Projection of the feature geometries created by the format reader. If not
|
||||
* provided, features will be returned in the `dataProjection`.
|
||||
* @type {ol.proj.ProjectionLike|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.ReadOptions.prototype.featureProjection;
|
||||
|
||||
@@ -1322,7 +1322,7 @@ olx.format.WriteOptions;
|
||||
* `defaultDataProjection` is set for a format, the features will be returned
|
||||
* in the `featureProjection`.
|
||||
* @type {ol.proj.ProjectionLike|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WriteOptions.prototype.dataProjection;
|
||||
|
||||
@@ -1331,7 +1331,7 @@ olx.format.WriteOptions.prototype.dataProjection;
|
||||
* Projection of the feature geometries that will be serialized by the format
|
||||
* writer.
|
||||
* @type {ol.proj.ProjectionLike}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WriteOptions.prototype.featureProjection;
|
||||
|
||||
@@ -1347,7 +1347,7 @@ olx.format.GeoJSONOptions;
|
||||
/**
|
||||
* Default data projection.
|
||||
* @type {ol.proj.ProjectionLike}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.GeoJSONOptions.prototype.defaultDataProjection;
|
||||
|
||||
@@ -1355,7 +1355,7 @@ olx.format.GeoJSONOptions.prototype.defaultDataProjection;
|
||||
/**
|
||||
* Geometry name to use when creating features.
|
||||
* @type {string|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.GeoJSONOptions.prototype.geometryName;
|
||||
|
||||
@@ -1371,7 +1371,7 @@ olx.format.PolylineOptions;
|
||||
* The factor by which the coordinates values will be scaled.
|
||||
* Default is `1e5`.
|
||||
* @type {number}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.PolylineOptions.prototype.factor;
|
||||
|
||||
@@ -1386,7 +1386,7 @@ olx.format.TopoJSONOptions;
|
||||
/**
|
||||
* Default data projection.
|
||||
* @type {ol.proj.ProjectionLike}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.TopoJSONOptions.prototype.defaultDataProjection;
|
||||
|
||||
@@ -1418,7 +1418,7 @@ olx.format.KMLOptions;
|
||||
/**
|
||||
* Extract styles from the KML. Default is `true`.
|
||||
* @type {boolean|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.KMLOptions.prototype.extractStyles;
|
||||
|
||||
@@ -1426,7 +1426,7 @@ olx.format.KMLOptions.prototype.extractStyles;
|
||||
/**
|
||||
* Default style. The default default style is the same as Google Earth.
|
||||
* @type {Array.<ol.style.Style>|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.KMLOptions.prototype.defaultStyle;
|
||||
|
||||
@@ -1448,7 +1448,7 @@ olx.format.GMLOptions;
|
||||
/**
|
||||
* Feature namespace.
|
||||
* @type {string}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.GMLOptions.prototype.featureNS;
|
||||
|
||||
@@ -1456,7 +1456,7 @@ olx.format.GMLOptions.prototype.featureNS;
|
||||
/**
|
||||
* Feature type to parse.
|
||||
* @type {string}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.GMLOptions.prototype.featureType;
|
||||
|
||||
@@ -1473,7 +1473,7 @@ olx.format.GMLOptions.prototype.srsName;
|
||||
* Write gml:Surface instead of gml:Polygon elements. This also affects the
|
||||
* elements in multi-part geometries. Default is `false`.
|
||||
* @type {boolean|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.GMLOptions.prototype.surface;
|
||||
|
||||
@@ -1482,7 +1482,7 @@ olx.format.GMLOptions.prototype.surface;
|
||||
* Write gml:Curve instead of gml:LineString elements. This also affects the
|
||||
* elements in multi-part geometries. Default is `false`.
|
||||
* @type {boolean|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.GMLOptions.prototype.curve;
|
||||
|
||||
@@ -1491,7 +1491,7 @@ olx.format.GMLOptions.prototype.curve;
|
||||
* Write gml:MultiCurve instead of gml:MultiLineString. Since the latter is
|
||||
* deprecated in GML 3, the default is `true`.
|
||||
* @type {boolean|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.GMLOptions.prototype.multiCurve;
|
||||
|
||||
@@ -1500,7 +1500,7 @@ olx.format.GMLOptions.prototype.multiCurve;
|
||||
* Write gml:multiSurface instead of gml:MultiPolygon. Since the latter is
|
||||
* deprecated in GML 3, the default is `true`.
|
||||
* @type {boolean|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.GMLOptions.prototype.multiSurface;
|
||||
|
||||
@@ -1509,7 +1509,7 @@ olx.format.GMLOptions.prototype.multiSurface;
|
||||
* Optional schemaLocation to use when writing out the GML, this will override
|
||||
* the default provided.
|
||||
* @type {string|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.GMLOptions.prototype.schemaLocation;
|
||||
|
||||
@@ -1529,7 +1529,7 @@ olx.format.GPXOptions;
|
||||
* nodes from `wpt`, `rte` and `trk` can be processed, as those are
|
||||
* directly mapped to a feature.
|
||||
* @type {function(ol.Feature, Node)}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.GPXOptions.prototype.readExtensions;
|
||||
|
||||
@@ -1546,7 +1546,7 @@ olx.format.WFSOptions;
|
||||
/**
|
||||
* The namespace URI used for features.
|
||||
* @type {string}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WFSOptions.prototype.featureNS;
|
||||
|
||||
@@ -1554,7 +1554,7 @@ olx.format.WFSOptions.prototype.featureNS;
|
||||
/**
|
||||
* The feature type to parse. Only used for read operations.
|
||||
* @type {string}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WFSOptions.prototype.featureType;
|
||||
|
||||
@@ -1563,7 +1563,7 @@ olx.format.WFSOptions.prototype.featureType;
|
||||
* Optional schemaLocation to use for serialization, this will override the
|
||||
* default.
|
||||
* @type {string|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WFSOptions.prototype.schemaLocation;
|
||||
|
||||
@@ -1586,7 +1586,7 @@ olx.format.WFSWriteGetFeatureOptions;
|
||||
/**
|
||||
* The namespace URI used for features.
|
||||
* @type {string}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WFSWriteGetFeatureOptions.prototype.featureNS;
|
||||
|
||||
@@ -1594,7 +1594,7 @@ olx.format.WFSWriteGetFeatureOptions.prototype.featureNS;
|
||||
/**
|
||||
* The prefix for the feature namespace.
|
||||
* @type {string}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WFSWriteGetFeatureOptions.prototype.featurePrefix;
|
||||
|
||||
@@ -1602,7 +1602,7 @@ olx.format.WFSWriteGetFeatureOptions.prototype.featurePrefix;
|
||||
/**
|
||||
* The feature type names.
|
||||
* @type {Array.<string>}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WFSWriteGetFeatureOptions.prototype.featureTypes;
|
||||
|
||||
@@ -1619,7 +1619,7 @@ olx.format.WFSWriteGetFeatureOptions.prototype.srsName;
|
||||
/**
|
||||
* Handle.
|
||||
* @type {string|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WFSWriteGetFeatureOptions.prototype.handle;
|
||||
|
||||
@@ -1627,7 +1627,7 @@ olx.format.WFSWriteGetFeatureOptions.prototype.handle;
|
||||
/**
|
||||
* Output format.
|
||||
* @type {string|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WFSWriteGetFeatureOptions.prototype.outputFormat;
|
||||
|
||||
@@ -1635,7 +1635,7 @@ olx.format.WFSWriteGetFeatureOptions.prototype.outputFormat;
|
||||
/**
|
||||
* Maximum number of features to fetch.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WFSWriteGetFeatureOptions.prototype.maxFeatures;
|
||||
|
||||
@@ -1664,7 +1664,7 @@ olx.format.WFSWriteGetFeatureOptions.prototype.bbox;
|
||||
* handle: (string|undefined),
|
||||
* nativeElements: Array.<Object>,
|
||||
* gmlOptions: (olx.format.GMLOptions|undefined)}}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WFSWriteTransactionOptions;
|
||||
|
||||
@@ -1672,7 +1672,7 @@ olx.format.WFSWriteTransactionOptions;
|
||||
/**
|
||||
* The namespace URI used for features.
|
||||
* @type {string}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WFSWriteTransactionOptions.prototype.featureNS;
|
||||
|
||||
@@ -1680,7 +1680,7 @@ olx.format.WFSWriteTransactionOptions.prototype.featureNS;
|
||||
/**
|
||||
* The prefix for the feature namespace.
|
||||
* @type {string}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WFSWriteTransactionOptions.prototype.featurePrefix;
|
||||
|
||||
@@ -1688,7 +1688,7 @@ olx.format.WFSWriteTransactionOptions.prototype.featurePrefix;
|
||||
/**
|
||||
* The feature type name.
|
||||
* @type {string}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WFSWriteTransactionOptions.prototype.featureType;
|
||||
|
||||
@@ -1705,7 +1705,7 @@ olx.format.WFSWriteTransactionOptions.prototype.srsName;
|
||||
/**
|
||||
* Handle.
|
||||
* @type {string|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WFSWriteTransactionOptions.prototype.handle;
|
||||
|
||||
@@ -1721,7 +1721,7 @@ olx.format.WFSWriteTransactionOptions.prototype.nativeElements;
|
||||
/**
|
||||
* GML options for the WFS transaction writer.
|
||||
* @type {olx.format.GMLOptions|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WFSWriteTransactionOptions.prototype.gmlOptions;
|
||||
|
||||
@@ -1737,7 +1737,7 @@ olx.format.WKTOptions;
|
||||
* Whether to split GeometryCollections into
|
||||
* multiple features on reading. Default is `false`.
|
||||
* @type {boolean|undefined}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
olx.format.WKTOptions.prototype.splitCollection;
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ goog.require('ol.proj');
|
||||
* file formats. See the documentation for each format for more details.
|
||||
*
|
||||
* @constructor
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.Feature = function() {
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ goog.require('ol.proj');
|
||||
* @constructor
|
||||
* @extends {ol.format.JSONFeature}
|
||||
* @param {olx.format.GeoJSONOptions=} opt_options Options.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.GeoJSON = function(opt_options) {
|
||||
|
||||
@@ -350,7 +350,7 @@ ol.format.GeoJSON.prototype.getExtensions = function() {
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @param {olx.format.ReadOptions=} opt_options Read options.
|
||||
* @return {ol.Feature} Feature.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.GeoJSON.prototype.readFeature;
|
||||
|
||||
@@ -363,7 +363,7 @@ ol.format.GeoJSON.prototype.readFeature;
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @param {olx.format.ReadOptions=} opt_options Read options.
|
||||
* @return {Array.<ol.Feature>} Features.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.GeoJSON.prototype.readFeatures;
|
||||
|
||||
@@ -426,7 +426,7 @@ ol.format.GeoJSON.prototype.readFeaturesFromObject = function(
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @param {olx.format.ReadOptions=} opt_options Read options.
|
||||
* @return {ol.geom.Geometry} Geometry.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.GeoJSON.prototype.readGeometry;
|
||||
|
||||
@@ -447,7 +447,7 @@ ol.format.GeoJSON.prototype.readGeometryFromObject = function(
|
||||
* @function
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @return {ol.proj.Projection} Projection.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.GeoJSON.prototype.readProjection;
|
||||
|
||||
@@ -484,7 +484,7 @@ ol.format.GeoJSON.prototype.readProjectionFromObject = function(object) {
|
||||
* @param {ol.Feature} feature Feature.
|
||||
* @param {olx.format.WriteOptions} options Write options.
|
||||
* @return {GeoJSONFeature} GeoJSON.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.GeoJSON.prototype.writeFeature;
|
||||
|
||||
@@ -523,7 +523,7 @@ ol.format.GeoJSON.prototype.writeFeatureObject = function(
|
||||
* @param {Array.<ol.Feature>} features Features.
|
||||
* @param {olx.format.WriteOptions} options Write options.
|
||||
* @return {GeoJSONObject} GeoJSON.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.GeoJSON.prototype.writeFeatures;
|
||||
|
||||
@@ -552,7 +552,7 @@ ol.format.GeoJSON.prototype.writeFeaturesObject =
|
||||
* @param {ol.geom.Geometry} geometry Geometry.
|
||||
* @param {olx.format.WriteOptions} options Write options.
|
||||
* @return {GeoJSONGeometry|GeoJSONGeometryCollection} GeoJSON.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.GeoJSON.prototype.writeGeometry;
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ goog.require('ol.xml');
|
||||
* @param {olx.format.GMLOptions=} opt_options
|
||||
* Optional configuration object.
|
||||
* @extends {ol.format.XMLFeature}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.GML = function(opt_options) {
|
||||
var options = /** @type {olx.format.GMLOptions} */
|
||||
@@ -1056,7 +1056,7 @@ ol.format.GML.prototype.readGeometryFromNode = function(node, opt_options) {
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @param {olx.format.ReadOptions=} opt_options Options.
|
||||
* @return {Array.<ol.Feature>} Features.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.GML.prototype.readFeatures;
|
||||
|
||||
@@ -1725,7 +1725,7 @@ ol.format.GML.prototype.writeGeometryNode = function(geometry, opt_options) {
|
||||
* @param {Array.<ol.Feature>} features Features.
|
||||
* @param {olx.format.WriteOptions=} opt_options Options.
|
||||
* @return {Node} Result.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.GML.prototype.writeFeatures;
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ goog.require('ol.xml');
|
||||
* @constructor
|
||||
* @extends {ol.format.XMLFeature}
|
||||
* @param {olx.format.GPXOptions=} opt_options Options.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.GPX = function(opt_options) {
|
||||
|
||||
@@ -429,7 +429,7 @@ ol.format.GPX.prototype.handleReadExtensions_ = function(features) {
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @param {olx.format.ReadOptions=} opt_options Read options.
|
||||
* @return {ol.Feature} Feature.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.GPX.prototype.readFeature;
|
||||
|
||||
@@ -462,7 +462,7 @@ ol.format.GPX.prototype.readFeatureFromNode = function(node, opt_options) {
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @param {olx.format.ReadOptions=} opt_options Read options.
|
||||
* @return {Array.<ol.Feature>} Features.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.GPX.prototype.readFeatures;
|
||||
|
||||
@@ -496,7 +496,7 @@ ol.format.GPX.prototype.readFeaturesFromNode = function(node, opt_options) {
|
||||
* @function
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @return {ol.proj.Projection} Projection.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.GPX.prototype.readProjection;
|
||||
|
||||
@@ -870,7 +870,7 @@ ol.format.GPX.GPX_SERIALIZERS_ = ol.xml.makeStructureNS(
|
||||
* @param {Array.<ol.Feature>} features Features.
|
||||
* @param {olx.format.WriteOptions=} opt_options Write options.
|
||||
* @return {Node} Result.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.GPX.prototype.writeFeatures;
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ ol.format.KMLGxTrackObject_;
|
||||
* @constructor
|
||||
* @extends {ol.format.XMLFeature}
|
||||
* @param {olx.format.KMLOptions=} opt_options Options.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.KML = function(opt_options) {
|
||||
|
||||
@@ -1509,7 +1509,7 @@ ol.format.KML.prototype.readSharedStyleMap_ = function(node, objectStack) {
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @param {olx.format.ReadOptions=} opt_options Read options.
|
||||
* @return {ol.Feature} Feature.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.KML.prototype.readFeature;
|
||||
|
||||
@@ -1540,7 +1540,7 @@ ol.format.KML.prototype.readFeatureFromNode = function(node, opt_options) {
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @param {olx.format.ReadOptions=} opt_options Read options.
|
||||
* @return {Array.<ol.Feature>} Features.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.KML.prototype.readFeatures;
|
||||
|
||||
@@ -1591,7 +1591,7 @@ ol.format.KML.prototype.readFeaturesFromNode = function(node, opt_options) {
|
||||
/**
|
||||
* @param {Document|Node|string} source Souce.
|
||||
* @return {string|undefined} Name.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.KML.prototype.readName = function(source) {
|
||||
if (ol.xml.isDocument(source)) {
|
||||
@@ -1661,7 +1661,7 @@ ol.format.KML.prototype.readNameFromNode = function(node) {
|
||||
* @function
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @return {ol.proj.Projection} Projection.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.KML.prototype.readProjection;
|
||||
|
||||
@@ -2526,7 +2526,7 @@ ol.format.KML.OUTER_BOUNDARY_NODE_FACTORY_ =
|
||||
* @param {Array.<ol.Feature>} features Features.
|
||||
* @param {olx.format.WriteOptions=} opt_options Options.
|
||||
* @return {Node} Result.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.KML.prototype.writeFeatures;
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ goog.require('ol.xml');
|
||||
*
|
||||
* @constructor
|
||||
* @extends {ol.format.XMLFeature}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.OSMXML = function() {
|
||||
goog.base(this);
|
||||
@@ -201,7 +201,7 @@ ol.format.OSMXML.NODE_PARSERS_ = ol.xml.makeParsersNS(
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @param {olx.format.ReadOptions=} opt_options Read options.
|
||||
* @return {Array.<ol.Feature>} Features.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.OSMXML.prototype.readFeatures;
|
||||
|
||||
@@ -231,7 +231,7 @@ ol.format.OSMXML.prototype.readFeaturesFromNode = function(node, opt_options) {
|
||||
* @function
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @return {ol.proj.Projection} Projection.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.OSMXML.prototype.readProjection;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ goog.require('ol.proj');
|
||||
* @extends {ol.format.TextFeature}
|
||||
* @param {olx.format.PolylineOptions=} opt_options
|
||||
* Optional configuration object.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.Polyline = function(opt_options) {
|
||||
|
||||
@@ -256,7 +256,7 @@ ol.format.Polyline.encodeUnsignedInteger = function(num) {
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @param {olx.format.ReadOptions=} opt_options Read options.
|
||||
* @return {ol.Feature} Feature.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.Polyline.prototype.readFeature;
|
||||
|
||||
@@ -278,7 +278,7 @@ ol.format.Polyline.prototype.readFeatureFromText = function(text, opt_options) {
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @param {olx.format.ReadOptions=} opt_options Read options.
|
||||
* @return {Array.<ol.Feature>} Features.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.Polyline.prototype.readFeatures;
|
||||
|
||||
@@ -300,7 +300,7 @@ ol.format.Polyline.prototype.readFeaturesFromText =
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @param {olx.format.ReadOptions=} opt_options Read options.
|
||||
* @return {ol.geom.Geometry} Geometry.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.Polyline.prototype.readGeometry;
|
||||
|
||||
@@ -327,7 +327,7 @@ ol.format.Polyline.prototype.readGeometryFromText =
|
||||
* @function
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @return {ol.proj.Projection} Projection.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.Polyline.prototype.readProjection;
|
||||
|
||||
@@ -371,7 +371,7 @@ ol.format.Polyline.prototype.writeFeaturesText =
|
||||
* @param {ol.geom.Geometry} geometry Geometry.
|
||||
* @param {olx.format.WriteOptions=} opt_options Write options.
|
||||
* @return {string} Geometry.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.Polyline.prototype.writeGeometry;
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ goog.require('ol.proj');
|
||||
* @constructor
|
||||
* @extends {ol.format.JSONFeature}
|
||||
* @param {olx.format.TopoJSONOptions=} opt_options Options.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.TopoJSON = function(opt_options) {
|
||||
|
||||
@@ -276,7 +276,7 @@ ol.format.TopoJSON.readFeatureFromGeometry_ = function(object, arcs,
|
||||
* @function
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @return {Array.<ol.Feature>} Features.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.TopoJSON.prototype.readFeatures;
|
||||
|
||||
@@ -387,7 +387,7 @@ ol.format.TopoJSON.transformVertex_ = function(vertex, scale, translate) {
|
||||
* @function
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} object Source.
|
||||
* @return {ol.proj.Projection} Projection.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.TopoJSON.prototype.readProjection = function(object) {
|
||||
return this.defaultDataProjection;
|
||||
|
||||
@@ -22,7 +22,7 @@ goog.require('ol.xml');
|
||||
* @param {olx.format.WFSOptions=} opt_options
|
||||
* Optional configuration object.
|
||||
* @extends {ol.format.XMLFeature}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WFS = function(opt_options) {
|
||||
var options = /** @type {olx.format.WFSOptions} */
|
||||
@@ -70,7 +70,7 @@ ol.format.WFS.xmlns = 'http://www.w3.org/2000/xmlns/';
|
||||
* Number of features; bounds/extent.
|
||||
* @typedef {{numberOfFeatures: number,
|
||||
* bounds: ol.Extent}}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WFS.FeatureCollectionMetadata;
|
||||
|
||||
@@ -81,7 +81,7 @@ ol.format.WFS.FeatureCollectionMetadata;
|
||||
* totalInserted: number,
|
||||
* totalUpdated: number,
|
||||
* insertIds: Array.<string>}}
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WFS.TransactionResponse;
|
||||
|
||||
@@ -102,7 +102,7 @@ ol.format.WFS.schemaLocation_ = 'http://www.opengis.net/wfs ' +
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @param {olx.format.ReadOptions=} opt_options Read options.
|
||||
* @return {Array.<ol.Feature>} Features.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WFS.prototype.readFeatures;
|
||||
|
||||
@@ -130,7 +130,7 @@ ol.format.WFS.prototype.readFeaturesFromNode = function(node, opt_options) {
|
||||
/**
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @return {ol.format.WFS.TransactionResponse|undefined} Transaction response.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WFS.prototype.readTransactionResponse = function(source) {
|
||||
if (ol.xml.isDocument(source)) {
|
||||
@@ -152,7 +152,7 @@ ol.format.WFS.prototype.readTransactionResponse = function(source) {
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @return {ol.format.WFS.FeatureCollectionMetadata|undefined}
|
||||
* FeatureCollection metadata.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WFS.prototype.readFeatureCollectionMetadata = function(source) {
|
||||
if (ol.xml.isDocument(source)) {
|
||||
@@ -601,7 +601,7 @@ ol.format.WFS.writeGetFeature_ = function(node, featureTypes, objectStack) {
|
||||
/**
|
||||
* @param {olx.format.WFSWriteGetFeatureOptions} options Options.
|
||||
* @return {Node} Result.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WFS.prototype.writeGetFeature = function(options) {
|
||||
var node = ol.xml.createElementNS('http://www.opengis.net/wfs',
|
||||
@@ -653,7 +653,7 @@ ol.format.WFS.prototype.writeGetFeature = function(options) {
|
||||
* @param {Array.<ol.Feature>} deletes The features to delete.
|
||||
* @param {olx.format.WFSWriteTransactionOptions} options Write options.
|
||||
* @return {Node} Result.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WFS.prototype.writeTransaction = function(inserts, updates, deletes,
|
||||
options) {
|
||||
@@ -713,7 +713,7 @@ ol.format.WFS.prototype.writeTransaction = function(inserts, updates, deletes,
|
||||
* @function
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @return {?ol.proj.Projection} Projection.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WFS.prototype.readProjection;
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ goog.require('ol.geom.Polygon');
|
||||
* @constructor
|
||||
* @extends {ol.format.TextFeature}
|
||||
* @param {olx.format.WKTOptions=} opt_options Options.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WKT = function(opt_options) {
|
||||
|
||||
@@ -211,7 +211,7 @@ ol.format.WKT.prototype.parse_ = function(wkt) {
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @param {olx.format.ReadOptions=} opt_options Read options.
|
||||
* @return {ol.Feature} Feature.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WKT.prototype.readFeature;
|
||||
|
||||
@@ -237,7 +237,7 @@ ol.format.WKT.prototype.readFeatureFromText = function(text, opt_options) {
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @param {olx.format.ReadOptions=} opt_options Read options.
|
||||
* @return {Array.<ol.Feature>} Features.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WKT.prototype.readFeatures;
|
||||
|
||||
@@ -272,7 +272,7 @@ ol.format.WKT.prototype.readFeaturesFromText = function(text, opt_options) {
|
||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||
* @param {olx.format.ReadOptions=} opt_options Read options.
|
||||
* @return {ol.geom.Geometry} Geometry.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WKT.prototype.readGeometry;
|
||||
|
||||
@@ -306,7 +306,7 @@ ol.format.WKT.prototype.readProjectionFromText = function(text) {
|
||||
* @param {ol.Feature} feature Feature.
|
||||
* @param {olx.format.WriteOptions=} opt_options Write options.
|
||||
* @return {string} WKT string.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WKT.prototype.writeFeature;
|
||||
|
||||
@@ -330,7 +330,7 @@ ol.format.WKT.prototype.writeFeatureText = function(feature, opt_options) {
|
||||
* @param {Array.<ol.Feature>} features Features.
|
||||
* @param {olx.format.WriteOptions=} opt_options Write options.
|
||||
* @return {string} WKT string.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WKT.prototype.writeFeatures;
|
||||
|
||||
@@ -357,7 +357,7 @@ ol.format.WKT.prototype.writeFeaturesText = function(features, opt_options) {
|
||||
* @function
|
||||
* @param {ol.geom.Geometry} geometry Geometry.
|
||||
* @return {string} WKT string.
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
ol.format.WKT.prototype.writeGeometry;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user