Don't dispatch change events when reading features

Based on initial work by https://github.com/Jinkwon
This commit is contained in:
Frederic Junod
2019-01-15 09:00:46 +01:00
parent aa0bc8175b
commit 787fd4aa44
8 changed files with 15 additions and 15 deletions
+3 -3
View File
@@ -651,7 +651,7 @@ function readRte(node, objectStack) {
const geometry = new LineString(flatCoordinates, layout);
transformGeometryWithOptions(geometry, false, options);
const feature = new Feature(geometry);
feature.setProperties(values);
feature.setProperties(values, true);
return feature;
}
@@ -682,7 +682,7 @@ function readTrk(node, objectStack) {
const geometry = new MultiLineString(flatCoordinates, layout, ends);
transformGeometryWithOptions(geometry, false, options);
const feature = new Feature(geometry);
feature.setProperties(values);
feature.setProperties(values, true);
return feature;
}
@@ -704,7 +704,7 @@ function readWpt(node, objectStack) {
const geometry = new Point(coordinates, layout);
transformGeometryWithOptions(geometry, false, options);
const feature = new Feature(geometry);
feature.setProperties(values);
feature.setProperties(values, true);
return feature;
}