Hi Martin,

I'm having exactly the same issue.  My Lat & Lon are also okay but any
POV value, (Pitch, Zoom or Yaw), are not working as a variable. It
only seems to work if you hardcode the value.

I may be on the wrong path, (due to lack of programming skills), but
it seems in my case that the values are being read as, yaw:"149.82",
instead of yaw:149.82.

Here is a link to my post which also contains a link to another
similiar post.

I'll watch this interest.   Please update if you discover anything.

Cheers

Paul

http://groups.google.com/group/google-maps-api/browse_thread/thread/11dd3675ab8daa39#



On Jul 12, 1:17 am, martin <[email protected]> wrote:
> I am trying to get the value of "yaw" from a google spreadsheet into
> my map.
> lat and lon values load just fine from the spreadsheet but for some
> reason I cannot get the streetview to load the "yaw" value.
> I have a test map here:http://courtenay.widget-it.com/park/
> The function is "initializePan(lat,lon,header,mpov);
> where lat,lon,header and mpov are all stored in a google spreadsheet
> you can see the alert shows the proper number and if I hard code that
> number in:
>  "var myPOV = { yaw: mpov, pitch: 0 };"
> as var myPOV = { yaw:149.82, pitch: 0 };
> it works as it should.
> strange, I'm perplexed, can anyone help?
>
> as there is only one record in spreadsheet, please use the top right
> label and click
>  "Pinegrove Park"
> then choose the -> Streetview: Open | Close
>
> thanks
> Martin

-- 
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.

Reply via email to