According to firebug, the streetview panorama's show() function now
does nothing except remove the flash player from the page. I think
this is a bug, but I want to make sure I'm not somehow using it
improperly. Here is my code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xmlns:v="urn:schemas-
microsoft-com:vml">
  <head>
    <script src="http://maps.google.com/maps?file=api&amp;v=2.x";
type="text/javascript"></script>
    <script type="text/javascript">
      function test()
      {
        sv_pano.show();
      }
    </script>
  </head>

  <body onunload = "GUnload()">
    <div name="pano" id="pano" style="position:relative; width: 640px;
height:500px"></div>
    <input type="button" id="test" value="Test" onclick="test()"/><br/
>
    <script type = "text/javascript">
      var start_pov                = {yaw:0,pitch:0};
      var start_location           = new
GLatLng(34.675841,-82.830687);
      var sv_pano        = new
GStreetviewPanorama(document.getElementById("pano"));
      var sv_client      = new GStreetviewClient();

      // Setup the initial position of the streetview
      sv_pano.setLocationAndPOV(start_location, start_pov);
      sv_client.getNearestPanorama(start_location,function()
{alert('start')});

    </script>
  </body>
</html>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to