Revision 82
(checked in by haines, 12 years ago)
|
Initial commit
|
Line | |
---|
1 |
<!DOCTYPE html> |
---|
2 |
<html> |
---|
3 |
<head> |
---|
4 |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> |
---|
5 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/> |
---|
6 |
<title>Glider Tracks</title> |
---|
7 |
<!----- Google Maps JavaScript API v3 Example: KmlLayer KML -----> |
---|
8 |
<link href="http://code.google.com/apis/maps/documentation/javascript/examples/default.css" rel="stylesheet" type="text/css" /> |
---|
9 |
<script type="text/javascript" src="//maps.googleapis.com/maps/api/js?sensor=false"></script> |
---|
10 |
<script type="text/javascript"> |
---|
11 |
function initialize() { |
---|
12 |
var myLatLon= new google.maps.LatLng(31.2, -80.0); |
---|
13 |
var myOptions = { |
---|
14 |
zoom: 9, |
---|
15 |
center: myLatLon, |
---|
16 |
overviewMapControl: true, |
---|
17 |
mapTypeId: google.maps.MapTypeId.HYBRID |
---|
18 |
} |
---|
19 |
|
---|
20 |
var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); |
---|
21 |
|
---|
22 |
var gliderLayer = new google.maps.KmlLayer('http://dockserver.marine.unc.edu/realtime/tracks/tracks_test.kml'); |
---|
23 |
gliderLayer.setMap(map); |
---|
24 |
} |
---|
25 |
</script> |
---|
26 |
</head> |
---|
27 |
<body onload="initialize()"> |
---|
28 |
<div id="map_canvas"></div> |
---|
29 |
</body> |
---|
30 |
|
---|
31 |
</html> |
---|