// 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(/~~/,"
","Head of Kangerdluarssuq, Kangerdluarssuq (Kangerdluarssuk; Kangerdluarsuk) Firth, Ilimaussaq complex, Narsaq, Kitaa (West Greenland) Province, Greenland");
cm(60.8719444444,-45.8475,"~~191122.html\">Kringlerne, Kangerdluarssuq (Kangerdluarssuk; Kangerdluarsuk) Firth, Ilimaussaq complex, Narsaq, Kitaa (West Greenland) Province, Greenland
","Kringlerne, Kangerdluarssuq (Kangerdluarssuk; Kangerdluarsuk) Firth, Ilimaussaq complex, Narsaq, Kitaa (West Greenland) Province, Greenland");
cm(60.8638888889,-45.8805555556,"~~191052.html\">Leucophanite-Monazite occurrence, Kangerdluarssuq (Kangerdluarssuk; Kangerdluarsuk) Firth, Ilimaussaq complex, Narsaq, Kitaa (West Greenland) Province, Greenland
","Leucophanite-Monazite occurrence, Kangerdluarssuq (Kangerdluarssuk; Kangerdluarsuk) Firth, Ilimaussaq complex, Narsaq, Kitaa (West Greenland) Province, Greenland");
cm(60.8813888889,-45.8641666667,"~~190679.html\">East Coast Pegmatite, Qeqertaussaq Island, Kangerdluarssuq (Kangerdluarssuk; Kangerdluarsuk) Firth, Ilimaussaq complex, Narsaq, Kitaa (West Greenland) Province, Greenland
","East Coast Pegmatite, Qeqertaussaq Island, Kangerdluarssuq (Kangerdluarssuk; Kangerdluarsuk) Firth, Ilimaussaq complex, Narsaq, Kitaa (West Greenland) Province, Greenland");
cm(60.8808333333,-45.8647222222,"~~190677.html\">South Coast Pegmatite, Qeqertaussaq Island, Kangerdluarssuq (Kangerdluarssuk; Kangerdluarsuk) Firth, Ilimaussaq complex, Narsaq, Kitaa (West Greenland) Province, Greenland
","South Coast Pegmatite, Qeqertaussaq Island, Kangerdluarssuq (Kangerdluarssuk; Kangerdluarsuk) Firth, Ilimaussaq complex, Narsaq, Kitaa (West Greenland) Province, Greenland");
var zoombox=new GLatLngBounds(new GLatLng(60.8638888889,-45.8805555556),new GLatLng(60.8897222222,-45.8433333333));
var zoomlevel = map.getBoundsZoomLevel(zoombox);
if(zoomlevel>15) zoomlevel=15;
map.setCenter(zoombox.getCenter(),zoomlevel);
}