Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from iSpring/develop
release version 0.5.1
- Loading branch information
Showing
160 changed files
with
6,165 additions
and
1,578 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,4 @@ | ||
{ | ||
"presets": ["es2015", "react"], | ||
"plugins": ["transform-class-properties", "add-module-exports"] | ||
} |
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 |
---|---|---|
@@ -1,4 +1,2 @@ | ||
/node_modules | ||
/buildOutput | ||
/src/**/*.js | ||
index.html | ||
/buildOutput |
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
0
webglobe.png → images/webglobe.png
100755 → 100644
File renamed without changes
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 |
---|---|---|
@@ -1,51 +1,72 @@ | ||
{ | ||
"name": "webglobe", | ||
"version": "0.4.4", | ||
"description": "A WebGL virtual globe and map engine.", | ||
"main": "require.js", | ||
"scripts": { | ||
"clean": "rimraf buildOutput && rimraf index.html", | ||
"prebuild:dev": "npm run clean", | ||
"build:dev": "cross-env NODE_ENV=development webpack --progress --colors", | ||
"prebuild:prod": "npm run clean", | ||
"build:prod": "cross-env NODE_ENV=production webpack --progress --colors", | ||
"start": "npm run build:dev", | ||
"test": "cross-env NODE_ENV=development webpack --progress --colors --ci" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/iSpring/WebGlobe.git" | ||
}, | ||
"keywords": [ | ||
"WebGL", | ||
"Map", | ||
"Globe", | ||
"Earth", | ||
"3D", | ||
"HTML5" | ||
], | ||
"author": "iSpring", | ||
"engines": { | ||
"node": ">=6.0.0" | ||
}, | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/iSpring/WebGlobe/issues" | ||
}, | ||
"homepage": "https://github.com/iSpring/WebGlobe#readme", | ||
"devDependencies": { | ||
"chalk": "^1.1.3", | ||
"cross-env": "^3.1.3", | ||
"css-loader": "^0.26.1", | ||
"ejs-loader": "^0.3.0", | ||
"html-webpack-plugin": "^2.26.0", | ||
"rimraf": "^2.5.4", | ||
"style-loader": "^0.13.1", | ||
"ts-loader": "^1.3.3", | ||
"typescript": "^2.0.3", | ||
"webpack": "^1.14.0" | ||
}, | ||
"dependencies": { | ||
"es6-promise": "^4.0.5" | ||
} | ||
} | ||
"name": "webglobe", | ||
"version": "0.5.1", | ||
"description": "A WebGL virtual globe and map engine.", | ||
"main": "require.js", | ||
"scripts": { | ||
"clean": "rimraf buildOutput && rimraf index.html", | ||
"prebuild:dev": "npm run clean", | ||
"build:dev": "cross-env NODE_ENV=development webpack --progress --colors", | ||
"prebuild:prod": "npm run clean", | ||
"build:prod": "cross-env NODE_ENV=production webpack --progress --colors", | ||
"start": "npm run build:dev", | ||
"test": "cross-env NODE_ENV=development webpack --progress --colors --ci" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/iSpring/WebGlobe.git" | ||
}, | ||
"keywords": [ | ||
"WebGL", | ||
"Map", | ||
"Globe", | ||
"Earth", | ||
"3D", | ||
"HTML5" | ||
], | ||
"author": "iSpring", | ||
"engines": { | ||
"node": ">=6.0.0" | ||
}, | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/iSpring/WebGlobe/issues" | ||
}, | ||
"homepage": "https://github.com/iSpring/WebGlobe#readme", | ||
"devDependencies": { | ||
"@types/es6-promise": "0.0.32", | ||
"@types/react": "^15.0.21", | ||
"@types/react-dom": "^0.14.23", | ||
"babel-core": "^6.24.0", | ||
"babel-loader": "^6.4.1", | ||
"babel-plugin-add-module-exports": "^0.2.1", | ||
"babel-plugin-transform-class-properties": "^6.24.1", | ||
"babel-preset-es2015": "^6.24.0", | ||
"babel-preset-react": "^6.23.0", | ||
"chalk": "^1.1.3", | ||
"classnames": "^2.2.5", | ||
"cross-env": "^3.1.3", | ||
"css-loader": "^0.26.1", | ||
"ejs-loader": "^0.3.0", | ||
"extract-text-webpack-plugin": "^1.0.1", | ||
"file-loader": "^0.10.1", | ||
"html-loader": "^0.4.5", | ||
"html-webpack-plugin": "^2.26.0", | ||
"node-sass": "^4.5.0", | ||
"rimraf": "^2.5.4", | ||
"sass-loader": "^4.1.1", | ||
"style-loader": "^0.13.1", | ||
"ts-loader": "^1.3.3", | ||
"typescript": "^2.0.3", | ||
"webpack": "^1.14.0", | ||
"webpack-md5-hash": "0.0.5" | ||
}, | ||
"dependencies": { | ||
"babel-polyfill": "^6.23.0", | ||
"es6-promise": "^4.0.5", | ||
"prop-types": "^15.5.8", | ||
"react": "^15.4.2", | ||
"react-dom": "^15.4.2", | ||
"react-router": "^3.0.3" | ||
} | ||
} |
File renamed without changes
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
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,41 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
html, | ||
body { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
body { | ||
position: relative; | ||
overflow: hidden; | ||
cursor: default; | ||
} | ||
|
||
:global { | ||
#canvasId { | ||
cursor: default; | ||
} | ||
#fork-me { | ||
position: absolute; | ||
right: 0; | ||
top: 0; | ||
outline: none !important; | ||
} | ||
#fork-me img { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
left: auto; | ||
bottom: auto; | ||
} | ||
#about-me { | ||
position: absolute; | ||
right: 0; | ||
bottom: 0; | ||
outline: none !important; | ||
} | ||
} |
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,25 @@ | ||
import Kernel from './world/Kernel'; | ||
import Globe, {GlobeOptions} from './world/Globe'; | ||
import './index.scss'; | ||
// declare function require(name: string): any; | ||
// const template = require('./template.html'); | ||
// console.log(template); | ||
|
||
(function () { | ||
var options = new GlobeOptions(); | ||
options.satellite = true; | ||
options.level = 3; | ||
options.lonlat = 'auto'; | ||
var globe = Globe.getInstance(options); | ||
globe.placeAt(document.body); | ||
(<any>window).globe = globe; | ||
(<any>window).kernel = Kernel; | ||
|
||
function resize(){ | ||
globe.resize(window.innerWidth, window.innerHeight); | ||
} | ||
|
||
window.addEventListener("resize", resize, false); | ||
|
||
resize(); | ||
})(); |
Oops, something went wrong.