Rename {get|set}FeatureId to {get|set}Id

This commit is contained in:
Frederic Junod
2013-09-17 12:50:56 +02:00
parent c0486f6f65
commit 764aacb568
16 changed files with 27 additions and 27 deletions

View File

@@ -74,7 +74,7 @@ ol.Feature.prototype.getAttributes = function() {
*
* @return {string|undefined} The feature's identifier.
*/
ol.Feature.prototype.getFeatureId = function() {
ol.Feature.prototype.getId = function() {
return this.featureId_;
};
@@ -118,7 +118,7 @@ ol.Feature.prototype.set = function(key, value) {
*
* @param {string|undefined} featureId The feature's identifier.
*/
ol.Feature.prototype.setFeatureId = function(featureId) {
ol.Feature.prototype.setId = function(featureId) {
this.featureId_ = featureId;
};