pm_reset(); var pm_mapTitle = "Dekanat München: Gemeinden"; pm_setMapParameters('basemaps/dekanat.xml'); // map location is relative pointMapper executable location; the map in this file is ignored but the map parameters are used pm_createImageLayer('umgebung');pm_hideLayer('umgebung');pm_loadImage('umgebung','basemaps/umgebung-o.swf') pm_loadImage('base','basemaps/dekanat3.swf'); // add the layers bottom up // define a point class which includes a field for the rollover function GeoPoint(lat,lon,id,rollover) { this . lat = lat; this . lon = lon; this . id = id; this . rollover = rollover; } // create the gemeinde point array var gemeindePnts = new Array( new GeoPoint(48.164,11.588,"Kirche4041011_1","Erlöserkirche"), new GeoPoint(48.1322,11.5935,"Kirche4041021_1","St. Johannes"), new GeoPoint(48.1619,11.5665,"Kirche4041031_1","Kreuzkirche"), new GeoPoint(48.135,11.588,"Kirche4041041_1","St. Lukas"), new GeoPoint(48.125,11.568,"Kirche4041041_2","St. Martinskapelle"), new GeoPoint(48.1458,11.5738,"Kirche4041051_1","St. Markus"), new GeoPoint(48.1334,11.5637,"Kirche4041061_1","St. Matthäus"), new GeoPoint(48.2503,11.6492,"Kirche4042011_1","Laudatekirche"), new GeoPoint(48.1817,11.5686,"Kirche4042021_1","Dankeskirche"), new GeoPoint(48.2167,11.5533,"Kirche4042031_1","Evangeliumskirche"), new GeoPoint(48.2058,11.6071,"Kirche4042041_1","Hoffnungskirche "), new GeoPoint(48.203,11.594,"Kirche4042041_3","Michaelskirche-Freimann"), new GeoPoint(48.1783,11.5142,"Kirche4042051_1","Heilig-Geist-Kirche"), new GeoPoint(48.182,11.5008,"Kirche4042051_2","Magdalenenkirche"), new GeoPoint(48.1827,11.5526,"Kirche4042051_3","Olympiakirche"), new GeoPoint(48.197,11.5348,"Kirche4042061_1","Kapernaumkirche"), new GeoPoint(48.2143,11.5325,"Kirche4042061_2","Betanienkirche"), new GeoPoint(48.179,11.598,"Kirche4042071_1","Nikodemuskirche"), new GeoPoint(48.2015,11.5679,"Kirche4042081_1","Versöhnungskirche-Harthof"), new GeoPoint(48.2546,11.5619,"Kirche4042091_1","Trinitatiskirche"), new GeoPoint(48.2776,11.5849,"Kirche4042101_1","Genezarethkirche"), new GeoPoint(48.254,11.436,"Kirche4042111_1","Friedenskirche"), new GeoPoint(48.2624,11.4573,"Kirche4042121_1","Gnadenkirche"), new GeoPoint(48.2219,11.4701,"Kirche4042131_1","Korneliuskirche"), new GeoPoint(48.4133,11.4706,"Kirche4042141_1","Kemmoden"), new GeoPoint(48.0958,11.7791,"Kirche4043011_1","Petrikirche"), new GeoPoint(48.148,11.7312,"Kirche4043021_1","Feldkirchen"), new GeoPoint(48.1723,11.7104,"Kirche4043021_2","Segenskirche"), new GeoPoint(48.131,11.692,"Kirche4043021_3","Sophienkirche"), new GeoPoint(48.1033,11.7297,"Kirche4043031_1","Jesuskirche"), new GeoPoint(48.2264,11.6765,"Kirche4043041_1","Ismaning/Unterföhring"), new GeoPoint(48.1726,11.7504,"Kirche4043051_1","Cantatekirche"), new GeoPoint(48.1484,11.6069,"Kirche4043061_1","Dreieinigkeitskirche"), new GeoPoint(48.115,11.6786,"Kirche4043071_1","Friedenskirche"), new GeoPoint(48.1528,11.6447,"Kirche4043081_1","Immanuelkirche"), new GeoPoint(48.14,11.6186,"Kirche4043091_1","Nazarethkirche"), new GeoPoint(48.1704,11.6343,"Kirche4043101_1","Vaterunserkirche"), new GeoPoint(48.0837,11.829,"Kirche4043111_1","Christophoruskirche"), new GeoPoint(48.0409,11.5274,"Kirche4044011_1","Thomaskirche"), new GeoPoint(48.0916,11.4846,"Kirche4044021_1","Andreaskirche"), new GeoPoint(48.0739,11.5199,"Kirche4044031_1","Apostelkirche"), new GeoPoint(48.0832,11.5043,"Kirche4044031_2","Petruskirche"), new GeoPoint(48.135 ,11.538,"Kirche4044041_1","Auferstehungskirche"), new GeoPoint(48.092,11.566,"Kirche4044051_1","Emmauskirche"), new GeoPoint(48.114,11.5138,"Kirche4044061_1","Gethsemanekirche"), new GeoPoint(48.12,11.542,"Kirche4044071_1","Himmelfahrtskirche"), new GeoPoint(48.1153,11.5768,"Kirche4044081_1","Lutherkirche"), new GeoPoint(48.1005,11.5396,"Kirche4044091_1","Passionskirche"), new GeoPoint(48.1047,11.5831,"Kirche4044101_1","Philippuskirche"), new GeoPoint(48.054,11.5129,"Kirche4044111_1","Jakobuskirche"), new GeoPoint(48.0167,11.7155,"Kirche4045011_1","Kreuz-Christi-Kirche"), new GeoPoint(48.1128,11.6074,"Kirche4045021_1","Gustav-Adolf-Kirche"), new GeoPoint(48.0911,11.6104,"Kirche4045031_1","Jesajakirche"), new GeoPoint(48.0807,11.675,"Kirche4045041_1","Jubilatekirche"), new GeoPoint(48.1091,11.6433,"Kirche4045051_1","Laetarekirche"), new GeoPoint(48.0986,11.6333,"Kirche4045051_2","Dietrich-Bonhoeffer-Kirche"), new GeoPoint(48.1251,11.6358,"Kirche4045061_1","Offenbarungskirche"), new GeoPoint(48.1203,11.6182,"Kirche4045071_1","Rogatekirche"), new GeoPoint(48.0972,11.6292,"Kirche4045081_1","St. Paulus"), new GeoPoint(48.0241,11.5905,"Kirche4045091_1","Zum guten Hirten"), new GeoPoint(48.063,11.6746,"Kirche4045101_1","Michaelskirche-Ottobrunn"), new GeoPoint(48.0532,11.6038,"Kirche4045111_1","Jerusalemkirche"), new GeoPoint(48.0682,11.6061,"Kirche4045121_1","Heilandkirche"), new GeoPoint(48.1747,11.4865,"Kirche4047051_1","Bethlehemskirche"), new GeoPoint(48.1598,11.5346,"Kirche4047061_1","Christuskirche"), new GeoPoint(48.1917,11.4622,"Kirche4047071_1","Epiphaniaskirche"), new GeoPoint(48.1384,11.4995,"Kirche4047081_1","Paul-Gerhardt-Kirche"), new GeoPoint(48.1535,11.5193,"Kirche4047091_1","Stephanuskirche"), new GeoPoint(48.1317,11.3631,"Kirche4047101_1","Dietrich-Bonhoeffer-Kirche"), new GeoPoint(48.1271,11.3674,"Kirche4047111_1","Jesus-Christus-Kirche"), new GeoPoint(48.1941,11.3702,"Kirche4047121_1","Zachäuskirche"), new GeoPoint(48.146,11.422,"Kirche4047131_1","Adventskirche"), new GeoPoint(48.1622,11.4758,"Kirche4047141_1","Carolinenkirche"), new GeoPoint(48.1529,11.4559,"Kirche4047151_1","Himmelfahrtskirche"), new GeoPoint(48.1155,11.4904,"Kirche4047161_1","Reformations-Gedächtnis-Kirche"), new GeoPoint(48.122,11.487,"Kirche4047171_1","Simeonskirche"), new GeoPoint(48.2669,11.4709,"Kirche0000000_1","Versöhnungskirche KZ-Gedenkstätte"), new GeoPoint(0,0,"","") ); // create the edm point array var edmPnts = new Array( new GeoPoint(48.1375,11.5516,"edm1","Aktionsgemeinschaft für Arbeitnehmerfragen"), new GeoPoint(48.1219,11.4907,"edm3","Augustinum"), new GeoPoint(48.136,11.563,"edm4","Evangelisches Beratungszentrum München (ebz)"), new GeoPoint(48.136,11.563,"edm5","Ehe-, Familie und Lebensberatung"), new GeoPoint(48.136,11.563,"edm6","Psychologische Beratung für Elten, Kinder, Jugendliche und Familien"), new GeoPoint(48.136,11.563,"edm7","Beratungsstelle für Schwangerschaftsfragen"), new GeoPoint(48.136,11.563,"edm8","Pastoralpsychologische Beratung"), new GeoPoint(48.136,11.563,"edm9","Evangelische Telefonseelsorge e.V."), new GeoPoint(48.1351,11.5667,"edm10","Evangelisches Forum München "), new GeoPoint(48.1351,11.5667,"edm11","Stadtakademie München"), new GeoPoint(48.1351,11.5667,"edm12","Evangelische Familien-Bildungsstätte Elly Heuss-Knapp"), new GeoPoint(48.152,11.566,"edm13","Evangelische Hochschulgemeinde an der TU (EHG)"), new GeoPoint(48.1351,11.5667,"edm14","Beauftragte für die Arbeit mit Alleinerziehenden"), new GeoPoint(48.1351,11.5667,"edm15","Evangelisches Bildungswerk München e.V."), new GeoPoint(48.1351,11.5667,"edm16","Freiwilligenservice im Evangelisch Lutherischen Dekanat"), new GeoPoint(48.148,11.5405,"edm17","Evangelische Jugend München (EJM)"), new GeoPoint(48.1351,11.5667,"edm18","Projektstelle für Altenheimseelsorge"), new GeoPoint(48.0936,11.6364,"edm19","MUC - Medien und Kommunikation"), new GeoPoint(48.16,11.58,"edm20","Evangelische Studentengemeinde an der LMU (ESG)"), new GeoPoint(48.1491,11.5799,"edm21","Evangelisch-Theologische Fakultät in München"), new GeoPoint(48.1434,11.5578,"edm22","TTN - Institut Technik- Theologie- Naturwissenschaften"), new GeoPoint(48.1504,11.537,"edm23","Innere Mission München (IMM)"), new GeoPoint(48.15,11.537,"edm27","Offene Behindertenarbeit (OBA)"), new GeoPoint(48.136,11.563,"edm28","Evangelische Dienste München - Leitung (EDM)"), new GeoPoint(48.134,11.537,"edm29","Evangelisches Migrationszentrum"), new GeoPoint(48.1334,11.5637,"edm30","Matthäusdienste"), new GeoPoint(48.137,11.576,"edm32","Münchner Insel"), new GeoPoint(48.15,11.537,"edm33","Löhe-Haus"), new GeoPoint(48.15,11.538,"edm37","Gemeinsam leben lernen e.V."), new GeoPoint(48.133,11.558,"edm38","Freundschaft zwischen Ausländern und Deutschen e.V."), new GeoPoint(48.138,11.552,"edm39","Kirchlicher Dienst in der Arbeitswelt (KDA)"), new GeoPoint(48.136,11.563,"edm40","Beratungsstelle Neue Religiöse Bewegungen"), new GeoPoint(48.14,11.560,"edm41","Evangelische Bahnhofsmission"), new GeoPoint(48.136,11.563,"edm43","Evangelisches Kirchengemeindeamt"), new GeoPoint(48.136,11.563,"edm44","Evangelischer Handwerkerverein München von 1848 e.V."), new GeoPoint(0,0,"","") ); //pm_loadImage('nord','basemaps/nord2.swf'); pm_createImageLayer('nord');pm_hideLayer('nord');pm_loadImage('nord','basemaps/nord2.swf') pm_createImageLayer('ost');pm_hideLayer('ost');pm_loadImage('ost','basemaps/ost2.swf'); pm_createImageLayer('suedost');pm_hideLayer('suedost');pm_loadImage('suedost','basemaps/suedost3.swf'); pm_createImageLayer('mitte');pm_hideLayer('mitte');pm_loadImage('mitte','basemaps/mitte2.swf'); pm_createImageLayer('sued');pm_hideLayer('sued');pm_loadImage('sued','basemaps/sued3.swf'); pm_createImageLayer('west');pm_hideLayer('west');pm_loadImage('west','basemaps/west3.swf'); // the default mark size looks a little big-- scale it to 75% of default pm_setMarkScale(0.75); pm_createPointLayer('kirchengemeinden','circle',217,46,46); pm_createPointLayer('edm','triangle',146,79,198); pm_setPoints('kirchengemeinden',gemeindePnts); pm_setPoints('edm',edmPnts); // this is the function that is called when an item on the map is selected; information on the item is loaded into the info box function setInfo(lyr,nm) { var infow = document.getElementById("infoBox"); infow.style.visibility = "visible"; infow.src = "info.php?id=" + nm + "&type=" + lyr; } function hideInfo() { var infow = document.getElementById("infoBox"); infow.style.visibility = "hidden"; } // set the selection callback to the function just defined pm_setSelectionCallback(setInfo); // this function is called when a text link is clicked function setAndHilite(lyr,nm) { setInfo(lyr,nm); // alert("pm_highlight "+nm); pm_highlight(lyr,nm); } // function for hiding and showing map layers; used in form (checkbox) code function setlayervis(nm,vl) { if (vl) pm_showLayer(nm); else pm_hideLayer(nm); }