On Aug 29, 7:01 am, buttman <nbvf...@gmail.com> wrote: > I want to add a feature of my application where the user can upload a > big set of data, and then my application will analyze the data and > show on a google map as a bunch of line segments. There will be > hundreds, if not thousands of line segments being rendered. Obviously > using the javascript polylines method is not ideal. Whats the best way > to go about attacking this problem? I already have a working > GTileOverlay implementation going for displaying a bunch of points. > Has anyone tried using the GTileOverlay method working for line > segments? > > If I just had it so my application outputs a KML file, will that be > just as bad as using javascript polylines, or will that be a little > better performance wise? Sometimes when I load a KML file into google > maps, it seems as if the KML file gets rendered much like how > GTileOverlay's get rendered. It's almost as if the KML file gets sent > to Google, then returned back as 256*256 square PNG's along with the > rest of the data images. Is this how it actually works, or am I crazy?
Google's mapsdt / mapslt server will actually cut tiles for you. Tiles are cacheable both locally & at Google's server. The trick is to figure out the right set of conditions to force the mapsdt / mapslt server to be used (legally). Sometimes GGeoXml will use it. Sometimes it will not. It depends on your browser. It also depends on the complexity of your KML file. I do not know the magic formula. I have submitted an issue to be able to force the use of mapsdt / mapslt but it has not happened. For what it is worth, I have an experimental "Light Weight Poly" facility for V3. It can render polys with over 100,000 vertices. It uses CANVAS elements cut into tiles. Look at: www.polyarc.us/polycluster www.polyarc.us/polycluster/alaska.html www.polyarc.us/polycluster/absurd.html www.polyarc.us/polycluster/canada.html www.polyarc.us/polycluster/east.html www.polyarc.us/polycluster/west.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---