Thanks igloo.

We are using GWT and in particular the GALGWT wrapper for the Google Maps
API, so the generated Javascript code on our web site isn't much help.

I certainly did read the posting guidelines, and totally understand why they
are there.

If its OK, I will post here the relevant snippet of Java code, the API I
guess should match somewhat

    public void addKmlLayer(String url) {

        final String kmlFileCompleteURL = GWT.getModuleBaseURL() + url;
        Log.info("KML complete url passed to load() $" +
kmlFileCompleteURL);
        GeoXmlOverlay.load(kmlFileCompleteURL, new GeoXmlLoadCallback() {

            @Override
            public void onFailure(String url, Throwable caught) {
                Log.warn("KML LOADFAILED file $" + url);
            }

            @Override
            public void onSuccess(String url, GeoXmlOverlay overlay) {
                Log.info("KML load succeeded for url $" + url +"|End
..adding to map");
                map.addOverlay(overlay);
            }});
    }

Does that give you anything else to go on. Apologies that I can't provide a
useful live demo of what we are trying to do.

--~--~---------~--~----~------------~-------~--~----~
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