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

@@ -168,7 +168,7 @@ ol.format.IGC.prototype.readFeatureFromText = function(text) {
ol.geom.GeometryLayout.XYM : ol.geom.GeometryLayout.XYZM;
lineString.setFlatCoordinates(layout, flatCoordinates);
var feature = new ol.Feature(lineString);
feature.setValues(properties);
feature.setProperties(properties);
return feature;
};