Update types accepted when reading features

This commit is contained in:
Tim Schaub
2015-04-07 14:20:52 -06:00
parent 4260368b3b
commit 6a564597fb
14 changed files with 34 additions and 66 deletions
+2 -2
View File
@@ -275,7 +275,7 @@ ol.format.TopoJSON.readFeatureFromGeometry_ = function(object, arcs,
* Read all features from a TopoJSON source.
*
* @function
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
* @param {Document|Node|Object|string} source Source.
* @return {Array.<ol.Feature>} Features.
* @api stable
*/
@@ -386,7 +386,7 @@ ol.format.TopoJSON.transformVertex_ = function(vertex, scale, translate) {
* Read the projection from a TopoJSON source.
*
* @function
* @param {ArrayBuffer|Document|Node|Object|string} object Source.
* @param {Document|Node|Object|string} object Source.
* @return {ol.proj.Projection} Projection.
* @api stable
*/