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

@@ -261,7 +261,7 @@ ol.format.TopoJSON.readFeatureFromGeometry_ = function(object, arcs,
feature.setId(object.id);
}
if (goog.isDef(object.properties)) {
feature.setValues(object.properties);
feature.setProperties(object.properties);
}
return feature;
};