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

@@ -26,7 +26,7 @@ var vector = new ol.layer.Vector({
source: new ol.source.Vector({
projection: epsg4326
}),
featureInfoFunction: function(features) {
transformFeatureInfo: function(features) {
var info = [];
for (var i = 0, ii = features.length; i < ii; ++i) {
info.push(features[i].get('name'));