No. Reverting the API gave me issues with GDirection and
G_GEO_BAD_REQUEST and then wouldn't continue.

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/agencydata/agency1/kml/beats/overlay.kml
(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>

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);
>
> > }
>
> > -----------------------------
--~--~---------~--~----~------------~-------~--~----~
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