Skip to content
Snippets Groups Projects
Commit a0baa757 authored by Elnagdy Elnagdy's avatar Elnagdy Elnagdy
Browse files

Merge branch 'add_enum_in_map_details' into 'main'

Add MapRegionType in MapDetails

See merge request !176
parents 2ab14382 abd285e9
No related branches found
No related tags found
1 merge request!176Add MapRegionType in MapDetails
Pipeline #59820 passed
......@@ -23,6 +23,14 @@
namespace mantle_api
{
/// Specify the interpretation of the vector of points in the map region.
enum class MapRegionType
{
kUndefined = 0, ///< Undefined interpretation of the vector of points in the map region.
kRoute, ///< Route interpretation of the vector of points in the map region.
kPolygon ///< Polygon interpretation of the vector of points in the map region.
};
/// Definition of the map area
struct MapDetails
{
......@@ -37,6 +45,9 @@ struct MapDetails
/// Area of the map (e.g. GPS latitude, GPS longitude)
std::vector<Position> map_region;
/// Type of map region.
MapRegionType map_region_type;
};
} // namespace mantle_api
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment