diff options
Diffstat (limited to 'navit/coord.h')
-rw-r--r-- | navit/coord.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/navit/coord.h b/navit/coord.h index cff549e95..8387462a2 100644 --- a/navit/coord.h +++ b/navit/coord.h @@ -36,6 +36,18 @@ struct coord { int y; /*!< Y-Value */ }; +/** + * @brief An integer mercator coordinate packed with a text label + * + * This structure holds information about an item (coordinates & label) on a map. This can be + * used in a list as group of points to display as search results on a map. + * It is used to structure input data for function navit_populate_search_results_map() + */ +struct lcoord { + struct coord c; /*!< The coordinates for this item */ + char *label; /*!< A label to associate to this item */ +}; + /*! A integer mercator coordinate carrying its projection */ struct pcoord { enum projection pro; |