We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72b9c68 commit c052fc8Copy full SHA for c052fc8
assets/javascripts/app.js
@@ -639,7 +639,7 @@ var App = (function ($, publ) {
639
features[features.length - 1].setGeometry(geom);
640
} else {
641
var feature = new ol.Feature({geometry: geom});
642
- vector.getSource().getFeatures().push(feature);
+ vector.getSource().addFeatures([feature]);
643
}
644
publ.updateForm(vector.getSource().getFeatures());
645
publ.zoomToExtent(true);
0 commit comments