Subversion Repositories eFlore/Applications.cel

Rev

Rev 463 | Rev 469 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 463 Rev 465
Line 89... Line 89...
89
			
89
			
90
			function initialize() {
90
			function initialize() {
Line 91... Line 91...
91
				map = new google.maps.Map(document.getElementById('carte'), carteOptions);
91
				map = new google.maps.Map(document.getElementById('carte'), carteOptions);
-
 
92
 
92
 
93
				// Ajout des limites communales sur la carte
93
				// Ajout des limites communales sur la carte
94
				<? if (isset($url_limites_communales)) : ?>
94
				<? foreach ($url_limites_communales as $url) : ?>
95
					<? foreach ($url_limites_communales as $url) : ?>
95
					ctaLayer = new google.maps.KmlLayer('<?=$url?>');
96
						ctaLayer = new google.maps.KmlLayer('<?=$url?>');
-
 
97
						ctaLayer.setMap(map);
Line 96... Line 98...
96
					ctaLayer.setMap(map);
98
					<? endforeach; ?>
97
				<? endforeach; ?>	
99
				<? endif; ?>
98
				
100
				
99
				// Create the DIV to hold the control and call the HomeControl()
101
				// Create the DIV to hold the control and call the HomeControl()