From: Kaj-Michael Lang Date: Fri, 10 Aug 2007 08:00:50 +0000 (+0300) Subject: Add helper fields to location struct. (Heading and speed) X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30128f5008cd54bfd842e956bff92e2327c314af;p=mapper Add helper fields to location struct. (Heading and speed) --- diff --git a/src/osm.h b/src/osm.h index fe4eac0..074a904 100644 --- a/src/osm.h +++ b/src/osm.h @@ -168,6 +168,7 @@ struct _osm_waypoint { }; /* Location: way/street we are on, city/town/village/hamlet and suburb */ +/* With helpers, speed and heading at last known location */ typedef struct _osm_location osm_location; struct _osm_location { osm_way *street; @@ -177,6 +178,8 @@ struct _osm_location { gboolean valid; gint lat; gint lon; + gfloat heading; + gfloat speed; }; #endif