javascript - listen to navigation control events in google earth plugin -
is there way listen navigation contol's click events. aware can listen 'viewchage' event want know when user clicks on nav controls.
i have anmation playing on plugin , want add tilt , pan values playing camera values when user clicks on nav controls.
sorry, genavigationcontrol not expose events afraid not possible.
you create own controls , events handle functionality...but far trivial.
also, pretty sure can't modify camera values in plugin whilst tour playing without exiting it.
essentially there 3 types of control on camera/nativation
a tour object controls camera/nativation (kml)
you control camera/nativation programmatically (javascript api)
the user controls camera/nativation (controls, mouse, keys)
trying use of these @ same time produce unpredictable jerky results each method 'fights' control of view.
Comments
Post a Comment