// Load all Layers in Map

// FOTO-LAYER

	if( rsrglayer_fotos > 0){var path1 = 'data/rsrglayer_fotos_0.1.php?path='+rsrglayer_fotos_path;var d = document,h = d.getElementsByTagName('head')[0],s = d.createElement('script');s.type = 'text/javascript';s.async = false;s.src = path1;h.appendChild(s);var d = document,h = d.getElementsByTagName('head')[0],s = d.createElement('script');s.type = 'text/javascript';s.async = false;s.src = 'layers/rsrglayer_fotos_0.1.js';h.appendChild(s);}	

	if( rsrglayer_360degree_fotos > 0){var path1 = 'data/rsrglayer_360degree_fotos.php?path='+rsrglayer_360degree_fotos_path;var d = document,h = d.getElementsByTagName('head')[0],s = d.createElement('script');s.type = 'text/javascript';s.async = false;s.src = path1;h.appendChild(s);var d = document,h = d.getElementsByTagName('head')[0],s = d.createElement('script');s.type = 'text/javascript';s.async = false;s.src = 'layers/rsrglayer_360degree_fotos.js';h.appendChild(s);}	
			
			
// TILE-LAYER

	let fLen = tile_layer.length;
	for (let i = 0; i < fLen; i++) {		
		var d = document,h = d.getElementsByTagName('head')[0],s = d.createElement('script');s.type = 'text/javascript';s.async = false;s.src = 'layers/multiple_orthofotos_0.2.js?index='+i;h.appendChild(s);
	}			
			
