summaryrefslogtreecommitdiff
path: root/navit/map/binfile/binfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'navit/map/binfile/binfile.c')
-rw-r--r--navit/map/binfile/binfile.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/navit/map/binfile/binfile.c b/navit/map/binfile/binfile.c
index 7cc707ac8..18a4166b1 100644
--- a/navit/map/binfile/binfile.c
+++ b/navit/map/binfile/binfile.c
@@ -454,6 +454,15 @@ static int binfile_coord_get(void *priv_data, struct coord *c, int count) {
}
/**
+ * @brief Get nuber of coords left for current item
+ *
+ * @param prv_data
+ */
+static int binfile_coords_left(void *priv_data) {
+ return binfile_coord_left(priv_data);
+}
+
+/**
* @brief
* @param
* @return
@@ -829,6 +838,8 @@ static struct item_methods methods_binfile = {
NULL,
binfile_attr_set,
binfile_coord_set,
+ NULL,
+ binfile_coords_left,
};
static void push_tile(struct map_rect_priv *mr, struct tile *t, int offset, int length) {