// Copyright (c) mindat.org 1993-2015
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(/~~/,"
","Avis and Bryant, Sandy Flat, Clive Co., New South Wales, Australia");
cm(-29.3722222222,152.1775,"~~223214.html\">Snapes lode (Red Soil Creek prospect; The Silver Mine), Sandy Flat, Clive Co., New South Wales, Australia
","Snapes lode (Red Soil Creek prospect; The Silver Mine), Sandy Flat, Clive Co., New South Wales, Australia");
cm(-29.3072222222,152.162777778,"~~223216.html\">Wattle Gully deposit, Sandy Flat, Clive Co., New South Wales, Australia
","Wattle Gully deposit, Sandy Flat, Clive Co., New South Wales, Australia");
cm(-29.2383333333,152.103333333,"~~236036.html\">Jondol pipe No 1 (The Scrub), Sandy Flat, Clive Co., New South Wales, Australia
","Jondol pipe No 1 (The Scrub), Sandy Flat, Clive Co., New South Wales, Australia");
cm(-29.2377777778,152.102222222,"~~236037.html\">Jondol pipe No 2 (The Scrub), Sandy Flat, Clive Co., New South Wales, Australia
","Jondol pipe No 2 (The Scrub), Sandy Flat, Clive Co., New South Wales, Australia");
cm(-29.2961111111,152.174444444,"~~223215.html\">Devons lode (Devon & Mclifty), Sandy Flat, Clive Co., New South Wales, Australia
","Devons lode (Devon & Mclifty), Sandy Flat, Clive Co., New South Wales, Australia");
cm(-29.3152777778,152.140555556,"~~223219.html\">Nylanders lode, Sandy Flat, Clive Co., New South Wales, Australia
","Nylanders lode, Sandy Flat, Clive Co., New South Wales, Australia");
cm(-29.3152777778,152.136388889,"~~223220.html\">Spirabo deposit, Sandy Flat, Clive Co., New South Wales, Australia
","Spirabo deposit, Sandy Flat, Clive Co., New South Wales, Australia");
var zoombox=new GLatLngBounds(new GLatLng(-29.3722222222,152.098888889),new GLatLng(-29.2211111111,152.1775));
var zoomlevel = map.getBoundsZoomLevel(zoombox);
if(zoomlevel>15) zoomlevel=15;
map.setCenter(zoombox.getCenter(),zoomlevel);
}