Skip to content

Commit

Permalink
Merge pull request #351 from WildMeOrg/remove_GPS_from-coOccurrence-g…
Browse files Browse the repository at this point in the history
…raph

Remove gps from co occurrence graph
  • Loading branch information
holmbergius committed Dec 22, 2023
2 parents 275e901 + 6aaa233 commit 759daaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
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

0 comments on commit 759daaf

Please sign in to comment.