// Copyright (c) mindat.org 1993-2009
function j(lat,long) {var point = new GLatLng(lat,long); map.setCenter(point, 16);}
function cm(lat,long,html,name) {
var point = new GLatLng(lat,long); var marker = new GMarker(point,{icon:icon, title:name});
GEvent.addListener(marker, "click", function()
{
marker.openInfoWindowHtml(jsunpack(html));
//
// map.panTo(marker.getPoint());
var zoom = map.getZoom();
if(zoom<9) zoom=9;
map.setZoom(zoom);
map.setCenter(marker.getPoint(), zoom);
});
GEvent.addListener(marker,"mouseover", function() {
marker.setImage("kml-gm-o.png");
});
GEvent.addListener(marker,"mouseout", function() {
marker.setImage("kml-gm.png");
});
clus.AddMarker(marker,name);
}
function jsunpack(txt)
{
txt=txt.replace(/~~/,"
");
txt=txt.replace(/~!/,";) |
");
txt=txt.replace(/~\)/,"
Reference: ");
return (txt);
}
function loadPoints()
{
cm(50.2119793032,-5.18904397383,"~~206540.html\">Treviskey Mine, East Tresavean Mine, Tresavean Mine, Lanner, Troon-Lanner area, Camborne - Redruth - St Day District, Cornwall, England, UK ","Treviskey Mine, East Tresavean Mine, Tresavean Mine, Lanner, Troon-Lanner area, Camborne - Redruth - St Day District, Cornwall, England, UK");
cm(50.2080403996,-5.20139853113,"~~206538.html\">Tretharrup Mine, Tresavean Mine, Lanner, Troon-Lanner area, Camborne - Redruth - St Day District, Cornwall, England, UK
","Tretharrup Mine, Tresavean Mine, Lanner, Troon-Lanner area, Camborne - Redruth - St Day District, Cornwall, England, UK");
cm(50.2062828945,-5.19987896503,"~~935.html\">Trethellan Mine, Tresavean Mine, Lanner, Troon-Lanner area, Camborne - Redruth - St Day District, Cornwall, England, UK
","Trethellan Mine, Tresavean Mine, Lanner, Troon-Lanner area, Camborne - Redruth - St Day District, Cornwall, England, UK");
cm(50.2106959255,-5.20297838537,"~~206546.html\">West Tresavean Mine (Bell and Lanner Mine), Tresavean Mine, Lanner, Troon-Lanner area, Camborne - Redruth - St Day District, Cornwall, England, UK
","West Tresavean Mine (Bell and Lanner Mine), Tresavean Mine, Lanner, Troon-Lanner area, Camborne - Redruth - St Day District, Cornwall, England, UK");
cm(50.21241474,-5.20589767675,"~~206539.html\">Bell Vean Mine (Bellvean Mine), West Tresavean Mine (Bell and Lanner Mine), Tresavean Mine, Lanner, Troon-Lanner area, Camborne - Redruth - St Day District, Cornwall, England, UK
","Bell Vean Mine (Bellvean Mine), West Tresavean Mine (Bell and Lanner Mine), Tresavean Mine, Lanner, Troon-Lanner area, Camborne - Redruth - St Day District, Cornwall, England, UK");
cm(50.2116711702,-5.20023966925,"~~206543.html\">Wheal Comford, West Tresavean Mine (Bell and Lanner Mine), Tresavean Mine, Lanner, Troon-Lanner area, Camborne - Redruth - St Day District, Cornwall, England, UK
","Wheal Comford, West Tresavean Mine (Bell and Lanner Mine), Tresavean Mine, Lanner, Troon-Lanner area, Camborne - Redruth - St Day District, Cornwall, England, UK");
cm(50.2061284533,-5.20547611147,"~~206541.html\">West Trethellan Mine, Tresavean Mine, Lanner, Troon-Lanner area, Camborne - Redruth - St Day District, Cornwall, England, UK
","West Trethellan Mine, Tresavean Mine, Lanner, Troon-Lanner area, Camborne - Redruth - St Day District, Cornwall, England, UK");
cm(50.2071037515,-5.20273770645,"~~206542.html\">Wheal Brewer, Tresavean Mine, Lanner, Troon-Lanner area, Camborne - Redruth - St Day District, Cornwall, England, UK
","Wheal Brewer, Tresavean Mine, Lanner, Troon-Lanner area, Camborne - Redruth - St Day District, Cornwall, England, UK");
var zoombox=new GLatLngBounds(new GLatLng(50.2061284533,-5.20589767675),new GLatLng(50.21241474,-5.18904397383));
var zoomlevel = map.getBoundsZoomLevel(zoombox);
if(zoomlevel>15) zoomlevel=15;
map.setCenter(zoombox.getCenter(),zoomlevel);
}