Skip to content

cedricpinson/globe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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);

var clickCallback = function() {
   console.log("cliked on image");
};

globe.addImage(48.8566667, 2.3509871, yourImage);
globe.addImage(58.8566667, 2.2509871, yourOtherImage, {}, clickCallback );

Test Me

About

Generic Globe to put your own data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published