Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tweak text in info popup #46

Merged
merged 1 commit into from
Dec 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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