Subversion Repositories eFlore/Applications.cel

Rev

Rev 299 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 299 Rev 323
Line 261... Line 261...
261
		
261
		
262
		return marker;
262
		return marker;
Line 263... Line 263...
263
	}
263
	}
-
 
264
 
-
 
265
	public void recentrerCarte() {
264
 
266
		
265
	public void recentrerCarte() {
267
		if(this.getWidth() > 12 && this.getHeight() > 24) {
-
 
268
			map.setSize((this.getWidth() - 12)+"px" , (this.getHeight() - 24)+"px");
266
		map.setSize((this.getWidth() - 12)+"px" , (this.getHeight() - 24)+"px");
269
			panneauCarto.setSize((this.getWidth() - 12)+"px" , (this.getHeight() - 12)+"px");
267
		panneauCarto.setSize((this.getWidth() - 12)+"px" , (this.getHeight() - 12)+"px");
270
		}
268
		map.setCenter(pointCommune, niveauZoom);
271
		map.setCenter(pointCommune, niveauZoom);
Line 269... Line 272...
269
		map.checkResizeAndCenter();
272
		map.checkResizeAndCenter();