[OpenLayers-Users] Loading kml data into OL

Lyes Mokraoui zest at gis.fm
Fri Mar 18 12:12:52 EDT 2011


Hello,

 

I have spent the past 2 days trying to figure out how to load a sample kml
file into OpenLayers. I have a small server running on Windows 2008 and IIS
7 . So far all the examples I have tested work and the coding are easy to
understand. 

When trying to add my own kml sample files, OpenLayers cannot find the kml
files on the domain url, the localhost or even the server name. However when
I double click on the html page in Windows explorer, my page/script work
just fine.

I went searching for explanations and went to the direction that there was a
proxy setting and a CGI sample file to be used to somehow make OL find/read
the kml files.

 

My question is have I done anything wrong, is there really something we must
edit and configure or use the proxy.cgi file?

 

Any help on this would be much appreciated; I have been turning in circles
for the past two days trying to find my way out.

 

Thank you.

 

Best regards.

 

Lyes 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110319/6cc28f28/attachment.html


More information about the Users mailing list