// 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(-8.55,-78.95,"~~2550.html\">Guañape Island, Virù, Trujillo Province, La Libertad Department, Peru~)Mineralogical Magazine (1973): 39, 346-348.
~$~!0451185001200956511.jpg\">
Phosphammite © 2008, JGW
1 cm massive example of this ammonium phosphate mineral. S181-05 Excalibur Mineral Company specimen.~%","Guañape Island, Virù, Trujillo Province, La Libertad Department, Peru");
cm(-28.7000007629395,123.933334350586,"~~12489.html\">Earles Find, Toppin Hill, Western Australia, Australia~)Min.Mag.(1973) 39, 346-348 ","Earles Find, Toppin Hill, Western Australia, Australia");
cm(-28.7,123.933333333,"~~233.html\">Toppin Hill, Lake Rason, Western Australia, Australia~)Mineralogical Magazine (1973): 39: 346-348. ","Toppin Hill, Lake Rason, Western Australia, Australia");
}
|