On Feb 2, 2:04 pm, Fat Man <[email protected]> wrote: > On Jan 30, 4:53 pm, "[email protected]" <[email protected]> > wrote: > > > On Jan 30, 4:29 pm, "[email protected]" <[email protected]> > > wrote: > > >http://www.geocodezip.com/extremewrench_AdminGMapOne.html > > > -- Larry > > It seems that I still do not understand this callback mechanism > correctly. The API reference appears to say that the initialized event > (i.e. the event that I regsiter as a listener) will be passed a > "location" parameter that is a GStreetviewLocation object. But when I > try to read details from the object, I'm not getting what I expect. > Please refer to the same URL and you will see what I mean. What am I > missing here? Thank you!
A GLatLng does not have a lat property, it has a lat() function... (same with lng). I haven't been able to get reasonable results from the pov member of the location. I have found that calling getPOV() on the GStreetviewClient object returns a reasonable result though. -- Larry > > http://tinyurl.com/byglx7 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
