Provides classes for loading web content, laying out and rendering the content as an OpenGL texture, and interacting
with the rendered content.
{@link gov.nasa.worldwind.render.AbstractBrowserBalloon} uses WebView to implement a balloon that contains web content.
See {@link gov.nasa.worldwindx.examples.Balloons} for an example of usage.
To use WebView:
- Create an instance of {@link gov.nasa.worldwind.util.webview.WebView} using {@link
gov.nasa.worldwind.util.webview.WebViewFactory}
- Loading content into the WebView using {@link gov.nasa.worldwind.util.webview.WebView#setHTMLString}
- Load the WebView into an OpenGL texture using {@link
gov.nasa.worldwind.util.webview.WebView#getTextureRepresentation}
- Draw the texture in WorldWind
- (Optional) Forward user input to the WebView to make the page interactive using {@link
gov.nasa.worldwind.util.webview.WebView#sendEvent}