Thanks Esa, but the methods for GStreetviewClient are asynchronous and I need an instant answer. I read that the easier way to do that is using GStreetViewOverlay and the related "changed" event. They say that there is a parameter (hasStreetViewData) that retrieves true if exist Street View Data and false in other case, but I don't know how implement that. Also I have searched in google groups and few blogs in Internet but I don't find any sample code for this case.
Anyone knows how it helps? 2010/2/18 Esa <[email protected]> > > GStreetviewClient() and its method getNearestPanoramaLatLng() are for > the purpose. > > http://code.google.com/apis/maps/documentation/services.html#StreetviewClientQuerys > > As a response you get LatLng of the nearest StreetView panorama or > error 600 if there is no panorama available. > > Like in this example: > > http://code.google.com/apis/maps/documentation/examples/streetview-data.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]<google-maps-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-api?hl=en. > > -- 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.
