Skip to content

Commit

Permalink
store marker bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
strukturart committed Aug 21, 2021
1 parent 041b253 commit e2bed1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions application/assets/js/exportGeoJson.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const geojson = ((_) => {
let extData = "";

if (type == "single") {
let single = selected_marker.toGeoJSON();
let single = mainmarker.selected_marker.toGeoJSON();
// store popup content
let a = document.querySelector("textarea#popup").value;
if (a != "") {
Expand Down Expand Up @@ -53,7 +53,7 @@ const geojson = ((_) => {

requestAdd.onsuccess = function () {
windowOpen = "map";
toaster("succesfull saved", 5000);
helper.toaster("succesfull saved", 5000);
bottom_bar("", "", "");

if (type == "tracking") {
Expand All @@ -71,7 +71,7 @@ const geojson = ((_) => {
};

requestAdd.onerror = function () {
toaster(
helper.toaster(
"Unable to write the file, the file name may already be used",
10000
);
Expand Down

0 comments on commit e2bed1b

Please sign in to comment.