Split OSM car category in car sharing and car rental

This commit is contained in:
MM20 2024-06-14 15:41:07 +02:00
parent a057fb8caa
commit e011d9d07c
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389
2 changed files with 4 additions and 2 deletions

View File

@ -879,7 +879,8 @@
<string name="poi_category_hairdresser">Hairdresser</string>
<string name="poi_category_books">Bookstore</string>
<string name="poi_category_bakery">Bakery</string>
<string name="poi_category_car">Car service</string>
<string name="poi_category_car_rental">Car rental</string>
<string name="poi_category_car_sharing">Car sharing</string>
<string name="poi_category_mobile_phone">Cell phone store</string>
<string name="poi_category_furniture">Furniture store</string>
<string name="poi_category_alcohol">Liquor store</string>

View File

@ -218,7 +218,8 @@ private fun Map<String, String>.categorize(context: Context): Pair<String?, Loca
} ?: (R.string.poi_category_restaurant to LocationIcon.Restaurant)
"fuel" -> R.string.poi_category_fuel to LocationIcon.GasStation
"car_rental", "car_sharing" -> R.string.poi_category_car to LocationIcon.CarRental
"car_rental" -> R.string.poi_category_car to LocationIcon.CarRental
"car_sharing" -> R.string.poi_category_car to LocationIcon.CarRental
"car_wash" -> R.string.poi_category_car_wash to LocationIcon.CarWash
"charging_station" -> R.string.poi_category_charging_station to LocationIcon.ChargingStation
"parking", "parking_space", "motorcycle_parking" -> R.string.poi_category_parking to LocationIcon.Parking