@ -138,6 +138,7 @@ SpatialObject.prototype.update = function (geoJSON) {
if (selectedSpatialObject == this.id) {
this.updatePath([geoJSON.geometry.coordinates[1], geoJSON.geometry.coordinates[0]]);
chart.load({columns: [this.speedHistory.getArray()]});
map.setView([this.latitude, this.longitude]);
}
// TODO: use general popup DOM