No, this is not sufficient. I cannot access http://wisdom from my machine,
therefore it is not on the public Internet. I suggest uploading your file to
a free web host (AppEngine or similar works for me)

Google Earth has different limitations to the Google Maps API.

Regards,
James

On Tue, Jan 4, 2011 at 1:07 PM, Ching-wah Mok <[email protected]> wrote:

> Dear James,
>
> I tried to use http://wisdom /google/egis/geodata/cta.kml where wisdom is
> the local web service accessible by the Intranet, the geometries were not
> displayed.   However, I used google earth v2 api code as follow, it worked.
>
> Code:
> .......
>  ge.getView().setAbstractView(la);
>  google.earth.fetchKml(ge,'http://localhost/google/egis/geodata/cta.kml
> ',finishFetchKml);
>  }
>
>  function finishFetchKml(kmlObject)
>  {
>   if (kmlObject)
>   {
>    ge.getFeatures().appendChild(kmlObject);
>   }
>   else
>   {
>    alert(kmlObject + 'KML is not loaded');
>   }
>  }
>
> --
> 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]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

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

Reply via email to