// 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(48.6911125183105,-121.957496643066,"~~28911.html\">Danny Mine (Dannie Mine; Washington Chrome Mine), Nooksack River, Twin Sisters Mountain, Sisters District, Whatcom Co., Washington, USA~)Metal Mines of Washington-Preliminary Report; R. Derkey, N. Joseph, R. Lasmanis, 1990
","Danny Mine (Dannie Mine; Washington Chrome Mine), Nooksack River, Twin Sisters Mountain, Sisters District, Whatcom Co., Washington, USA");
cm(48.7152786254883,-121.954170227051,"~~18134.html\">Ribbon Mine (Washington Chrome Mine), Green Creek, Twin Sisters Mountain, Sisters District, Whatcom Co., Washington, USA~)Metal Mines of Washington-Preliminary Report; R. Derkey, N. Joseph, R. Lasmanis, 1990
","Ribbon Mine (Washington Chrome Mine), Green Creek, Twin Sisters Mountain, Sisters District, Whatcom Co., Washington, USA");
}