On Jan 29, 11:43 am, drdanger <[email protected]> wrote:
> Thanks for the suggestoins.
>
> For whatever reason, simply multiplying the latitudes and longitudes
> by 1 fixed the problem. Switching the two coordinates also stopped the
> problem. I guess it's just one of those things.

Then you weren't converting them into numbers.  If you pass strings as
the latitude and longitude to GLatLng, weird things can happen.

  -- Larry

>
> On Jan 29, 1:31 pm, drdanger <[email protected]> wrote:
>
>
>
> > I'm drawing a flight path from Toronto to Beijing. The route goes very
> > near to the north pole. When plotting the whole path, everything is
> > fine. However, when plotting the path in sections (which is necessary
> > for showing whether it is day or night during that section of the
> > route) the section that goes over the pole freezes the browser.
>
> > Does anyone know why this would be happening and if there's a
> > workaround?
>
> > Whole Path is:
> > 43.68 -79.63 to 40.08 116.58
>
> > Sections are:
> > 43.68 -79.63 to 58.46 -85.83
> > 58.46 -85.to 83 73.27 -102.5
> > 73.27 -102.5 to 72.99 139.87  <<-- This one freezes browser
> > 72.99 139.87 to 71.83 137.58
> > 71.83 137.58 to 40.08 116.58- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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