Rename methods

This commit is contained in:
Pierre GIRAUD
2014-12-01 14:22:03 +01:00
parent ce4ecb711b
commit 9f725f99ca

View File

@@ -106,7 +106,7 @@ ol.source.TileVector.prototype.forEachFeature = goog.abstractMethod;
* @return {S|undefined} The return value from the last call to the callback. * @return {S|undefined} The return value from the last call to the callback.
* @template T,S * @template T,S
*/ */
ol.source.TileVector.prototype.forEachFeatureAtCoordinateAtResolution = ol.source.TileVector.prototype.forEachFeatureAtCoordinateAndResolution =
function(coordinate, resolution, callback, opt_this) { function(coordinate, resolution, callback, opt_this) {
var tileGrid = this.tileGrid_; var tileGrid = this.tileGrid_;
@@ -205,10 +205,10 @@ ol.source.TileVector.prototype.getFeatures = function() {
* @return {Array.<ol.Feature>} Features. * @return {Array.<ol.Feature>} Features.
* @api * @api
*/ */
ol.source.TileVector.prototype.getFeaturesAtCoordinateAtResolution = ol.source.TileVector.prototype.getFeaturesAtCoordinateAndResolution =
function(coordinate, resolution) { function(coordinate, resolution) {
var features = []; var features = [];
this.forEachFeatureAtCoordinateAtResolution(coordinate, resolution, this.forEachFeatureAtCoordinateAndResolution(coordinate, resolution,
/** /**
* @param {ol.Feature} feature Feature. * @param {ol.Feature} feature Feature.
*/ */