How big are your files? GGeoXml is subject to the same limits as documented here: http://code.google.com/apis/kml/documentation/mapsSupport.html
On 17/03/2009, user <[email protected]> wrote: > > I have several large KML files I wish to display from my server. I > have tried several options to no avail. Any help would be greatly > appreciated. > > Using GGeoXml, it does not render at all: > > http://www.forttours.com/interact/blend001.html > > <script type="text/javascript"> > //<![CDATA[ > > if (GBrowserIsCompatible()) { > > > > var map = new GMap2(document.getElementById("map")); > map.addControl(new GLargeMapControl()); > map.addControl(new GMapTypeControl()); > map.setCenter(new GLatLng(36.535721, -97.282584), 4); > > // ==== Create a KML Overlay ==== > > var kml = new GGeoXml("http://www.forttours.com/interact/ > FortTours.com_Frontier.Forts.kml"); > map.addOverlay(kml); > > geoXml2 = new GGeoXml("http://www.forttours.com/interact/ > FortTours.com_Frontier.Battlesites.kml";); > map.addOverlay(geoXml2); > > > } > > // display a warning if the browser was not compatible > else { > alert("Sorry, the Google Maps API is not compatible with this > browser"); > } > > // This Javascript is based on code provided by the > // Blackpool Community Church Javascript Team > // http://www.commchurch.freeserve.co.uk/ > // http://econym.googlepages.com/index.htm > > //]]> > </script> > > > Using Network Link, it only renders one KML: > > http://www.forttours.com/interact/blend002.html > > <NetworkLink> > <name>Frontier Battlesites</name> > <Link> > <href>http://www.forttours.com/interact/ > FortTours.com_Frontier.Battlesites.kml</href> > </Link> > <name>Frontier Forts</name> > <Link> > <href>http://www.forttours.com/interact/ > FortTours.com_Frontier.Forts.kml</href> > </Link> > > </NetworkLink> > > My toggle /w mouseclick functions but doesn't render very well: > http://www.forttours.com/interact/FortsAndBattlesites.html > > Thanks so much for your help in advance. It seems I only know enough > to confuse myself - thanks for your patience. > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
