Add ol.source.Vector#addFeaturesInternal
This commit is contained in:
@@ -106,6 +106,20 @@ ol.source.Vector.prototype.addFeatureInternal = function(feature) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add features without firing a `change` event.
|
||||||
|
* @param {Array.<ol.Feature>} features Features.
|
||||||
|
* @protected
|
||||||
|
*/
|
||||||
|
ol.source.Vector.prototype.addFeaturesInternal = function(features) {
|
||||||
|
// FIXME use R-Bush bulk load when available
|
||||||
|
var i, ii;
|
||||||
|
for (i = 0, ii = features.length; i < ii; ++i) {
|
||||||
|
this.addFeatureInternal(features[i]);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* FIXME empty description for jsdoc
|
* FIXME empty description for jsdoc
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user