Skip to content

Commit

Permalink
add geometry to payload geojson
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Dec 27, 2023
1 parent 2a36679 commit 6aae69e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assets/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,9 @@ $(document).ready(function () {
}
}
}
payload.geometry = JSON.parse(
document.getElementById("geojsontextarea").value
);
// console.log(payload);
editor.set(payload);
}
Expand Down

0 comments on commit 6aae69e

Please sign in to comment.