Skip to content

Commit

Permalink
Merge pull request #46 from embeepea/master
Browse files Browse the repository at this point in the history
tweak text in info popup
  • Loading branch information
embeepea authored Dec 15, 2020
2 parents 7879f5f + 3aa9ce2 commit 4003031
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions mbgl-photomap.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class PhotoMapControl {

//editor link
const commonP = document.createElement("p")
commonP.textContent = "Do you have a photo for this feature? You can upload photos and annotate this building in the editor. "
commonP.textContent = "Do you have a photo for this feature? Want to make a correction to the shape and/or data associated with it? You can upload photos and enter/edit the feature's data in the editor.";
commonP.appendChild(document.createElement("br"));
const url = this.editorUrl+"/edit?way="+footprintId;
const a = document.createElement("a");
Expand All @@ -73,18 +73,17 @@ class PhotoMapControl {

commonDiv.appendChild(commonP);

//noter link
const commonP2 = document.createElement("p")
commonP2.textContent = "You can edit the annotation and facade directly in the Noter."
commonP2.appendChild(document.createElement("br"));
const url2 = this.noterUrl+"/?query="+footprintId;
const a2 = document.createElement("a");
a2.setAttribute("href", url2);
a2.setAttribute("target", "new");
a2.textContent = "Open Noter for this feature";
commonP2.appendChild(a2);

commonDiv.appendChild(commonP2);
////noter link
//const commonP2 = document.createElement("p")
//commonP2.textContent = "You can edit the annotation and facade directly in the Noter."
//commonP2.appendChild(document.createElement("br"));
//const url2 = this.noterUrl+"/?query="+footprintId;
//const a2 = document.createElement("a");
//a2.setAttribute("href", url2);
//a2.setAttribute("target", "new");
//a2.textContent = "Open Noter for this feature";
//commonP2.appendChild(a2);
//commonDiv.appendChild(commonP2);

this.searchResultsList.appendChild(commonDiv);
// append the common links
Expand Down

0 comments on commit 4003031

Please sign in to comment.