Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 573 → Rev 572

/trunk/widget/modules/carto/squelettes/carte_defaut.tpl.html
88,12 → 88,7
});
}
});
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,
119,18 → 114,16
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);