OS Maps
This work is licensed under the Creative Commons Attribution Non-Commercial 2.0 UK: England & Wales Licence. This means that you are free to: copy; distribute; and modify this work. It also means that you cannot use it for commercial purposes. Additionally, you must attribute this work to the original author, Thomas Guymer, ideally with a link.
Blank
Blank
Blank
var map;
function loadMap() {
if(document.getElementById("map")) {
map = new OpenSpace.Map('map');
map.setCenter(new OpenSpace.MapPoint(438760, 114760), 8);
var vectorLayer = new OpenLayers.Layer.Vector("Vector Layer");
osMap.addLayer(vectorLayer);
}
else {
t = setTimeout("loadMap()", 100);
}
}
document.onload = loadMap();
Blank
