summaryrefslogtreecommitdiff
path: root/navit/traffic.h
diff options
context:
space:
mode:
authormvglasow <michael -at- vonglasow.com>2017-12-14 16:29:14 +0100
committermvglasow <michael -at- vonglasow.com>2017-12-14 16:29:14 +0100
commita077e915ed4f7a275641beb15bf12b0983c55ed9 (patch)
tree5489876ce12197cdff9f403346afdf234191a4a7 /navit/traffic.h
parentb0c41b7f77c42dbf8ddb1aefcd249089fdae99c7 (diff)
downloadnavit-a077e915ed4f7a275641beb15bf12b0983c55ed9.tar.gz
Fix:traffic:Use enclosing rectangle of all points for map selection
Signed-off-by: mvglasow <michael -at- vonglasow.com>
Diffstat (limited to 'navit/traffic.h')
-rw-r--r--navit/traffic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/navit/traffic.h b/navit/traffic.h
index 4c6094162..37897969b 100644
--- a/navit/traffic.h
+++ b/navit/traffic.h
@@ -298,6 +298,10 @@ struct traffic_location {
int tmc_direction; /*!< For messages received via TMC, the direction of the road to
* which this message applies (positive or negative). Ignored
* for bidirectional messages. */
+ struct coord_geo * sw; /*!< Southwestern corner of rectangle enclosing all points.
+ * Calculated by Navit from the points of the location. */
+ struct coord_geo * ne; /*!< Northeastern corner of rectangle enclosing all points.
+ * Calculated by Navit from the points of the location. */
};
/**