<div dir="ltr">Hi everyone,<br><br>I'm new to the openlayers emailing list. Just wanted to introduce myself.<br><br>I have a question about the <a href="http://openlayers.org/dev/examples/kml-layer.html">kml sundials example</a>. In line 43 of the code, you get what I've copied below:<br>
<br>map.addLayer(new OpenLayers.Layer.GML("KML", "kml/sundials.kml", <br> {<br> format: OpenLayers.Format.KML, <br> projection: map.displayProjection,<br> formatOptions: {<br>
extractStyles: true, <br> extractAttributes: true<br> }<br> }));<br clear="all"><br>My question is this: How does it know where to find the file called in line 43 of the code - " kml/sundials.kml" ? If I wanted to change the code so that it would call a file I've saved either on the web or on my computer, what steps would I have to take? I've tried simply putting the http:// address of my kml files in there but it doesn't work that way. Any suggestions?<br>
<br>Thanks,<br>Jeremy<br>-- <br>Jeremy Jackson<br>(617) 543-7583 - Boston<br>(514) 463-8393 - Montreal (for September only)<br><a href="http://jeremyjac.googlepages.com">http://jeremyjac.googlepages.com</a><br>
</div>