var startlat=51.365691; var startlng=10.451526; var startzoom=5; var map; var platzmarker=new Array(); var infowindow; var contentString=""; var markerpic; var marker=new Array(); function initMap() { map = new google.maps.Map(document.getElementById('map'), { center: {lat: startlat, lng: startlng}, zoom: startzoom, minZoom:5, maxZoom:16, }); markerpic = new google.maps.MarkerImage('/pics/platzneu.png', new google.maps.Size(25, 25), new google.maps.Point(0,0), new google.maps.Point(12,12) ); marker[5]= new google.maps.MarkerImage('/pics/marker9.png', new google.maps.Size( 9, 9),new google.maps.Point(0,0),new google.maps.Point( 9, 9)); marker[6]= new google.maps.MarkerImage('/pics/marker9.png', new google.maps.Size( 9, 9),new google.maps.Point(0,0),new google.maps.Point( 9, 9)); marker[7]= new google.maps.MarkerImage('/pics/marker11.png',new google.maps.Size(11,11),new google.maps.Point(0,0),new google.maps.Point(11,11)); marker[8]= new google.maps.MarkerImage('/pics/marker11.png',new google.maps.Size(11,11),new google.maps.Point(0,0),new google.maps.Point(11,11)); marker[9]= new google.maps.MarkerImage('/pics/marker13.png',new google.maps.Size(13,13),new google.maps.Point(0,0),new google.maps.Point(13,13)); marker[10]=new google.maps.MarkerImage('/pics/marker13.png',new google.maps.Size(13,13),new google.maps.Point(0,0),new google.maps.Point(13,13)); marker[11]=new google.maps.MarkerImage('/pics/marker15.png',new google.maps.Size(15,15),new google.maps.Point(0,0),new google.maps.Point(15,15)); marker[12]=new google.maps.MarkerImage('/pics/marker15.png',new google.maps.Size(15,15),new google.maps.Point(0,0),new google.maps.Point(15,15)); marker[13]=new google.maps.MarkerImage('/pics/marker17.png',new google.maps.Size(17,17),new google.maps.Point(0,0),new google.maps.Point(17,17)); marker[14]=new google.maps.MarkerImage('/pics/marker17.png',new google.maps.Size(17,17),new google.maps.Point(0,0),new google.maps.Point(17,17)); marker[15]=new google.maps.MarkerImage('/pics/marker19.png',new google.maps.Size(19,19),new google.maps.Point(0,0),new google.maps.Point(19,19)); marker[16]=new google.maps.MarkerImage('/pics/marker19.png',new google.maps.Size(19,19),new google.maps.Point(0,0),new google.maps.Point(19,19)); infowindow = new google.maps.InfoWindow({content: ''}); google.maps.event.addListener(map, 'dragend', ladeplaetze); google.maps.event.addListener(map, 'zoom_changed', ladeplaetze); ladeplaetze(); } function ladeplaetze() { var zoom=map.getZoom(); if (zoom<5 || zoom>16) {return;} markerpic=marker[zoom]; clearmarker(); platzmarker[2] = new google.maps.Marker({position: {lat: 50.99603960672507, lng: 9.269349575042725},map: map,icon: markerpic,title: ""}); platzmarker[2].addListener("click", function() {gen_infowindow("2208","2")}); platzmarker[9] = new google.maps.Marker({position: {lat: 47.95936004281732, lng: 7.951151132583618},map: map,icon: markerpic,title: ""}); platzmarker[9].addListener("click", function() {gen_infowindow("1851","9")}); platzmarker[10] = new google.maps.Marker({position: {lat: 53.32574, lng: 8.062922999999955},map: map,icon: markerpic,title: ""}); platzmarker[10].addListener("click", function() {gen_infowindow("2179","10")}); platzmarker[21] = new google.maps.Marker({position: {lat: 47.86128346755124, lng: 8.223900299999984},map: map,icon: markerpic,title: ""}); platzmarker[21].addListener("click", function() {gen_infowindow("2992","21")}); platzmarker[27] = new google.maps.Marker({position: {lat: 48.359043630560485, lng: 13.307383060455322},map: map,icon: markerpic,title: ""}); platzmarker[27].addListener("click", function() {gen_infowindow("2298","27")}); platzmarker[32] = new google.maps.Marker({position: {lat: 51.901406096382246, lng: 10.326894888360595},map: map,icon: markerpic,title: ""}); platzmarker[32].addListener("click", function() {gen_infowindow("2975","32")}); platzmarker[35] = new google.maps.Marker({position: {lat: 54.116201, lng: 13.846850000000018},map: map,icon: markerpic,title: ""}); platzmarker[35].addListener("click", function() {gen_infowindow("2377","35")}); platzmarker[41] = new google.maps.Marker({position: {lat: 50.86282558192903, lng: 8.62851619720459},map: map,icon: markerpic,title: ""}); platzmarker[41].addListener("click", function() {gen_infowindow("2244","41")}); platzmarker[43] = new google.maps.Marker({position: {lat: 54.40440706407451, lng: 11.178985834121704},map: map,icon: markerpic,title: ""}); platzmarker[43].addListener("click", function() {gen_infowindow("1887","43")}); platzmarker[51] = new google.maps.Marker({position: {lat: 50.685133, lng: 6.470260000000053},map: map,icon: markerpic,title: ""}); platzmarker[51].addListener("click", function() {gen_infowindow("1893","51")}); platzmarker[57] = new google.maps.Marker({position: {lat: 52.17151032074721, lng: 13.99259090423584},map: map,icon: markerpic,title: ""}); platzmarker[57].addListener("click", function() {gen_infowindow("1877","57")}); platzmarker[59] = new google.maps.Marker({position: {lat: 54.11313789670343, lng: 11.630809307098389},map: map,icon: markerpic,title: ""}); platzmarker[59].addListener("click", function() {gen_infowindow("1870","59")}); platzmarker[61] = new google.maps.Marker({position: {lat: 52.65233273411545, lng: 12.431373596191406},map: map,icon: markerpic,title: ""}); platzmarker[61].addListener("click", function() {gen_infowindow("2251","61")}); platzmarker[64] = new google.maps.Marker({position: {lat: 54.48769085175292, lng: 11.018085479736328},map: map,icon: markerpic,title: ""}); platzmarker[64].addListener("click", function() {gen_infowindow("2255","64")}); platzmarker[84] = new google.maps.Marker({position: {lat: 47.98138347165027, lng: 7.881338596343994},map: map,icon: markerpic,title: ""}); platzmarker[84].addListener("click", function() {gen_infowindow("2264","84")}); platzmarker[95] = new google.maps.Marker({position: {lat: 47.71472817672727, lng: 9.408888816833496},map: map,icon: markerpic,title: ""}); platzmarker[95].addListener("click", function() {gen_infowindow("2306","95")}); platzmarker[98] = new google.maps.Marker({position: {lat: 54.15124340741647, lng: 11.71944851422495},map: map,icon: markerpic,title: ""}); platzmarker[98].addListener("click", function() {gen_infowindow("2330","98")}); platzmarker[99] = new google.maps.Marker({position: {lat: 51.65980517179337, lng: 6.372692584991455},map: map,icon: markerpic,title: ""}); platzmarker[99].addListener("click", function() {gen_infowindow("1037","99")}); platzmarker[105] = new google.maps.Marker({position: {lat: 53.5927276822763, lng: 6.677509546279907},map: map,icon: markerpic,title: ""}); platzmarker[105].addListener("click", function() {gen_infowindow("2163","105")}); platzmarker[107] = new google.maps.Marker({position: {lat: 50.89409001953657, lng: 14.771669999999972},map: map,icon: markerpic,title: ""}); platzmarker[107].addListener("click", function() {gen_infowindow("2016","107")}); platzmarker[112] = new google.maps.Marker({position: {lat: 51.372688679567005, lng: 13.779856167524377},map: map,icon: markerpic,title: ""}); platzmarker[112].addListener("click", function() {gen_infowindow("2935","112")}); platzmarker[116] = new google.maps.Marker({position: {lat: 51.6864872413563, lng: 11.11141502460633},map: map,icon: markerpic,title: ""}); platzmarker[116].addListener("click", function() {gen_infowindow("1995","116")}); platzmarker[120] = new google.maps.Marker({position: {lat: 51.66914840783795, lng: 7.368135452270508},map: map,icon: markerpic,title: ""}); platzmarker[120].addListener("click", function() {gen_infowindow("1999","120")}); platzmarker[131] = new google.maps.Marker({position: {lat: 50.78039, lng: 7.798530000000028},map: map,icon: markerpic,title: ""}); platzmarker[131].addListener("click", function() {gen_infowindow("1978","131")}); platzmarker[132] = new google.maps.Marker({position: {lat: 53.306364866424765, lng: 13.00105333328247},map: map,icon: markerpic,title: ""}); platzmarker[132].addListener("click", function() {gen_infowindow("1983","132")}); platzmarker[135] = new google.maps.Marker({position: {lat: 49.52260824163036, lng: 10.12447605767214},map: map,icon: markerpic,title: ""}); platzmarker[135].addListener("click", function() {gen_infowindow("2964","135")}); platzmarker[141] = new google.maps.Marker({position: {lat: 53.424764954404104, lng: 10.294875549598714},map: map,icon: markerpic,title: ""}); platzmarker[141].addListener("click", function() {gen_infowindow("2385","141")}); platzmarker[142] = new google.maps.Marker({position: {lat: 51.94209558149765, lng: 9.510555267333984},map: map,icon: markerpic,title: ""}); platzmarker[142].addListener("click", function() {gen_infowindow("2384","142")}); platzmarker[144] = new google.maps.Marker({position: {lat: 50.8779784476158, lng: 14.672927856445312},map: map,icon: markerpic,title: ""}); platzmarker[144].addListener("click", function() {gen_infowindow("2281","144")}); platzmarker[147] = new google.maps.Marker({position: {lat: 52.359706583390654, lng: 13.00581693649292},map: map,icon: markerpic,title: ""}); platzmarker[147].addListener("click", function() {gen_infowindow("1840","147")}); platzmarker[148] = new google.maps.Marker({position: {lat: 54.531530398508984, lng: 10.000739563784805},map: map,icon: markerpic,title: ""}); platzmarker[148].addListener("click", function() {gen_infowindow("1839","148")}); platzmarker[152] = new google.maps.Marker({position: {lat: 54.26502356595628, lng: 11.077094078063965},map: map,icon: markerpic,title: ""}); platzmarker[152].addListener("click", function() {gen_infowindow("1826","152")}); platzmarker[153] = new google.maps.Marker({position: {lat: 49.958847514716254, lng: 6.4238691329956055},map: map,icon: markerpic,title: ""}); platzmarker[153].addListener("click", function() {gen_infowindow("1792","153")}); platzmarker[155] = new google.maps.Marker({position: {lat: 51.6782502205111, lng: 7.283012866973877},map: map,icon: markerpic,title: ""}); platzmarker[155].addListener("click", function() {gen_infowindow("1806","155")}); platzmarker[156] = new google.maps.Marker({position: {lat: 52.91863889022924, lng: 10.127731561660767},map: map,icon: markerpic,title: ""}); platzmarker[156].addListener("click", function() {gen_infowindow("2360","156")}); platzmarker[157] = new google.maps.Marker({position: {lat: 54.75793313848829, lng: 9.880287291015634},map: map,icon: markerpic,title: ""}); platzmarker[157].addListener("click", function() {gen_infowindow("2361","157")}); platzmarker[159] = new google.maps.Marker({position: {lat: 51.87127842023198, lng: 8.672249150000008},map: map,icon: markerpic,title: ""}); platzmarker[159].addListener("click", function() {gen_infowindow("2987","159")}); platzmarker[163] = new google.maps.Marker({position: {lat: 52.93166762625555, lng: 9.96497583593748},map: map,icon: markerpic,title: ""}); platzmarker[163].addListener("click", function() {gen_infowindow("2391","163")}); platzmarker[168] = new google.maps.Marker({position: {lat: 47.842121161269915, lng: 8.936594724655151},map: map,icon: markerpic,title: ""}); platzmarker[168].addListener("click", function() {gen_infowindow("2400","168")}); platzmarker[173] = new google.maps.Marker({position: {lat: 47.809227668524144, lng: 8.969693183898926},map: map,icon: markerpic,title: ""}); platzmarker[173].addListener("click", function() {gen_infowindow("2394","173")}); platzmarker[175] = new google.maps.Marker({position: {lat: 47.79655164755936, lng: 7.548980712890625},map: map,icon: markerpic,title: ""}); platzmarker[175].addListener("click", function() {gen_infowindow("2408","175")}); platzmarker[177] = new google.maps.Marker({position: {lat: 53.71332031361948, lng: 11.809272766113281},map: map,icon: markerpic,title: ""}); platzmarker[177].addListener("click", function() {gen_infowindow("2411","177")}); platzmarker[179] = new google.maps.Marker({position: {lat: 51.78513919625788, lng: 6.634454727172852},map: map,icon: markerpic,title: ""}); platzmarker[179].addListener("click", function() {gen_infowindow("2413","179")}); platzmarker[185] = new google.maps.Marker({position: {lat: 52.93393192090926, lng: 8.403942664418082},map: map,icon: markerpic,title: ""}); platzmarker[185].addListener("click", function() {gen_infowindow("2938","185")}); platzmarker[186] = new google.maps.Marker({position: {lat: 52.43361815585654, lng: 13.769302368164062},map: map,icon: markerpic,title: ""}); platzmarker[186].addListener("click", function() {gen_infowindow("2433","186")}); platzmarker[187] = new google.maps.Marker({position: {lat: 49.18920754058869, lng: 11.124393322753917},map: map,icon: markerpic,title: ""}); platzmarker[187].addListener("click", function() {gen_infowindow("2522","187")}); platzmarker[188] = new google.maps.Marker({position: {lat: 54.0333846975222, lng: 14.040699005126953},map: map,icon: markerpic,title: ""}); platzmarker[188].addListener("click", function() {gen_infowindow("2439","188")}); platzmarker[190] = new google.maps.Marker({position: {lat: 48.41786573915844, lng: 13.127857446670532},map: map,icon: markerpic,title: ""}); platzmarker[190].addListener("click", function() {gen_infowindow("2442","190")}); platzmarker[193] = new google.maps.Marker({position: {lat: 47.82179974391735, lng: 8.162670135498047},map: map,icon: markerpic,title: ""}); platzmarker[193].addListener("click", function() {gen_infowindow("2451","193")}); platzmarker[195] = new google.maps.Marker({position: {lat: 48.43532, lng: 13.10916999999995},map: map,icon: markerpic,title: ""}); platzmarker[195].addListener("click", function() {gen_infowindow("2454","195")}); platzmarker[202] = new google.maps.Marker({position: {lat: 51.825646449714824, lng: 14.138975143432617},map: map,icon: markerpic,title: ""}); platzmarker[202].addListener("click", function() {gen_infowindow("2470","202")}); platzmarker[205] = new google.maps.Marker({position: {lat: 53.48794116269024, lng: 13.09341827695198},map: map,icon: markerpic,title: ""}); platzmarker[205].addListener("click", function() {gen_infowindow("2940","205")}); platzmarker[206] = new google.maps.Marker({position: {lat: 50.81434126647787, lng: 9.517979621887207},map: map,icon: markerpic,title: ""}); platzmarker[206].addListener("click", function() {gen_infowindow("2479","206")}); platzmarker[213] = new google.maps.Marker({position: {lat: 51.49549222130398, lng: 11.68421745300293},map: map,icon: markerpic,title: ""}); platzmarker[213].addListener("click", function() {gen_infowindow("2495","213")}); platzmarker[218] = new google.maps.Marker({position: {lat: 49.217351826393724, lng: 11.668928861618042},map: map,icon: markerpic,title: ""}); platzmarker[218].addListener("click", function() {gen_infowindow("2504","218")}); platzmarker[219] = new google.maps.Marker({position: {lat: 48.42035273678098, lng: 13.192447562552616},map: map,icon: markerpic,title: ""}); platzmarker[219].addListener("click", function() {gen_infowindow("2509","219")}); platzmarker[220] = new google.maps.Marker({position: {lat: 50.149941719026295, lng: 7.6949058000000115},map: map,icon: markerpic,title: ""}); platzmarker[220].addListener("click", function() {gen_infowindow("2984","220")}); platzmarker[221] = new google.maps.Marker({position: {lat: 51.61813344941726, lng: 12.339242677365062},map: map,icon: markerpic,title: ""}); platzmarker[221].addListener("click", function() {gen_infowindow("2937","221")}); platzmarker[224] = new google.maps.Marker({position: {lat: 51.7619707504521, lng: 8.691305529470984},map: map,icon: markerpic,title: ""}); platzmarker[224].addListener("click", function() {gen_infowindow("2523","224")}); platzmarker[236] = new google.maps.Marker({position: {lat: 50.82448563183537, lng: 10.608915056622322},map: map,icon: markerpic,title: ""}); platzmarker[236].addListener("click", function() {gen_infowindow("2565","236")}); platzmarker[237] = new google.maps.Marker({position: {lat: 49.81202001879978, lng: 6.43137999999999},map: map,icon: markerpic,title: ""}); platzmarker[237].addListener("click", function() {gen_infowindow("2566","237")}); platzmarker[243] = new google.maps.Marker({position: {lat: 52.18664572046292, lng: 9.059702599999975},map: map,icon: markerpic,title: ""}); platzmarker[243].addListener("click", function() {gen_infowindow("2575","243")}); platzmarker[244] = new google.maps.Marker({position: {lat: 53.08274911161188, lng: 9.176580983328222},map: map,icon: markerpic,title: ""}); platzmarker[244].addListener("click", function() {gen_infowindow("2576","244")}); platzmarker[247] = new google.maps.Marker({position: {lat: 51.687725086884384, lng: 12.799893250787363},map: map,icon: markerpic,title: ""}); platzmarker[247].addListener("click", function() {gen_infowindow("2579","247")}); platzmarker[248] = new google.maps.Marker({position: {lat: 51.06777411965805, lng: 7.382460400000014},map: map,icon: markerpic,title: ""}); platzmarker[248].addListener("click", function() {gen_infowindow("2580","248")}); platzmarker[256] = new google.maps.Marker({position: {lat: 54.08254014990279, lng: 13.899351592973503},map: map,icon: markerpic,title: ""}); platzmarker[256].addListener("click", function() {gen_infowindow("2600","256")}); platzmarker[257] = new google.maps.Marker({position: {lat: 51.36424211092921, lng: 8.72732742620235},map: map,icon: markerpic,title: ""}); platzmarker[257].addListener("click", function() {gen_infowindow("2617","257")}); platzmarker[261] = new google.maps.Marker({position: {lat: 53.02413718767446, lng: 9.859425144982879},map: map,icon: markerpic,title: ""}); platzmarker[261].addListener("click", function() {gen_infowindow("2636","261")}); platzmarker[267] = new google.maps.Marker({position: {lat: 49.11703549891621, lng: 9.383536616428412},map: map,icon: markerpic,title: ""}); platzmarker[267].addListener("click", function() {gen_infowindow("2988","267")}); platzmarker[270] = new google.maps.Marker({position: {lat: 53.048024643467, lng: 8.463270960296654},map: map,icon: markerpic,title: ""}); platzmarker[270].addListener("click", function() {gen_infowindow("2846","270")}); platzmarker[273] = new google.maps.Marker({position: {lat: 51.49853674630145, lng: 13.985073639440884},map: map,icon: markerpic,title: ""}); platzmarker[273].addListener("click", function() {gen_infowindow("2856","273")}); platzmarker[274] = new google.maps.Marker({position: {lat: 51.49018001995724, lng: 14.036590000000047},map: map,icon: markerpic,title: ""}); platzmarker[274].addListener("click", function() {gen_infowindow("2857","274")}); platzmarker[275] = new google.maps.Marker({position: {lat: 54.41409965149986, lng: 10.24827503044969},map: map,icon: markerpic,title: ""}); platzmarker[275].addListener("click", function() {gen_infowindow("2859","275")}); platzmarker[276] = new google.maps.Marker({position: {lat: 47.62486002103011, lng: 7.66141612963861},map: map,icon: markerpic,title: ""}); platzmarker[276].addListener("click", function() {gen_infowindow("2862","276")}); platzmarker[281] = new google.maps.Marker({position: {lat: 53.9468581454243, lng: 13.857116057373124},map: map,icon: markerpic,title: ""}); platzmarker[281].addListener("click", function() {gen_infowindow("2867","281")}); platzmarker[282] = new google.maps.Marker({position: {lat: 47.60987421739717, lng: 10.446952199999942},map: map,icon: markerpic,title: ""}); platzmarker[282].addListener("click", function() {gen_infowindow("2895","282")}); platzmarker[284] = new google.maps.Marker({position: {lat: 49.97071239788303, lng: 12.444762793194514},map: map,icon: markerpic,title: ""}); platzmarker[284].addListener("click", function() {gen_infowindow("2902","284")}); platzmarker[285] = new google.maps.Marker({position: {lat: 50.82799521645138, lng: 10.649408652282792},map: map,icon: markerpic,title: ""}); platzmarker[285].addListener("click", function() {gen_infowindow("2907","285")}); platzmarker[286] = new google.maps.Marker({position: {lat: 49.275811341692176, lng: 7.722954577070595},map: map,icon: markerpic,title: ""}); platzmarker[286].addListener("click", function() {gen_infowindow("2911","286")}); platzmarker[287] = new google.maps.Marker({position: {lat: 47.95143447803154, lng: 10.286899130045413},map: map,icon: markerpic,title: ""}); platzmarker[287].addListener("click", function() {gen_infowindow("2913","287")}); platzmarker[290] = new google.maps.Marker({position: {lat: 54.40470390006677, lng: 11.140135999011251},map: map,icon: markerpic,title: ""}); platzmarker[290].addListener("click", function() {gen_infowindow("2981","290")}); platzmarker[292] = new google.maps.Marker({position: {lat: 52.36451742059459, lng: 13.375475999999988},map: map,icon: markerpic,title: ""}); platzmarker[292].addListener("click", function() {gen_infowindow("2998","292")}); } function clearmarker() { for (i=0; i