From: Kaj-Michael Lang Date: Sat, 3 Nov 2007 17:08:06 +0000 (+0200) Subject: Add some more data to POI info dialog X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b51304f87bd37b6e208707dd10a01f8e0f01f1e;p=mapper Add some more data to POI info dialog --- diff --git a/src/poi-gui.c b/src/poi-gui.c index dddaa85..dcb1e1a 100644 --- a/src/poi-gui.c +++ b/src/poi-gui.c @@ -692,13 +692,20 @@ if (!p) phtml=g_strdup_printf( "" "%s
" - "
Lat: %f
Lon: %f
" - "
%s
%s
" + "
" + "Location: %f, %f
" + "Public: %s
" + "Source: %s
" + "
" + "
Category:
%s
" + "Description:
%s
" "
URL:%s
Postal Code:%s
" "", strlen(p->label)>0 ? p->label : "Unnamed POI", p->lat, p->lon, - p->cat_desc ? p->cat_desc : "", + p->public==1 ? "Yes" : "No", + p->source==POI_SOURCE_OSM ? "OpenStreetMap" : "Other", + p->cat_label ? p->cat_label : "", p->desc ? p->desc : "", p->url ? p->url : "", p->postal_code ? p->postal_code : "");