I am embarrassed to say that I figured out my issue.  One of those
issues that you just kick yourself for.  I had lat and lng switched.

Thanks for the tip to check the error codes, thats what did it for
me.  Thanks so much.

Jason

On Feb 23, 8:05 pm, "[email protected]" <[email protected]>
wrote:
> On Feb 23, 4:41 pm, "Jason Harris (South Carolina)"
>
> <[email protected]> wrote:
> > I am a noob here, so I apologize for the easy question.  I am trying
> > to integrate streetview into my existing app.
>
> > I have the the street view div showing successfully at its default
> > location.  I would like to be able to pass a new lat lng to the new
> > function (called changepano) and have the streetview update to the new
> > location.
>
> > The lat & lng is getting passed successfully, but the steetview div
> > stays the same.
>
> > Can someone take pity and help me out?
>
> Can you help us help you?  Link?
>
>
>
>
>
> > Thanks..
>
> > Jason
>
> >   var myPano;
>
> >     function initpano() {
> >       var fenwayPark = new GLatLng(42.345573,-71.098326);
> >       panoramaOptions = { latlng:fenwayPark };
> >       myPano = new GStreetviewPanorama(document.getElementById
> > ("pano"), panoramaOptions);
> >       GEvent.addListener(myPano, "error", handleNoFlash);
> >     }
>
> >      function changepano(lat, lng) {
> >       var newloc= new GLatLng(lat,lng);
> >         myPano.setLocationAndPOV(newloc);
>
> http://code.google.com/apis/maps/documentation/reference.html#GStreet...
> are you checking the error code?
>
>   -- Larry
>
>
>
> >      }
--~--~---------~--~----~------------~-------~--~----~
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