KmlScreenOverlay's GEEventEmitter implemation

35 views
Skip to first unread message

fraser (Earth API Guru)

unread,
Nov 9, 2009, 6:24:21 PM11/9/09
to KML Developer Support - Google Earth Plug-in
Hi,

If you look at the inheritance list for KmlScreenOverlay Interface
Reference you can see that the type implements the GEEventEmitter
interface. However as far as I can tell there is no way to actually
use any of the KmlMouseEvent's with a screen overlay.

For example trying to register the 'mouseover' or 'mousedown' events
in the usual way doesn't work at all.

I found this thread in which Mano states that 'click' events are not
available.
http://groups.google.com/group/google-earth-browser-plugin/browse_thread/thread/d2b55a211a4081fb/

Am I right in thinking this is true for all events on screen overlays?

If so it may be an idea to update the Api documantation so that the
methods for the GEEventEmitter are not listed as inherited members.

Thanks,

F.

Roman N

unread,
Nov 12, 2009, 8:14:09 PM11/12/09
to KML Developer Support - Google Earth Plug-in
Hey Fraser,

It's true that screen overlays don't emit any events, but it's
unlikely that the API can be changed to reflect this due to the
current inheritance structure. IMO, it's more an unimplemented event/
method than an incorrect API. But yes, we should document this
somewhere!

This would also make a good feature request.

Thanks!
Roman

On Nov 9, 3:24 pm, fraser (Earth API Guru) wrote:
> Hi,
>
> If you look at the inheritance list for KmlScreenOverlay Interface
> Reference you can see that the type implements the GEEventEmitter
> interface. However as far as I can tell there is no way to actually
> use any of the KmlMouseEvent's with a screen overlay.
>
> For example trying to register the 'mouseover' or 'mousedown' events
> in the usual way doesn't work at all.
>
> I found this thread in which Mano states that 'click' events are not
> available.http://groups.google.com/group/google-earth-browser-plugin/browse_thr...

fraser (Earth API Guru)

unread,
Nov 13, 2009, 6:13:52 AM11/13/09
to KML Developer Support - Google Earth Plug-in
Thanks for clarifying this Roman...
Reply all
Reply to author
Forward
0 new messages