Thursday, January 21, 2010

GStreetviewPanorama returns same getLatLng() even after moving

Hi,

I'm not sure if I have misunderstood the getLatLng() method for
GStreetviewPanorama, but it seems like getLatLng() only returns the
initial latitude and longitude even if one moves along a street.

Simple example:
http://www.findvej.dk/streetview_getlatlng.html
Move down the street and notice that the returned coordinates does not
change.

I am aware that I can look at location.latlng in my example, however
I'm not sure whether it's a bug that getLatLng() does not change from
its initial value, now that getPOV() does reflect changes.

The problem is present both under v2 and v2.x.

Any ideas?

--
- Peter Brodersen

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate