// 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(39.3955555556,-105.176388889,"~~26279.html\">White Cloud pegmatite, South Platte Pegmatite District, Jefferson Co., Colorado, USA~)Rare-Earth Pegmatites of the South Platte District, Colorado CGS Res Ser 11
~$~!0180872001199036848.jpg\">
ThalĂ©nite-(Y) © 0
Neat association piece of black allanite with pinkish thalenite and red bastnaesite; 3.5x2x1.2cm; Specimen collected by Rudy Bolona.~%","White Cloud pegmatite, South Platte Pegmatite District, Jefferson Co., Colorado, USA");
cm(53.3333333333,96.6833333333,"~~125629.html\">Aryskanskoye REE Mine, Tuva Republic, Eastern-Siberian Region, Russia~)no reference ","Aryskanskoye REE Mine, Tuva Republic, Eastern-Siberian Region, Russia");
cm(68.1708333333,16.5527777778,"~~50519.html\">Stetind, Tysfjord, Nordland, Norway~)Collection of Tomas Husdal ","Stetind, Tysfjord, Nordland, Norway");
}
|