Merge pull request #2057 from bartvde/addfeatures
Export readFeatures on FormatVectorSource
This commit is contained in:
@@ -111,6 +111,7 @@ ol.source.FormatVector.prototype.loadFeaturesFromURL =
|
|||||||
/**
|
/**
|
||||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||||
* @return {Array.<ol.Feature>} Features.
|
* @return {Array.<ol.Feature>} Features.
|
||||||
|
* @todo api
|
||||||
*/
|
*/
|
||||||
ol.source.FormatVector.prototype.readFeatures = function(source) {
|
ol.source.FormatVector.prototype.readFeatures = function(source) {
|
||||||
var format = this.format;
|
var format = this.format;
|
||||||
|
|||||||
Reference in New Issue
Block a user