Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Cedric Pinson
committed
Apr 29, 2011
0 parents
commit 9f24c33
Showing
16 changed files
with
13,930 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Simple Globe to put your own data with latitude/longitude | ||
|
||
You can instanciate it like that: | ||
|
||
var canvas = document.getElementById("3DView"); | ||
var options = { | ||
globeBackColor: "#333333FF", | ||
globeFrontColor: "#888888aa", | ||
globeLinesColor: "#000000FF" | ||
}; | ||
|
||
var globe = new Globe(canvas,options); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Globe</title> | ||
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> | ||
<script type="text/javascript" src="js/jquery-1.4.2.js"></script> | ||
<script type="text/javascript" src="js/jquery.mousewheel.js"></script> | ||
<script type="text/javascript" src="js/stats.js"></script> | ||
<script type="text/javascript" src="js/webgl-utils.js"></script> | ||
<script type="text/javascript" src="js/osg.js"></script> | ||
<script type="text/javascript" src="js/osgGA.js"></script> | ||
<script type="text/javascript" src="js/osgUtil.js"></script> | ||
<script type="text/javascript" src="js/osgAnimation.js"></script> | ||
<script type="text/javascript" src="js/osgViewer.js"></script> | ||
<script type="text/javascript" src="js/globe.js"></script> | ||
|
||
<script type="text/javascript" src="js/world.js"></script> | ||
<script type="text/javascript" src="js/country.js"></script> | ||
<script type="text/javascript" src="js/coast.js"></script> | ||
|
||
<script type="text/javascript"> | ||
window.addEventListener("load", function() { | ||
var options = { | ||
globeBackColor: "#333333FF", | ||
globeFrontColor: "#888888aa", | ||
globeLinesColor: "#000000FF" | ||
}; | ||
|
||
var globe = new Globe(document.getElementById("3DView"),options); | ||
},true); | ||
|
||
</script> | ||
</head> | ||
|
||
<body> | ||
|
||
<div id="ViewContainer"> | ||
<canvas id="3DView"></canvas> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.