On Mar 17, 8:33 am, "[email protected]" <[email protected]> wrote: > No. Reverting the API gave me issues with GDirection and > G_GEO_BAD_REQUEST and then wouldn't continue.
That doesn't make any sense. What version did you revert to? > > Even directly referencing the KML file produces this error - if I stop > the KML load I get the zoom tools and everything works. If I reference > the KML file like: > > http://maps.google.com/maps?q=http://mysite.net/stagingarea/agencydat... > (that URL Doesn't exist due to the nature of the KML) > > it works fine. > > The script tag I'm using to load the map object is: > <script src="http://maps.google.com/maps? > file=api&v=2.x&key=ABQIAAAAIz074fSiM3w-9dwrRQi2mxQBYDjc- > EdtHxUBv14xb7vKpEeHOhSgFtssJuxO46jtToOU9ZZZZZZZZZZ&client=gme- > vsvisual" type="text/javascript"></script> > > I Tried this and it doesn't work: > <script src="http://maps.google.com/maps? > file=api&v=2.40&key=ABQIAAAAIz074fSiM3w-9dwrRQi2mxQBYDjc- > EdtHxUBv14xb7vKpEeHOhSgFtssJuxO46jtToOU9cxvZZZZZZZZ&client=gme- > vsvisual" type="text/javascript"></script> v2.40 aliases to v2.73 which is fairly old (probably explains the error above). Try v2.140 first. You might have to break down and follow the posting guidelines (post a link to your map). -- Larry > > On Mar 16, 10:53 pm, "[email protected]" <[email protected]> > wrote: > > > > > On Mar 16, 9:17 pm, "[email protected]" <[email protected]> wrote: > > > > Geocodezip, > > > > Thanks for the posts so far. With the problem I'm getting, it's also > > > disableing the Google Zoom toolbar in the top left corner of the map. > > > I can only reproduce this on IE7. IE8, FF2/3, Chrome, Safari work > > > great. page loads, Sometimes the KML will load and the google tools > > > will not load, with a script error. Other times the KML will not load > > > and the google toolbar will be frozen. > > > I don't know how you expect us to debug a random problem like that > > without a link. Maybe, just maybe someone might be experiencing the > > same problem, but I suspect it is a problem with your specific > > configuration. > > > Did reverting the API version do anything? > > > -- Larry > > > > The KML checks out on all validation checkers, and stepping through > > > the script here works fine on every browser, except IE7. > > > > This is how I am loading the KML.I've stripped all additional > > > functionality out and i'm just loading the KML to see if I can get it > > > to work with just this. > > > > Function OnLoad() > > > { > > > ...load map variables > > > ..Load map events > > > > ... > > > > loadOverlays(); > > > > } > > > > function loadOverlays() > > > { > > > > SV.Website.WebServices.SVD.getKMLOverlays(getKMLSuccess, > > > getOverlaysFail); > > > //Load custom tiles > > > SV.Website.WebServices.SVD.getMapOverlays(getMapOverlaysSuccess, > > > getOverlaysFail); > > > > } > > > > function getKMLSuccess(results) > > > { > > > > //Results will be in a string array of files. > > > if (results != null && results.length != 0) > > > { > > > for (var i = 0; i < results.length; i++) > > > { > > > var geo = new GGeoXml(results[i] + "/overlay.kml"); > > > map.addOverlay(geo); > > > } > > > } > > > > } > > > > function getOverlaysFail(error) > > > { > > > alert("There was an error loading Custom Overlays: " + error); > > > > } > > > > ------------------------------ 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 -~----------~----~----~----~------~----~------~--~---
