Hi,
thanks for the reply.
One option I will definately try is to crrate custom sprite overlays
for each part and zoom level of the map.

I got another question when thinking about this issue. For my aims, is
Flash or Javascript the better choice?

Erik


On Mar 28, 4:03 pm, Arothian <[email protected]> wrote:
> Hello Erik,
>
> Displaying that quantity of polylines will not have very good
> performance(pan and zoom) with the standard API.
>
> There are a few different things some of us have tried. Usually the
> best approach is to make a custom overlay that can draw a group or set
> of your polylines to limit the number of overlays the map has to
> manage (reduces events, panning is much simpler etc). I haven't used
> KML, but I'm going to assume that the performance wouldn't be any
> better than normal polylines.
>
> Take a look at the following posts:
>
> http://groups.google.com/group/google-maps-api-for-flash/browse_threa...http://groups.google.com/group/google-maps-api-for-flash/browse_threa...
>
> Let me know if you need any additional details. I've done the custom
> overlay route with good performance with thousands of lines.
>
> On Mar 28, 4:44 am, "Erik M." <[email protected]> wrote:
>
> > Hi,
> > as said in the head line, I would like to add a huge amount of single
> > lines(realized with a polyline for each) to a map. In numbers, that
> > huge amount will be around 10.000 lines or more.
> > I figured out that there are several ways to realize this, but I am
> > not sure what solution is the most efficient and fast:
>
> >  - adding the a new Polyline, using map.addOverlay()
> >  - using a KML file
> >  - using a custom overlay, which would require that I generate images
> > with transparent background, just containing the lines, like 
> > here:http://econym.org.uk/gmap/example_einsert.htm
>
> > Has anyone worked with very much Polylines in a map or do you have any
> > suggestions how I can realize this?
>
> > Furthermore I have the choice between using Flash or Javascript. I
> > think Flash will be faster, but I still have to try it.
>
> > Thanks for your help!
>
> > Erik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" 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-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to