Yep, values are ok, seems to be a problem encoding the geodesic
polylines. I've removed it for now anyway, will have to write my own
encoder if I can't sort this out

Shane

On Apr 17, 7:32 pm, "[email protected]" <[email protected]>
wrote:
> On Apr 17, 10:44 am, Shaneo <[email protected]> wrote:
>
> > No, doesnt work in any browser. Ive found the code that is causing
> > this issue., This code worked fine last week and I havent edited it in
> > 4 weeks.
>
> > function drawgeodesic (sLng, sLat,  eLng, eLat,  map){
> >                 var polyOptions = {geodesic:true};
> >                         var polyline = new GPolyline([
> >                           new GLatLng(sLat, sLng),
> >                           new GLatLng(eLat, eLng)
> >                           ], "#FF9601", 1, 1, polyOptions);
> >                         map.addOverlay(polyline);
> >         };
>
> > When that is called it goes grazy.
>
> Are the latitude and longitude values numbers?
>
>
>
> > On Apr 17, 6:17 pm, "[email protected]" <[email protected]>
> > wrote:
>
> > > On Apr 17, 9:50 am, Shaneo <[email protected]> wrote:
>
> > > > Hi there, Im loading a page that has a google map on it, it loads a
> > > > few points and draws polylines on it. It worked fine Monday but today
> > > > it crashes all the time and I get the following error in IE8 when I
> > > > stop the unresponsive script.
>
> > > Does it work in other browsers?  Did MS update your IE8 overnight?
>
> > > > Webpage error details
>
> > > > User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/
> > > > 4.0; SLCC1; .NET CLR2.0.50727; .NET CLR 1.1.4322; InfoPath.2; Zune
> > > > 3.0; .NET CLR3.5.30729; .NET CLR3.0.30618; OfficeLiveConnector.1.3;
> > > > OfficeLivePatch.0.0)
> > > > Timestamp: Fri, 17 Apr 2009 16:46:04 UTC
>
> > > > Message: Object doesn't support this property or method
> > > > Line: 2
> > > > Char: 1
> > > > Code: 0
> > > > URI:http://maps.google.com/cat_js/intl/en_ALL/mapfiles/151e/maps2.api/%7B...
>
> > > > Notice the js script thats being called? That cant be right? Please
> > > > help someone, its doing my head in lol
>
> > > You will need to give us a link to the map that exhibits the problem
> > > if you want 
> > > help:http://groups.google.com/group/Google-Maps-API/web/suggested-posting-...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