import Kernel from './world/Kernel' ; import Globe , { GlobeOptions } from './world/Globe' ; import './index.scss' ; ( 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 ( ) ; } ) ( ) ;