Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1039 Rev 1041
Line 1... Line 1...
1
/*+--------------------------------------------------------------------------------------------------------+*/
1
/*+--------------------------------------------------------------------------------------------------------+*/
2
// PARAMÊTRES et CONSTANTES
2
// PARAMÊTRES et CONSTANTES
3
// Mettre à true pour afficher les messages de débogage
3
// Mettre à true pour afficher les messages de débogage
4
var DEBUG = false; 
4
var DEBUG = false; 
-
 
5
/**
5
var communeImageUrl = 'http://www.tela-botanica.org/commun/icones/carto/commune.png';
6
 * Indication de certaines variables ajoutée par php
-
 
7
* var communeImageUrl ;
6
var pointImageUrl = 'http://www.tela-botanica.org/commun/icones/carto/point2.png';
8
* var pointImageUrl ;
7
var groupeImageUrlTpl = 'http://www.tela-botanica.org/service:cel:CelWidgetMap/icone-groupe?type={type}&nbre={nbre}'
9
* var groupeImageUrlTpl ;
-
 
10
*/
8
var pointsOrigine = null;
11
var pointsOrigine = null;
9
var boundsOrigine = null;
12
var boundsOrigine = null;
10
var markerClusterer = null;
13
var markerClusterer = null;
11
var map = null;
14
var map = null;
12
var infoBulle = new google.maps.InfoWindow();
15
var infoBulle = new google.maps.InfoWindow();
Line 472... Line 475...
472
function surRetourChargementObs(observations, depart, total) {
475
function surRetourChargementObs(observations, depart, total) {
473
	obsStation = obsStation.concat(observations.observations);
476
	obsStation = obsStation.concat(observations.observations);
474
	if (depart == 0) {
477
	if (depart == 0) {
475
		actualiserInfosStation(observations);
478
		actualiserInfosStation(observations);
476
		creerTitreInfoBulle();
479
		creerTitreInfoBulle();
477
		selectionnerOnglet("#obs-vue-"+pagineur.format);
-
 
478
		surClicPagePagination(0, null);
480
		surClicPagePagination(0, null);	
479
	}
481
	}
Line 480... Line 482...
480
	
482
	
481
	afficherPagination();
483
	afficherPagination();
-
 
484
	actualiserPagineur();
482
	actualiserPagineur();
485
	selectionnerOnglet("#obs-vue-"+pagineur.format);
Line 483... Line 486...
483
}
486
}
484
 
487
 
485
function actualiserInfosStation(infos) {
488
function actualiserInfosStation(infos) {