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

Remove gps from co occurrence graph #351

Merged
merged 2 commits into from Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/main/webapp/encounters/occurrenceGraphJson.jsp
Expand Up @@ -142,7 +142,9 @@ try {


for(Occurrence rel:rels){
jarray.put(uiJson(rel,request));
if(ServletUtilities.isUserAuthorizedForOccurrence(rel,request,myShepherd)){
jarray.put(uiJson(rel,request));
}
}


Expand Down
Expand Up @@ -410,10 +410,7 @@ class GraphAbstract { //See static attributes below class

if (time && time.day && time.month && time.year)
tooltipHtml += "<b>Date: </b>" + time.day + "/" + time.month + "/" + time.year + " ";
if (loc && typeof loc.lat == "number")
tooltipHtml += "<b>Longitude: </b>" + loc.lon + " ";
if (loc && typeof loc.lat == "number")
tooltipHtml += "<b>Latitude: </b>" + loc.lat + "<br/>";


numLinks++;
}
Expand Down