Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 2270 Rev 2276
Line 1342... Line 1342...
1342
			commune.setValue(nCommune);
1342
			commune.setValue(nCommune);
1343
			communeModifiee = true;
1343
			communeModifiee = true;
1344
		}
1344
		}
1345
	}
1345
	}
Line -... Line 1346...
-
 
1346
 
1346
 
1347
	// Se déclenche au retour de la "localisation sur la carte"
1347
	private void rafraichirCommuneEtCoord(EntiteGeographiqueObservation infosCom) {
1348
	private void rafraichirCommuneEtCoord(EntiteGeographiqueObservation infosCom) {
1348
		
1349
 
1349
		rafraichirCommune(infosCom);
1350
		rafraichirCommune(infosCom);
1350
		if(infosCom.getLat() != null && !infosCom.getLat().equals("")) {
1351
		if(infosCom.getLat() != null && !infosCom.getLat().equals("")) {
1351
			latitude.setValue(infosCom.getLat());
1352
			latitude.setValue(Util.tronquerNombrePourAffichage("" + infosCom.getLat(), 5));
Line 1352... Line 1353...
1352
		}
1353
		}
1353
 
1354
 
1354
		if(infosCom.getLon() != null && !infosCom.getLon().equals("")) {
1355
		if(infosCom.getLon() != null && !infosCom.getLon().equals("")) {
Line 1355... Line 1356...
1355
			longitude.setValue(infosCom.getLon());
1356
			longitude.setValue(Util.tronquerNombrePourAffichage("" + infosCom.getLon(), 5));
1356
		}
1357
		}