var idegenvezetok = new Array;var idegenvezetok_group = L.featureGroup(idegenvezetok); layerControl.addOverlay(idegenvezetok_group,"Idegenvezetők"); var allMapLayers = { 'thunderstorm': thunder, 'alap': alaposm, 'opentopo': opentopo, 'google': googleSat, 'turajel': turistajelek, 'turajel2': turistajelek2, 'pecset' : pecset, 'kiszallas' : kiszallasok, 'okt' : okts, 'rp_ddk' : ddks, 'ak' : aks, 'kdp' : kdps, 'lezaras' : district_boundary, 'domborzat' : hillshading, 'idegenvezetok': idegenvezetok_group, 'szallas': szallas, 'bivak': bivak, 'tuzgyujtasi_tilalom': tuzgyujtas }; L.hash(map, allMapLayers);