Change setValues to setProperties

This commit is contained in:
Éric Lemoine
2014-06-27 17:26:51 +02:00
parent fa5f99c716
commit eafc2ac371
13 changed files with 51 additions and 46 deletions

View File

@@ -68,7 +68,7 @@ ol.format.OSMXML.readNode_ = function(node, objectStack) {
var geometry = new ol.geom.Point(coordinates);
var feature = new ol.Feature(geometry);
feature.setId(id);
feature.setValues(values.tags);
feature.setProperties(values.tags);
state.features.push(feature);
}
};
@@ -105,7 +105,7 @@ ol.format.OSMXML.readWay_ = function(node, objectStack) {
}
var feature = new ol.Feature(geometry);
feature.setId(id);
feature.setValues(values.tags);
feature.setProperties(values.tags);
state.features.push(feature);
};