loading javascript into webview

Is it possible to load the following into a webview?

<script type="text/javascript" src="http://www.google.com/jsapi?key=ABCDEFG"></script>
<script type="text/javascript">
  google.load("maps", "2.x");
   
  // Call this function when the page has been loaded
  function initialize() {
    var map = new google.maps.Map2(document.getElementById("map"));
    map.setCenter(new google.maps.LatLng(37.4419, -122.1419), 13);
  }
  google.setOnLoadCallback(initialize);
</script>

Thank you,
Todd

You could put it all into an html file then load the html file with the web view.
That’s just a guess though, not tested.

Sound like a good plan, thanks for the idea.

Todd