From 3f3a23241e86d9e68c7fc338e54ba3eb06d22edf Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Mon, 16 Jul 2007 17:07:52 +0300 Subject: [PATCH] Display poi text only when zoomed in close --- src/map-poi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/map-poi.c b/src/map-poi.c index 7f55a13..f729d6d 100644 --- a/src/map-poi.c +++ b/src/map-poi.c @@ -109,7 +109,8 @@ while (SQLITE_ROW == sqlite3_step(_stmt_select_poi)) { poiy - (gint) (1.5f * _draw_width), 3 * _draw_width, 3 * _draw_width); - map_poi_title(poix, poiy + 4, poi_label); + if (_zoom<3) + map_poi_title(poix, poiy + 4, poi_label); } else { gdk_draw_pixbuf(_map_pixmap, _gc[COLORABLE_POI], -- 2.39.5