diff --git a/externs/olx.js b/externs/olx.js index 2302efb277..797c2e8c8d 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -1208,7 +1208,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´. + * elements in multi-part geometries. Default is `false`. * @type {boolean|undefined} */ olx.format.GMLOptions.prototype.surface; @@ -1216,7 +1216,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´. + * elements in multi-part geometries. Default is `false`. * @type {boolean|undefined} */ olx.format.GMLOptions.prototype.curve; @@ -1224,7 +1224,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´. + * deprecated in GML 3, the default is `true`. * @type {boolean|undefined} */ olx.format.GMLOptions.prototype.multiCurve; @@ -1232,7 +1232,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´. + * deprecated in GML 3, the default is `true`. * @type {boolean|undefined} */ olx.format.GMLOptions.prototype.multiSurface; diff --git a/src/ol/format/osmxmlformat.js b/src/ol/format/osmxmlformat.js index 987401104e..80655c0cdc 100644 --- a/src/ol/format/osmxmlformat.js +++ b/src/ol/format/osmxmlformat.js @@ -180,6 +180,17 @@ ol.format.OSMXML.NODE_PARSERS_ = ol.xml.makeParsersNS( }); +/** + * Read all features from an OSM source. + * + * @function + * @param {ArrayBuffer|Document|Node|Object|string} source Source. + * @return {Array.} Features. + * @todo api + */ +ol.format.OSMXML.prototype.readFeatures; + + /** * @inheritDoc */ @@ -198,6 +209,17 @@ ol.format.OSMXML.prototype.readFeaturesFromNode = function(node) { }; +/** + * Read the projection from an OSM source. + * + * @function + * @param {ArrayBuffer|Document|Node|Object|string} source Source. + * @return {ol.proj.Projection} Projection. + * @todo api + */ +ol.format.OSMXML.prototype.readProjection; + + /** * @inheritDoc */