webglearth / webglearth2

[UNMAINTAINED] WebGL Earth 2 - the source code of the project
Apache License 2.0
888 stars 212 forks source link

Globe does not respond to events #94

Open caneroj1 opened 7 years ago

caneroj1 commented 7 years ago

The globe does not respond to events from the google closure event library.

I looked at the source (line 510 in app.js) and it looks like we register listeners for google closure events: var key = goog.events.listen(this.canvas, type, wrap(this, listener));

I'm trying to set up an event listener for when the globe is scrolled or dragged, which are two events supported by the goog.events library as scroll and drag, but the listener is never called.