Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 572 → Rev 573

/trunk/widget/modules/carto/squelettes/carte_defaut.tpl.html
88,7 → 88,12
});
}
});
google.maps.event.addListener(infoBulle, 'closeclick', function() {
map.panTo(pointClique.position);
});
var pointClique = null;
var carteCentre = new google.maps.LatLng(46.4, 3.10);
var carteOptions = {
zoom: 6,
114,16 → 119,18
bounds.extend(maLatLng);
google.maps.event.addListener(point, 'click', function() {
pointClique = this;
infoBulle.open(map, this);
var limites = map.getBounds();
var centre = limites.getCenter();
var nordEst = limites.getNorthEast();
var centreSudLatLng = new google.maps.LatLng(nordEst.lat(), centre.lng());
map.panTo(centreSudLatLng);
infoBulle.open(map, this);
afficherMsgChargement();
chargerFormatObs(this.stationId, '*');
map.panTo(centreSudLatLng);
});
points.push(point);