On Nov 25, 7:27 am, Hemal <[email protected]> wrote:
>
> The problem is when i use above line of code it works. I have copy
> pasted my KML content to website mentioned in above line "http://
> display-kml.appspot.com". Hence it has created a kml file on its own
> server.
>
> But when i try to use the KML file hosted on my web server as below
> the KML does not display.

>From the docs:
"A GGeoXml object add geographic content to the map from an XML file
(such as a KML file) that is hosted on a publicly accessible web
server."

Note the last six words. "localhost" is not a public name. Although
your IP address may be publicly reachable, are you running a publicly-
accessible webserver at that address?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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