mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 05:13:58 +00:00
[types] Adding buoys
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
committed by
Yannik Bloscheck
parent
6ae28a0ccf
commit
f664138a42
@@ -119,6 +119,7 @@ std::string MapObject::GetLocalizedAllTypes(bool withMainType) const
|
||||
copy.SortBySpec();
|
||||
|
||||
auto const & isPoi = ftypes::IsPoiChecker::Instance();
|
||||
auto const & isDirectional = ftypes::IsDirectionalChecker::Instance();
|
||||
auto const & amenityChecker = ftypes::IsAmenityChecker::Instance();
|
||||
|
||||
std::ostringstream oss;
|
||||
@@ -133,7 +134,7 @@ std::string MapObject::GetLocalizedAllTypes(bool withMainType) const
|
||||
}
|
||||
|
||||
// Ignore types that are not POI
|
||||
if (!isMainType && !isPoi(type))
|
||||
if (!isMainType && !isPoi(type) && !isDirectional(type))
|
||||
continue;
|
||||
|
||||
// Ignore general amenity
|
||||
|
||||
Reference in New Issue
Block a user