Input Module

Rotate the earth by mousewheel or keyboard arrows.

Example: Rotate by Mousewheel
Example: Rotate by Keyboard

Usage

Load the file /modules/miniature.earth.input.js or copy the code to your script and customize it to your needs.

Methods

Earth.Input.MouseWheel.enable( earth )

 
myearth.addEventListener( "ready", function() {

	Earth.Input.MouseWheel.enable( this );

} );

Earth.Input.Keyboard.enable( earth )