All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.gov.nasa.worldwind.util.webview.package.html Maven / Gradle / Ivy

Go to download

World Wind is a collection of components that interactively display 3D geographic information within Java applications or applets.

There is a newer version: 2.0.0-986
Show newest version







    WebView



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}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy