-
Notifications
You must be signed in to change notification settings - Fork 1
/
uploadsuccess.html
42 lines (41 loc) · 1.33 KB
/
uploadsuccess.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="success.css">
</head>
<style>
/* Always set the map height explicitly to define the size of the div
* element that contains the map. */
#mymap {
height: 300px;
width:300px;
}
</style>
<body>
<h1>CONGRATS!</h1>
<div id="successImageWrap">
<img height="200px" src='http://caseiv.org/wp-content/uploads/2016/02/early-bird-thumbs-up-245x300.jpg' alt='Bird Thumbs Up'>
<center><div id="mymap"></div></center>
</div>
<h2>Thank You For Your Help</h2>
<a href='index.html'>Go back to the homepage</a> | <a href='tagged.html'>See all tagged trees!</a>
<script>
var mymap;
var mylat = 40.3516366;
var mylon = -74.6602049;
function initMap() {
mymap = new google.maps.Map(document.getElementById('mymap'), {
center: {lat: mylat, lng: mylon},
zoom: 14
});
mymarker = new google.maps.Marker({
position: {lat: mylat, lng: mylon},
map: mymap,
title: 'blah!'
});
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyB8PHbWdt77mc0Bpy7J9-NO5IFzh-V-NG4&callback=initMap"
async defer></script>
</body>
</html>