// 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(38.3725,-112.337222222,"~~180078.html\">4 H No. 1 Prospect (Four H No. 1), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA ","4 H No. 1 Prospect (Four H No. 1), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA");
cm(38.3544444444,-112.306111111,"~~181166.html\">Crystal Fraction Occurrence, Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA
","Crystal Fraction Occurrence, Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA");
cm(38.3586111111,-112.265555556,"~~182707.html\">Monte Del Rey Mine, Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA
","Monte Del Rey Mine, Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA");
cm(38.3544444444,-112.284166667,"~~183024.html\">Park Mine, Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA
","Park Mine, Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA");
cm(38.3419444444,-112.283611111,"~~183585.html\">Shine 1 and 2 Prospect, Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA
","Shine 1 and 2 Prospect, Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA");
cm(38.3647222222,-112.314166667,"~~184193.html\">Unknown Aluminum Prospect (MRDS - 10088093), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA
","Unknown Aluminum Prospect (MRDS - 10088093), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA");
cm(38.3852777778,-112.315277778,"~~184210.html\">Unknown Copper - Silver - Gold Prospect (MRDS - 10088095), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA
","Unknown Copper - Silver - Gold Prospect (MRDS - 10088095), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA");
cm(38.3633333333,-112.325,"~~184231.html\">Unknown Copper - Zinc - Gold - Silver Prospect (MRDS - 10096885), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA
","Unknown Copper - Zinc - Gold - Silver Prospect (MRDS - 10096885), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA");
cm(38.3627777778,-112.337222222,"~~184276.html\">Unknown Gold - Silver Occurrence (MRDS - 10088094), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA
","Unknown Gold - Silver Occurrence (MRDS - 10088094), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA");
cm(38.3841666667,-112.333611111,"~~184279.html\">Unknown Gold (MRDS - 10155181), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA
","Unknown Gold (MRDS - 10155181), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA");
cm(38.3794444444,-112.358333333,"~~184280.html\">Unknown Gold (MRDS - 10155426), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA
","Unknown Gold (MRDS - 10155426), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA");
cm(38.3841666667,-112.344722222,"~~184283.html\">Unknown Gold (MRDS - 10227460), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA
","Unknown Gold (MRDS - 10227460), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA");
cm(38.3830555556,-112.340833333,"~~184284.html\">Unknown Gold (MRDS - 10227501), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA
","Unknown Gold (MRDS - 10227501), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA");
cm(38.3447222222,-112.334166667,"~~184504.html\">Unknown Silver - Gold Prospect (MRDS - 10015248), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA
","Unknown Silver - Gold Prospect (MRDS - 10015248), Mount Baldy District, Cottonwood Creek, Tushar Mts, Piute Co., Utah, USA");
var zoombox=new GLatLngBounds(new GLatLng(38.3419444444,-112.358333333),new GLatLng(38.3852777778,-112.265555556));
var zoomlevel = map.getBoundsZoomLevel(zoombox);
if(zoomlevel>15) zoomlevel=15;
map.setCenter(zoombox.getCenter(),zoomlevel);
}