Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 462 → Rev 463

/trunk/widget/modules/carto/squelettes/carte_defaut.tpl.html
40,6 → 40,7
center: carteCentre,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var ctaLayer = null;
function refreshMap() {
if (markerClusterer) {
68,6 → 69,9
}
 
markerClusterer = new MarkerClusterer(map, points);
 
 
}
 
function afficher() {
85,6 → 89,12
function initialize() {
map = new google.maps.Map(document.getElementById('carte'), carteOptions);
 
// Ajout des limites communales sur la carte
<? foreach ($url_limites_communales as $url) : ?>
ctaLayer = new google.maps.KmlLayer('<?=$url?>');
ctaLayer.setMap(map);
<? endforeach; ?>
// Create the DIV to hold the control and call the HomeControl()
// constructor passing in this DIV.