Skip to content

Commit

Permalink
fix: Path can be imported again
Browse files Browse the repository at this point in the history
  • Loading branch information
ecyht2 committed Apr 17, 2024
1 parent 6231911 commit a64c4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/import_export.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ async function import_path(file_path) {
path_vars.point_coords.splice(0, path_vars.point_coords.length, ...new_points.geometry.coordinates);

logging.info("Redrawing Map");
path_vars.redraw_path();
path_vars.source.setData(path_vars.path_data);
path_vars.redraw_markers();

logging.info("Saving New Path");
Expand Down

0 comments on commit a64c4f8

Please sign in to comment.