Let me be clearer, this needs to be an in-line error check, something
like
<pseudo-code>
var myLayer = new google.maps.KmlLayer(kmlUrl, kmlOptions);
if (myLayer.getError() != 0) { # Such method may not
exist
delete myLayer; # try again
var myLayer = new google.maps.KmlLayer(kmlUrl, kmlOptions);
}
</pseudo-code>
On Oct 4, 8:58 am, Chad Killingsworth
<[email protected]> wrote:
> http://www.kmlvalidator.com/home.htm
>
> Chad Killingsworth
>
> On Oct 4, 7:32 am, John M Phillips <[email protected]>
> wrote:
>
> > My application overlays a kmlLayer of boundary markers on a google
> > map. Randomly, the kmlLayer does not appear. I believe this is
> > because the kml file is being generated from a mysql database, and the
> > renderer may be timing out. My question: is there a method to check
> > for errors on the creation of the kmlLayer? How do you check in the
> > code for an error?
>
> > The project is at http://www.jtphillips.com/cgi-bin/AtcInspectionForm.cgi
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.