getPanoramaByLocation

491 views
Skip to first unread message

dbrb2

unread,
Oct 1, 2011, 9:35:59 PM10/1/11
to google-map...@googlegroups.com
Hi - I want to use a latlng to view the nearest streetview to a point.

The docs say that, up to 50m getPanoramaByLocation will return the closest streetview. 

However, I can't yet find how it behaves if a parameter of >50m is passed in. Certainly, for the
same input latlng, I get different "nearest" data returned if I pass in 100m or 500m..which on the face
of it seems odd, since whatever the range I specify surely the nearest point should stay the same. 

Can anyone enlighten me? 

Cheers,

Ben

Marc Ridey

unread,
Oct 2, 2011, 12:57:01 AM10/2/11
to google-map...@googlegroups.com
If the distance is greater than 50m, the service returns a panorama within the distance rather than the nearest. 

--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/BBAys6pE1jEJ.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.

dbrb2

unread,
Oct 2, 2011, 4:47:48 AM10/2/11
to Google Maps JavaScript API v3
Just an arbitrarily chosen one? Is that to avoid the need to calculate
distance from too many possible panorama locations?
Reply all
Reply to author
Forward
0 new messages