p->lat=qpdata->lat;
p->lon=qpdata->lon;
} else {
-
+ p->lat=_gps->data.lat;
+ p->lon=_gps->data.lon;
}
p->desc=g_strdup("Quick POI, update information please.");
map_poi_cache_clear();
/* Add a text break to the current track */
- txt=g_strdup_printf("QP: %f %f %s", p->lat, p->lon, p->label);
+ /* XXX: Get category string in here if label is empty */
+ txt=g_strdup_printf("QP(%d): %f %f %s", p->cat_id, p->lat, p->lon, p->label);
track_insert_mark_text(txt);
map_force_redraw();