Renaming featureInfoFunction to transformFeatureInfo

This commit is contained in:
ahocevar
2013-06-07 14:47:01 +02:00
parent 77d22c4038
commit 3a6c7cf204
6 changed files with 10 additions and 10 deletions

View File

@@ -29,7 +29,7 @@ var vector = new ol.layer.Vector({
]
})
]}),
featureInfoFunction: function(features) {
transformFeatureInfo: function(features) {
return features.length > 0 ?
features[0].getFeatureId() + ': ' + features[0].get('name') : ' ';
}