// 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.3666666667,8.21666666667,"~~1782.html\">Clara Mine, Rankach valley, Oberwolfach, Wolfach, Black Forest, Baden-Württemberg, Germany~)Walenta, K. (1992): Die Mineralien des Schwarzwaldes. Chr. Weise Verlag, München, 336 pp. (in German)
","Clara Mine, Rankach valley, Oberwolfach, Wolfach, Black Forest, Baden-Württemberg, Germany");
cm(46.0911111111,7.11194444444,"~~11336.html\">Tête des Econduits, Mont Chemin, Martigny, Wallis (Valais), Switzerland
","Tête des Econduits, Mont Chemin, Martigny, Wallis (Valais), Switzerland");
cm(53.1666666667,-8.37444444444,"~~2060.html\">Tynagh Mine (Tynaugh Mine), Killimor, Co. Galway, Ireland~)de Haller, series of article in Bull. Soc. Genevoise de Minéralogie in the 1980s.
","Tynagh Mine (Tynaugh Mine), Killimor, Co. Galway, Ireland");
}