On Jun 16, 1:44 pm, Chad Killingsworth <[email protected]> wrote: > That's a pretty specific bug.
yeah it's something due to numerical instability. looking at the code before the bug, there is b=cos(f) f=sin(f) which produces the values are b=-1 and f=2.2e-16 (not zero) the bearing is close to zero (true north), but the cos function returns a value of -1 as if the angle was zero, but the sin function returns a small value. the matrix is a skew matrix for VML, so maybe the matrix eigenvalue has to be *exactly* 1? Not sure what the tolerance would be. Or maybe it's a floating point underflow problem? -- 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.
