Thank you Marc!
Much appreciated!
-- Adam

On Jun 2, 5:17 am, Marc Ridey <[email protected]> wrote:
> The StreetViewService has been released.
> Try this:
>
> var streetViewLocation = new google.maps.LatLng(-33.867386,
> 151.195767);
>
> var nearestLatLng = null;
> var nearestPano = null;
> var client = new google.maps.StreetViewService();
> client.getNearestPanorama(streetViewLocation, 50, function(result,
> status) {
>   if (status == google.maps.StreetViewStatus.OK) {
>     nearestPano = result.location.pano;
>     nearestLatLng = result.location.latLng;
>   }
>
> });
>
> On May 29, 6:34 am, adamkempa <[email protected]> wrote:
>
>
>
> > Hello everyone,
>
> > We're trying to assess whether or notstreetviewdata exists for a
> > point before we attempt to render thestreetviewobject.
>
> > In V2 we would use the getNearestPanoramaLatLng() method, but that
> > doesn't appear to be available in V3.
>
> > Is there another way of doing this?
>
> > Thanks!
>
> > -- Adam

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to