twpayne/gxp — pull request #1 by twpayne (2011-11-14 16:12:10+00:00)
Title: Add Google Earth earthready event

This small patch makes two small changes to the Google Earth panel:

1. Connect the `GoogleEarthPanel.render` function to the `render` event. This allows the panel to be visible if it is part of the initial layout (if it is part of the initial layout then it will not receive a `show` event).

2. Fire an `earthready` event when the plugin is initialized. This can be used to expose the plugin to other controls.

See http://github.com/twpayne/openlayers-googleearthviewcontrol for an example control that links a map to the Google Earth plugin, and http://sitn.ne.ch/ for the inspiration (click on the 3D button, only works on platforms that support the Google Earth plugin).

Regards,
Tom Payne
Camptocamp SA