Thank you very much Larry for taking the time to answer my question.

I was aware of the options you suggested me and I already simplify the
poly (I pick only the points separated by a certain distance, say 1
km).

My "problem" is that I use Virtual Earth Map inside my application and
it renders the polyline perfectly and quickly with no slow script
error, so I thought I was doing something wrong (the poly is composed
of a maximum of 800 points!!).

Besides, I wonder if creating a KML file on the fly and 'feeding it'
to the Map wouldn't be quicker and avoid such problems ?

Best Regards

On 16 mai, 00:37, "[email protected]" <[email protected]> wrote:
> On May 15, 2:45 pm, "[email protected]"
>
> <[email protected]> wrote:
> > Hi Everybody
>
> > I'm using the google maps api in a win32 application inside a
> > WebBrowser component.
> > I have a procedure that plots a single polyline on the map. Everything
> > works OK if the number of the points in the polyline does not exceed a
> > few hundreds (>500), once it does I get a 'slow script error' : How
> > can I avoid this?
>
> http://groups.google.com/group/Google-Maps-API/web/suggested-posting-...http://groups.google.com/group/Google-Maps-API/web/why-including-a-li...
>
> You might try:
> 1. simplify the polyline.
> 2. encode the polyline.
> 3. following the posting guidelines so we can make intelligent
> recommendations...
>
>   -- Larry
--~--~---------~--~----~------------~-------~--~----~
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