Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2XB3FinalProject
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Schankula
2XB3FinalProject
Commits
1840f847
Commit
1840f847
authored
6 years ago
by
Winnie
Browse files
Options
Downloads
Patches
Plain Diff
Updates
parent
ae697653
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tomcat/webapps/Trawl/index.jsp
+1
-1
1 addition, 1 deletion
tomcat/webapps/Trawl/index.jsp
tomcat/webapps/Trawl/map.jsp
+1
-1
1 addition, 1 deletion
tomcat/webapps/Trawl/map.jsp
tomcat/webapps/Trawl/script.js
+1
-0
1 addition, 0 deletions
tomcat/webapps/Trawl/script.js
with
3 additions
and
2 deletions
tomcat/webapps/Trawl/index.jsp
+
1
−
1
View file @
1840f847
...
...
@@ -18,7 +18,7 @@ Double Handle Slider Modified from: http://jqueryui.com/slider/#range
<script
src=
"https://code.jquery.com/ui/1.12.1/jquery-ui.js"
></script>
<script
src=
"https://cdn.plot.ly/plotly-latest.min.js"
></script>
<script
src=
"histogram.js"
></script>
<script
src=
"https://maps.googleapis.com/maps/api/js?key=AIzaSyA9xCYy2Co-0GWfHT8e1smTjIneNbWSfPgY&libraries=visualization"
></script>
<script
src=
"https://maps.googleapis.com/maps/api/js?key=AIzaSyA9xCYy2Co-0GWfHT8e1smTjIneNbWSfPgY&libraries=visualization
&callback=initMap
"
></script>
<script
src=
"map.js"
></script>
<script
src=
"infoWindow.js"
></script>
...
...
This diff is collapsed.
Click to expand it.
tomcat/webapps/Trawl/map.jsp
+
1
−
1
View file @
1840f847
...
...
@@ -30,7 +30,7 @@
dateobj
.
put
(
"year"
,
r
.
getDate
().
getYear
());
dateobj
.
put
(
"month"
,
r
.
getDate
().
getMonth
());
dateobj
.
put
(
"day"
,
r
.
getDate
().
getDay
());
date
.
add
(
r
.
getDate
()
);
date
.
add
(
dateobj
);
count
.
add
(
r
.
getCount
());
}
...
...
This diff is collapsed.
Click to expand it.
tomcat/webapps/Trawl/script.js
+
1
−
0
View file @
1840f847
...
...
@@ -193,6 +193,7 @@ function reqMap(params){
xhr
.
onreadystatechange
=
function
()
{
//Call a function when the state changes (i.e. response comes back)
// Update the dropdown when response is ready
if
(
xhr
.
readyState
==
XMLHttpRequest
.
DONE
&&
xhr
.
status
==
200
)
{
console
.
log
(
this
.
responseText
);
var
nodeList
=
JSON
.
parse
(
this
.
responseText
);
initMap
(
nodeList
[
"
latitude
"
],
nodeList
[
"
longitude
"
]);
// document.getElementById("outputDetails").innerHTML = "Found " + nodeList["n"] + " results " + "(" + nodeList["time"] + " seconds)<br> Total Population: " + nodeList["individualCount"];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment