Skip to content

Commit

Permalink
Added test for pasting JSON files
Browse files Browse the repository at this point in the history
  • Loading branch information
Mu committed Oct 10, 2024
1 parent 934c0e5 commit 5aa6418
Show file tree
Hide file tree
Showing 7 changed files with 474 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapml/utils/Util.js
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ export const Util = {
try {
mapEl.geojson2mapml(JSON.parse(textContent));
} catch {
console.log('Invalid Input!');
console.log('Invalid link!');
}
} else {
// try to process as a mapml file
Expand Down
Loading

0 comments on commit 5aa6418

Please sign in to comment.