hang on a minute - that's the original KML layer showing correctly, not the modified KML_OSM layer.<br><br>Now I'm really confused! I thought we'd just agreed that was never going to work. Oh well, at least it's working.
<br><br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><span class="q"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> * Reproject your KML data. This means changing the coordinates from<br> Lat/Lon to projected x/y coodinates in the "Google Projection":
<br> <a href="http://spatialreference.org/ref/user/6/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://spatialreference.org/ref/user/6/</a></blockquote></span><div><br>This seems the best option. The OpenLayers/Format/KML.js file can be modified to translate the co-ordinates as they are read, but I'm not sure that I'm totally happy with this solution - it feels like a hack. However it does work!
<br><br>In fact, using the same method I can load OSM data directly into a vector layer as well - see <a href="http://www.bristolbeat.co.uk/phpmap/openstreetmap2.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.bristolbeat.co.uk/phpmap/openstreetmap2.html
</a><br></div><span class="q"><br><br></span></div></blockquote></div><br>