Make getFeatureById method exportable
This commit is contained in:
@@ -346,6 +346,7 @@ ol.source.Vector.prototype.getExtent = function() {
|
||||
*
|
||||
* @param {string|number} id Feature identifier.
|
||||
* @return {ol.Feature} The feature (or `null` if not found).
|
||||
* @todo api
|
||||
*/
|
||||
ol.source.Vector.prototype.getFeatureById = function(id) {
|
||||
var feature = this.idIndex_[id.toString()];
|
||||
|
||||
Reference in New Issue
Block a user