From: Kaj-Michael Lang Date: Mon, 16 Jul 2007 14:07:52 +0000 (+0300) Subject: Display poi text only when zoomed in close X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f3a23241e86d9e68c7fc338e54ba3eb06d22edf;p=mapper Display poi text only when zoomed in close --- 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],