Compare commits
12 Commits
exp_top_ba
...
yannikblos
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cfb0cfc128 | ||
|
|
7b415ebb37 | ||
|
|
13d7def519 | ||
|
|
93b35454eb | ||
|
|
de1c0a061d | ||
|
|
18ce55afa3 | ||
|
|
43ffd199a4 | ||
|
|
3e75e5e802 | ||
|
|
fc96d17ed7 | ||
|
|
e869fe1da1 | ||
|
|
f38953458d | ||
|
|
5e8d2e1a59 |
@@ -712,6 +712,7 @@ public class MwmActivity extends BaseMwmFragmentActivity
|
||||
if (!TextUtils.isEmpty(appName))
|
||||
{
|
||||
setTitle(appName);
|
||||
((MaterialTextView) mPointChooser.findViewById(R.id.title)).setText(appName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -42,6 +42,7 @@ public class ChooseBookmarkCategoryFragment
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
|
||||
{
|
||||
View root = inflater.inflate(R.layout.choose_bookmark_category_fragment, container, false);
|
||||
getDialog().getWindow().setBackgroundDrawableResource(android.R.color.transparent);
|
||||
mRecycler = root.findViewById(R.id.recycler);
|
||||
mRecycler.setLayoutManager(new LinearLayoutManager(requireActivity()));
|
||||
return root;
|
||||
|
||||
@@ -77,6 +77,7 @@ public class ChooseBookmarksSortingTypeFragment
|
||||
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState)
|
||||
{
|
||||
super.onViewCreated(view, savedInstanceState);
|
||||
getDialog().getWindow().setBackgroundDrawableResource(android.R.color.transparent);
|
||||
|
||||
final Bundle args = getArguments();
|
||||
if (args == null)
|
||||
|
||||
@@ -61,6 +61,7 @@ public class StackedButtonsDialog extends AppCompatDialog implements View.OnClic
|
||||
setCancelable(mCancelable);
|
||||
setOnCancelListener(mCancelListener);
|
||||
setContentView(R.layout.dialog_stacked_buttons);
|
||||
getWindow().setBackgroundDrawableResource(android.R.color.transparent);
|
||||
|
||||
TextView title = findViewById(R.id.tv__title);
|
||||
UiUtils.setTextAndHideIfEmpty(title, mTitle);
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
android:orientation="vertical">
|
||||
<include
|
||||
android:id="@+id/toolbar"
|
||||
layout="@layout/mtoolbar_default" />
|
||||
layout="@layout/toolbar_default" />
|
||||
<ScrollView
|
||||
android:id="@+id/scrollView"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
android:orientation="vertical">
|
||||
|
||||
<include
|
||||
layout="@layout/mtoolbar_default"/>
|
||||
layout="@layout/toolbar_default"/>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/fragment_container"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
android:background="?appBackground">
|
||||
|
||||
<include
|
||||
layout="@layout/mtoolbar_default"/>
|
||||
layout="@layout/toolbar_default"/>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/fragment_container"
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/Widget.Material3.CardView.Filled"
|
||||
app:cardBackgroundColor="?attr/colorSurfaceContainerHigh"
|
||||
app:cardCornerRadius="28dp">
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:background="?cardBackground"
|
||||
android:minWidth="@dimen/bookmark_purchase_img_width"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
@@ -21,9 +27,11 @@
|
||||
android:layout_marginEnd="@dimen/margin_base_plus"
|
||||
android:layout_marginStart="@dimen/margin_base_plus"
|
||||
tools:text="Select list"/>
|
||||
<include
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler"
|
||||
android:layout_marginTop="@dimen/margin_base"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
layout="@layout/recycler_default"/>
|
||||
android:scrollbars="vertical"/>
|
||||
</LinearLayout>
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
|
||||
@@ -8,17 +8,17 @@
|
||||
android:layout_height="match_parent">
|
||||
<com.google.android.material.appbar.MaterialToolbar
|
||||
android:id="@+id/toolbar"
|
||||
style="@style/MwmWidget.M3.ToolbarStyle"
|
||||
style="@style/MwmWidget.ToolbarStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:theme="@style/MwmWidget.ToolbarTheme">
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/save"
|
||||
android:layout_width="?actionBarSize"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
app:srcCompat="@drawable/ic_done"
|
||||
app:tint="?iconTint"/>
|
||||
app:srcCompat="@drawable/ic_done"/>
|
||||
</com.google.android.material.appbar.MaterialToolbar>
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:scrollbars="none"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<include layout="@layout/mtoolbar_default"/>
|
||||
<include layout="@layout/toolbar_default"/>
|
||||
<LinearLayout
|
||||
android:layout_marginTop="@dimen/margin_half_double_plus"
|
||||
android:orientation="horizontal"
|
||||
|
||||
@@ -7,12 +7,13 @@
|
||||
android:background="?appBackground">
|
||||
<com.google.android.material.appbar.MaterialToolbar
|
||||
android:id="@+id/toolbar"
|
||||
style="@style/MwmWidget.M3.ToolbarStyle"
|
||||
style="@style/MwmWidget.ToolbarStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:theme="@style/MwmWidget.ToolbarTheme">
|
||||
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
app:tint="?iconTint"
|
||||
app:tint="@color/image_view"
|
||||
android:id="@+id/save"
|
||||
app:srcCompat="@drawable/ic_done"
|
||||
android:layout_width="?actionBarSize"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
android:orientation="vertical">
|
||||
<include
|
||||
android:id="@+id/toolbar"
|
||||
layout="@layout/mtoolbar_default" />
|
||||
layout="@layout/toolbar_default" />
|
||||
<ScrollView
|
||||
android:id="@+id/scrollView"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
style="@style/MwmWidget.M3.Editor.CardView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/height_item_oneline"
|
||||
android:background="?clickableBackground"
|
||||
android:layout_marginTop="@dimen/margin_half"
|
||||
android:layout_margin="@dimen/margin_eighth"
|
||||
android:layout_height="wrap_content">
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/margin_half"
|
||||
android:paddingStart="@dimen/margin_half_plus"
|
||||
android:paddingEnd="@dimen/margin_half_plus">
|
||||
|
||||
@@ -25,7 +28,6 @@
|
||||
android:layout_marginStart="@dimen/margin_half"
|
||||
android:layout_marginEnd="@dimen/margin_half"
|
||||
android:layout_toStartOf="@id/delete_icon"
|
||||
android:textColorHint="?android:textColorSecondary"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/delete_icon"
|
||||
app:layout_constraintStart_toEndOf="@+id/phone_icon"
|
||||
@@ -41,7 +43,6 @@
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/delete_icon"
|
||||
style="@style/MwmWidget.Editor.MetadataIcon"
|
||||
android:layout_marginStart="@dimen/margin_half"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
@@ -49,3 +50,4 @@
|
||||
app:srcCompat="@drawable/ic_delete" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</com.google.android.material.card.MaterialCardView>
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.google.android.material.appbar.MaterialToolbar
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/toolbar"
|
||||
style="@style/MwmWidget.M3.ToolbarStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="?attr/actionBarSize" />
|
||||
@@ -8,15 +8,24 @@
|
||||
|
||||
<com.google.android.material.appbar.MaterialToolbar
|
||||
android:id="@+id/toolbar_point_chooser"
|
||||
style="@style/MwmWidget.M3.ToolbarStyle"
|
||||
style="@style/MwmWidget.ToolbarStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="end|center_vertical"
|
||||
android:theme="@style/MwmWidget.ToolbarTheme"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:title="@string/editor_add_select_location"
|
||||
app:titleMargin="@dimen/margin_half"/>
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/margin_half"
|
||||
android:text="@string/editor_add_select_location"
|
||||
android:textAppearance="@style/MwmTextAppearance.Toolbar.Title"/>
|
||||
</com.google.android.material.appbar.MaterialToolbar>
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@@ -368,15 +368,4 @@
|
||||
<item name="cornerSizeTopLeft">50%</item>
|
||||
<item name="cornerSizeTopRight">50%</item>
|
||||
</style>
|
||||
|
||||
<style name="MwmWidget.M3.ToolbarStyle" parent="Widget.Material3.Toolbar">
|
||||
<item name="android:background">?appBackground</item>
|
||||
<item name="android:displayOptions">homeAsUp|showTitle</item>
|
||||
<item name="contentInsetStart">0dp</item>
|
||||
<item name="buttonGravity">center_vertical</item>
|
||||
</style>
|
||||
|
||||
<style name="MwmTheme.M3.ToolbarTheme" parent="ThemeOverlay.Material3.Dark.ActionBar">
|
||||
<item name="android:gravity">center_vertical</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
||||
@@ -43,9 +43,10 @@
|
||||
<string name="type.leisure.adult_gaming_centre">Spielhalle für Erwachsene</string>
|
||||
<string name="type.leisure.amusement_arcade">Spielhalle für Unterhaltungsspiele</string>
|
||||
<string name="type.amenity.charging_station">Ladestation</string>
|
||||
<string name="type.amenity.charging_station.bicycle">Fahrrad-Ladestation</string>
|
||||
<string name="type.amenity.charging_station.motorcar">Kfz-Ladestation</string>
|
||||
<string name="type.amenity.charging_station.motorcar.small">Kfz-Ladestation</string>
|
||||
<string name="type.amenity.charging_station.bicycle">Fahrräder</string>
|
||||
<string name="type.amenity.charging_station.motorcycle">Motorräder</string>
|
||||
<string name="type.amenity.charging_station.motorcar">Autos</string>
|
||||
<string name="type.amenity.charging_station.small">Begrenzte Kapazität</string>
|
||||
<string name="type.amenity.childcare">Kindertagesstätte</string>
|
||||
<string name="type.amenity.cinema">Kino</string>
|
||||
<string name="type.leisure.bowling_alley">Bowlingbahn</string>
|
||||
|
||||
@@ -53,9 +53,10 @@
|
||||
<string name="type.leisure.adult_gaming_centre">Adult Gaming Centre</string>
|
||||
<string name="type.leisure.amusement_arcade">Arcade</string>
|
||||
<string name="type.amenity.charging_station">Charging Station</string>
|
||||
<string name="type.amenity.charging_station.bicycle">Bicycle Charging Station</string>
|
||||
<string name="type.amenity.charging_station.motorcar">Car Charging Station</string>
|
||||
<string name="type.amenity.charging_station.motorcar.small">Car Charging Point</string>
|
||||
<string name="type.amenity.charging_station.bicycle">Bicycles</string>
|
||||
<string name="type.amenity.charging_station.motorcycle">Motorcycles</string>
|
||||
<string name="type.amenity.charging_station.motorcar">Cars</string>
|
||||
<string name="type.amenity.charging_station.small">Limited Capacity</string>
|
||||
<string name="type.amenity.childcare">Nursery</string>
|
||||
<string name="type.amenity.cinema">Cinema</string>
|
||||
<string name="type.amenity.studio">Media Studio</string>
|
||||
|
||||
@@ -331,7 +331,9 @@
|
||||
"amenity-car_wash": "4Autowaschanlage|Autowäsche",
|
||||
"amenity-veterinary": "4Tierarzt|4Tierärztin|4Tierarztpraxis|4Tierpraxis|4Tierdoktor|5Hundearzt|5Katzenarzt|4Haustiere|U+2695",
|
||||
"@charging_station": "4Ladestation|aufladen",
|
||||
"amenity-charging_station-bicycle|@charging_station": "Fahrrad aufladen",
|
||||
"amenity-charging_station-bicycle|@charging_station": "5Fahrradladestation|Fahrrad aufladen|E-Bike aufladen|Fahrrad laden|E-Bike laden",
|
||||
"amenity-charging_station-motorcycle|@charging_station": "6Motorradladestation|Motorrad aufladen|Motorrad laden",
|
||||
"amenity-charging_station-motorcar|@charging_station": "4Autoladestation|5Autoladegerät|Auto aufladen|Auto laden",
|
||||
"amenity-childcare": "Kindertagesstätte|Kindergarten|Kinderbetreuung",
|
||||
"amenity-bicycle_parking": "6Fahrradständer",
|
||||
"amenity-waste_basket": "6Abfalleimer|4Mülleimer|4Restmüll|3Müll|4Müllkorb|U+1F6AE|U+1F5D1",
|
||||
@@ -516,7 +518,6 @@
|
||||
"attraction-amusement_ride|attraction-carousel|attraction-roller_coaster|attraction-maze|attraction-historic|attraction-big_wheel|attraction-bumper_car|@category_children": "4Attraktion|4Labyrinth",
|
||||
"building-guardhouse": "4Wache",
|
||||
"shop-lighting|@shop": "Leuchtmittel|Lampen|Leuchte",
|
||||
"amenity-charging_station-motorcar|amenity-charging_station-motorcar-small|@charging_station": "4Autoladestation|5Autoladegerät|4Ladestation|4Ladegerät|U+1F50C|U+1FAAB|U+1F50B",
|
||||
"amenity-mobile_money_agent": "6Mobile Money Vertretung|6Mobile Money|6Mobiles Geld",
|
||||
"man_made-telescope|man_made-telescope-optical|man_made-telescope-radio|man_made-telescope-gamma": "4Teleskop",
|
||||
"amenity-sailing_school": "5Segelschule|5Bootsschule|Bootsfahrschule",
|
||||
|
||||
@@ -353,10 +353,11 @@
|
||||
"man_made-observatory": "4Observatory",
|
||||
"amenity-veterinary": "4Veterinary Doctor|3Veterinary|vet|veterinarian",
|
||||
"amenity-animal_shelter": "6Animal Shelter",
|
||||
"@charging_station": "4Charging Station|charging",
|
||||
"@charging_station": "4Charging Station|charging|charger",
|
||||
"amenity-charging_station|@charging_station": "",
|
||||
"amenity-charging_station-bicycle|@charging_station": "4Bicycle Charging|4Bike Charging",
|
||||
"amenity-charging_station-motorcar|amenity-charging_station-motorcar-small|@charging_station": "4Motorcar Charging|3Car Charging|Charger",
|
||||
"amenity-charging_station-bicycle|@charging_station": "4Bicycle Charging Station|Bicycle Charging|Bike Charging",
|
||||
"amenity-charging_station-motorcycle|@charging_station": "5Motorcycle Charging Station|Motorcycle Charging|Motorbike Charging",
|
||||
"amenity-charging_station-motorcar|@charging_station": "3Car Charging Station|Motorcar Charging|Car Charging",
|
||||
"amenity-childcare": "Nursery|4Child Care|childcare",
|
||||
"amenity-bicycle_parking": "4Bicycle Parking|4Bike Parking",
|
||||
"amenity-waste_basket": "4Trash Bin|4litter bin|5waste basket|bin",
|
||||
|
||||
@@ -518,7 +518,7 @@
|
||||
"amenity-toilets|toilets-yes|@category_toilet": "wc",
|
||||
"leisure-sports_centre-sport-swimming": "4Centro de natación",
|
||||
"amenity-police|@category_police": "Estación de policía|policía",
|
||||
"amenity-charging_station-motorcar|amenity-charging_station-motorcar-small|@charging_station": "Cargador de autos|cargador de coches|cargador de carros|4Estación de carga|3Estación de carga|Cargador",
|
||||
"amenity-charging_station-motorcar|@charging_station": "Cargador de autos|cargador de coches|cargador de carros|4Estación de carga|3Estación de carga|Cargador",
|
||||
"amenity-sailing_school": "Escuela de vela|Escuela de navegación",
|
||||
"amenity-flight_school": "Escuela de aviación|Escuela de aeronáutica|Escuela de pilotos|aeronáutica|vuelo|aviación",
|
||||
"amenity-prep_school": "Propedéutico|Tutoría",
|
||||
|
||||
@@ -486,7 +486,7 @@
|
||||
"amenity-love_hotel": "Hôtel de passe|Hôtel de sexe|Hôtel pour adultes",
|
||||
"healthcare-sample_collection": "Prélèvement d'échantillons",
|
||||
"recycling-cardboard|@category_recycling": "5Recyclage de carton|Déchets de carton|Carton",
|
||||
"amenity-charging_station-motorcar|amenity-charging_station-motorcar-small|@charging_station": "Chargeur automobile|Chargeur de voiture|Chargeur",
|
||||
"amenity-charging_station-motorcar|@charging_station": "Chargeur automobile|Chargeur de voiture|Chargeur",
|
||||
"shop-lighting|@shop": "4Lumières|Luminaires|4Lampes",
|
||||
"office-security": "Bureau de sécurité",
|
||||
"building-guardhouse": "Garde|poste de sécurité|poste de gardiennage",
|
||||
|
||||
@@ -320,7 +320,7 @@
|
||||
"amenity-veterinary": "4Veterinārārsts|vetārsts|vetklīnika|veterinārā klīnika",
|
||||
"@charging_station": "4Uzlādes stacija|uzlāde",
|
||||
"amenity-charging_station-bicycle|@charging_station": "4Velosipēdu uzlāde|Riteņu uzlāde|Ričuku uzlāde|Divriteņu uzlāde",
|
||||
"amenity-charging_station-motorcar|amenity-charging_station-motorcar-small|@charging_station": "Automobiļu uzlāde|mašīnu uzlāde",
|
||||
"amenity-charging_station-motorcar|@charging_station": "Automobiļu uzlāde|mašīnu uzlāde",
|
||||
"amenity-childcare": "Bērnistaba",
|
||||
"amenity-bicycle_parking": "4Velonovietne",
|
||||
"amenity-waste_basket": "Atkritumu tvertne|4miskaste",
|
||||
|
||||
@@ -330,7 +330,7 @@
|
||||
"amenity-animal_shelter": "Приют для животных",
|
||||
"@charging_station": "4Зарядная станция|зарядка|электрозарядка|зарядить",
|
||||
"amenity-charging_station-bicycle|@charging_station": "4Велозарядка|Зарядка для велосипедов",
|
||||
"amenity-charging_station-motorcar|amenity-charging_station-motorcar-small|@charging_station": "4Автозарядка",
|
||||
"amenity-charging_station-motorcar|@charging_station": "4Автозарядка",
|
||||
"amenity-childcare": "Детская комната|3ясли",
|
||||
"amenity-bicycle_parking": "4Велопарковка|велостоянка",
|
||||
"amenity-waste_basket": "3Урна|4Мусорная корзина",
|
||||
|
||||
@@ -331,7 +331,7 @@
|
||||
"amenity-veterinary": "4Veteriner",
|
||||
"@charging_station": "Şarj İstasyonu|şarj etme",
|
||||
"amenity-charging_station-bicycle|@charging_station": "4Bisiklet Şarjı",
|
||||
"amenity-charging_station-motorcar|amenity-charging_station-motorcar-small|@charging_station": "4Otomobil Şarj Cihazı|4Araba Şarj Cihazı|4Araç Şarj Cihazı|3Trugo|4TOGG Şarj",
|
||||
"amenity-charging_station-motorcar|@charging_station": "4Otomobil Şarj Cihazı|4Araba Şarj Cihazı|4Araç Şarj Cihazı|3Trugo|4TOGG Şarj",
|
||||
"amenity-childcare": "Çocuk Yuvası|Kreş",
|
||||
"amenity-bicycle_parking": "4Bisiklet park etme|bisiklet park",
|
||||
"amenity-waste_basket": "Çöp Kutusu",
|
||||
|
||||
@@ -302,7 +302,7 @@ railway|crossing;197;
|
||||
boundary|national_park;198;
|
||||
deprecated:natural|wood|deciduous:01.2020;[natural=wood][wood=deciduous],[natural=wood][leaf_type=deciduous],[natural=wood][leaf_cycle=deciduous];x;name;int_name;199;landuse|forest|deciduous
|
||||
waterway|dam;200;
|
||||
amenity|charging_station|motorcar|small;[amenity=charging_station][motorcar?][!capacity],[amenity=charging_station][motorcar?][capacity=1],[amenity=charging_station][motorcar?][capacity=2];;name;int_name;201;
|
||||
amenity|charging_station|small;[amenity=charging_station][motorcar?][!capacity],[amenity=charging_station][motorcar?][capacity=1],[amenity=charging_station][motorcar?][capacity=2],[amenity=charging_station][!capacity],[amenity=charging_station][capacity=1],[amenity=charging_station][capacity=2],;;name;int_name;201;
|
||||
leisure|golf_course;202;
|
||||
highway|service|bridge;[highway=service][bridge?];;name;int_name;203;
|
||||
# ~250K usages.
|
||||
@@ -406,12 +406,12 @@ highway|secondary|tunnel;[highway=secondary][tunnel?];;name;int_name;297;
|
||||
# TODO: its a mismapping likely, if there is a bridge structure still, then it should be railway=disused.
|
||||
railway|abandoned|bridge;[railway=abandoned][bridge?];;name;int_name;298;
|
||||
man_made|lighthouse;299;
|
||||
deprecated:highway|path|demanding_mountain_hiking:04.2024;[highway=path][sac_scale=demanding_mountain_hiking];x;name;int_name;300;highway|path|difficult
|
||||
amenity|charging_station|motorcycle;[amenity=charging_station][motorcycle?];;name;int_name;300;
|
||||
man_made|storage_tank;301;
|
||||
man_made|silo;302;
|
||||
power|generator;303;
|
||||
highway|pedestrian|bridge;[highway=pedestrian][bridge?];;name;int_name;304;
|
||||
amenity|charging_station|motorcar;[amenity=charging_station][motorcar?][capacity?];;name;int_name;305;
|
||||
amenity|charging_station|motorcar;[amenity=charging_station][motorcar?][capacity?],[amenity=charging_station][motorcar?];;name;int_name;305;
|
||||
natural|saddle;306;
|
||||
mountain_pass;[mountain_pass];;name;int_name;307;
|
||||
highway|raceway;308;
|
||||
@@ -420,7 +420,7 @@ highway|primary_link|bridge;[highway=primary_link][bridge?];;name;int_name;310;
|
||||
man_made|tower|communication;[man_made=tower][tower:type=communication];;name;int_name;311;
|
||||
sport|equestrian;312;
|
||||
tourism|information|office;[tourism=information][information=office];;name;int_name;313;
|
||||
deprecated:highway|footway|hiking:04.2024;[highway=footway][sac_scale=hiking];x;name;int_name;314;highway|path
|
||||
amenity|charging_station|carless;[amenity=charging_station][motorcar=not],[amenity=charging_station][motorcar=no];;name;int_name;314;
|
||||
aeroway|gate;315;
|
||||
# TODO: railway=preserved is deprecated in OSM, recommended mapping is railway:preserved=yes + railway=*
|
||||
railway|preserved;316;
|
||||
@@ -1193,7 +1193,7 @@ shop|tyres;1064;
|
||||
craft|beekeeper;1065;
|
||||
amenity|car_wash;1066;
|
||||
amenity|veterinary;1067;
|
||||
amenity|charging_station;1068;
|
||||
amenity|charging_station;[amenity=charging_station];;name;int_name;1068;
|
||||
amenity|childcare;1069;
|
||||
craft|blacksmith;1070;
|
||||
amenity|bicycle_parking;1071;
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 7 and column 16.
|
108
data/sound-strings/ta.json/localize.json
Normal file
@@ -0,0 +1,108 @@
|
||||
{
|
||||
"make_a_slight_right_turn":"லேசாக வலதுபுறம் திரும்புங்கள்.",
|
||||
"make_a_slight_right_turn_street":"NULL",
|
||||
"make_a_slight_right_turn_street_verb":"NULL",
|
||||
"make_a_right_turn":"வலதுபுறமாக திரும்புங்கள்.",
|
||||
"make_a_right_turn_street":"NULL",
|
||||
"make_a_sharp_right_turn":"கூர்மையாக வலதுபுறம் திரும்புங்கள்.",
|
||||
"make_a_sharp_right_turn_street":"NULL",
|
||||
"enter_the_roundabout":"ரவுண்டபௌட்டை நுழையுங்கள்.",
|
||||
"enter_the_roundabout_street":"NULL",
|
||||
"enter_the_roundabout_street_verb":"NULL",
|
||||
"leave_the_roundabout":"ரவுண்டபௌட்டை வெளியேறுங்கள்.",
|
||||
"leave_the_roundabout_street":"NULL",
|
||||
"leave_the_roundabout_street_verb":"NULL",
|
||||
"make_a_slight_left_turn":"லேசாக இடதுபுறம் திரும்புங்கள்.",
|
||||
"make_a_slight_left_turn_street":"NULL",
|
||||
"make_a_slight_left_turn_street_verb":"NULL",
|
||||
"make_a_left_turn":"இடதுபுறமாக திரும்புங்கள்.",
|
||||
"make_a_left_turn_street":"NULL",
|
||||
"make_a_sharp_left_turn":"கூர்மையாக இடதுபுறம் திரும்புங்கள்.",
|
||||
"make_a_sharp_left_turn_street":"NULL",
|
||||
"make_a_u_turn":"U-வழியில் திரும்புங்கள்.",
|
||||
"make_a_u_turn_street":"NULL",
|
||||
"make_a_u_turn_street_verb":"NULL",
|
||||
"go_straight":"நேரா போங்க.",
|
||||
"exit":"வெளியேறுங்கள்.",
|
||||
"onto":"நோக்கி",
|
||||
"take_exit_number":"வெளியேறும் வழி எடுங்கள்",
|
||||
"take_exit_number_street_verb":"NULL",
|
||||
"route_recalculating":"வழி மறுபடி கணிக்கிறது",
|
||||
"destination":"நீங்கள் வருவீர்கள்.",
|
||||
"you_have_reached_the_destination":"நீங்கள் வந்துவிட்டீர்கள்..",
|
||||
"in_50_meters":"ஐம்பது மீட்டரில்",
|
||||
"in_100_meters":"நூறு மீட்டரில்",
|
||||
"in_200_meters":"இருநூறு மீட்டரில்",
|
||||
"in_250_meters":"இருநூற்று ஐம்பது மீட்டரில்",
|
||||
"in_300_meters":"முன்னூறு மீட்டரில்",
|
||||
"in_400_meters":"நானூறு மீட்டரில்",
|
||||
"in_500_meters":"ஐநூறு மீட்டரில்",
|
||||
"in_600_meters":"அறுநூறு மீட்டரில்",
|
||||
"in_700_meters":"எழுநூறு மீட்டரில்",
|
||||
"in_750_meters":"எழுநூறு ஐம்பது மீட்டரில்",
|
||||
"in_800_meters":"எண்ணூறு மீட்டரில்",
|
||||
"in_900_meters":"தொள்ளாயிரம் மீட்டரில்",
|
||||
"in_1_kilometer":"ஒரு கிலோமீட்டரில்",
|
||||
"in_1_5_kilometers":"ஒன்றரை கிலோமீட்டரில்",
|
||||
"in_2_kilometers":"இரண்டு கிலோமீட்டரில்",
|
||||
"in_2_5_kilometers":"இரண்டரை கிலோமீட்டரில்",
|
||||
"in_3_kilometers":"மூன்று கிலோமீட்டரில்",
|
||||
"then":"அடுத்தது",
|
||||
"dist_direction_onto_street":"%1$s %4$s %3$s %5$s %2$s",
|
||||
"take_the_1_exit":"ஒன்றாம் வெளியேறும் வழி எடுங்கள்.",
|
||||
"take_the_1_exit_street":"NULL",
|
||||
"take_the_1_exit_street_verb":"NULL",
|
||||
"take_the_2_exit":"இரண்டாம் வெளியேறும் வழி எடுங்கள்.",
|
||||
"take_the_2_exit_street":"NULL",
|
||||
"take_the_2_exit_street_verb":"NULL",
|
||||
"take_the_3_exit":"மூன்றாம் வெளியேறும் வழி எடுங்கள்.",
|
||||
"take_the_3_exit_street":"NULL",
|
||||
"take_the_3_exit_street_verb":"NULL",
|
||||
"take_the_4_exit":"நான்காவது வெளியேறும் வழி எடுங்கள்.",
|
||||
"take_the_4_exit_street":"NULL",
|
||||
"take_the_4_exit_street_verb":"NULL",
|
||||
"take_the_5_exit":"ஐந்தாவது வெளியேறும் வழி எடுங்கள்.",
|
||||
"take_the_5_exit_street":"NULL",
|
||||
"take_the_5_exit_street_verb":"NULL",
|
||||
"take_the_6_exit":"ஆறாவது வெளியேறும் வழி எடுங்கள்.",
|
||||
"take_the_6_exit_street":"NULL",
|
||||
"take_the_6_exit_street_verb":"NULL",
|
||||
"take_the_7_exit":"ஏழாவது வெளியேறும் வழி எடுங்கள்.",
|
||||
"take_the_7_exit_street":"NULL",
|
||||
"take_the_7_exit_street_verb":"NULL",
|
||||
"take_the_8_exit":"எட்டாவது வெளியேறும் வழி எடுங்கள்.",
|
||||
"take_the_8_exit_street":"NULL",
|
||||
"take_the_8_exit_street_verb":"NULL",
|
||||
"take_the_9_exit":"ஒன்பதாவது வெளியேறும் வழி எடுங்கள்.",
|
||||
"take_the_9_exit_street":"NULL",
|
||||
"take_the_9_exit_street_verb":"NULL",
|
||||
"take_the_10_exit":"பத்தாவது வெளியேறும் வழி எடுங்கள்.",
|
||||
"take_the_10_exit_street":"NULL",
|
||||
"take_the_10_exit_street_verb":"NULL",
|
||||
"take_the_11_exit":"பதினொன்றாவது வெளியேறும் வழி எடுங்கள்.",
|
||||
"take_the_11_exit_street":"NULL",
|
||||
"take_the_11_exit_street_verb":"NULL",
|
||||
"in_50_feet":"ஐம்பது அடியில்",
|
||||
"in_100_feet":"நூறு அடியில்",
|
||||
"in_200_feet":"இருநூறு அடியில்",
|
||||
"in_300_feet":"முன்னூறு அடியில்",
|
||||
"in_400_feet":"நானூறு அடியில்",
|
||||
"in_500_feet":"ஐநூறு அடியில்",
|
||||
"in_600_feet":"அறுநூறு அடியில்",
|
||||
"in_700_feet":"எழுநூறு அடியில்",
|
||||
"in_800_feet":"எண்ணூறு அடியில்",
|
||||
"in_900_feet":"தொள்ளாயிரம் அடியில்",
|
||||
"in_1000_feet":"ஆயிரம் அடியில்",
|
||||
"in_1500_feet":"ஆயிரம் ஐநூறு அடியில்",
|
||||
"in_2000_feet":"இரண்டு ஆயிரம் அடியில்",
|
||||
"in_2500_feet":"இரண்டு ஆயிரம் ஐநூறு அடியில்",
|
||||
"in_3000_feet":"மூன்று ஆயிரம் அடியில்",
|
||||
"in_3500_feet":"மூன்று ஆயிரம் ஐநூறு அடியில்",
|
||||
"in_4000_feet":"நான்கு ஆயிரம் அடியில்",
|
||||
"in_4500_feet":"நான்கு ஆயிரம் ஐநூறு அடியில்",
|
||||
"in_5000_feet":"ஐந்து ஆயிரம் அடியில்",
|
||||
"in_1_mile":"ஒன்று மைலில்",
|
||||
"in_1_5_miles":"ஒன்றரை மைலில்",
|
||||
"in_2_miles":"இரண்டு மைலில்",
|
||||
"unknown_camera":"கேமரா முன்னால் இருக்கிறது"
|
||||
}
|
||||
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
@@ -559,8 +559,9 @@ area|z15-[amenity=marketplace],
|
||||
area|z15-[office=diplomatic],
|
||||
area|z15-[amenity=vehicle_inspection],
|
||||
area|z15-[amenity=car_wash],
|
||||
area|z15-[amenity=charging_station][motorcar?],
|
||||
area|z15-[amenity=fuel],
|
||||
area|z15-[amenity=charging_station][motorcar?],
|
||||
area|z16-[amenity=charging_station],
|
||||
area|z15-[amenity=motorcycle_parking],
|
||||
area|z15-[amenity=bicycle_parking],
|
||||
{fill-opacity: 1; fill-color: @general_area;}
|
||||
|
||||
@@ -2398,18 +2398,28 @@ node|z17-[amenity=fuel],
|
||||
node|z18-[amenity=fuel],
|
||||
{font-size: 11;}
|
||||
|
||||
node|z15-[amenity=charging_station][motorcar?],
|
||||
node|z16-[amenity=charging_station][motorcycle?],
|
||||
node|z16-[amenity=charging_station][bicycle?],
|
||||
node|z16-[amenity=charging_station][motorcar=not],
|
||||
node|z16-[amenity=charging_station],
|
||||
{icon-image: charging_station-small-m.svg;}
|
||||
|
||||
node|z14[amenity=charging_station][motorcar?][capacity?],
|
||||
{icon-image: charging_station-s.svg;}
|
||||
node|z15-[amenity=charging_station][motorcar?][capacity?],
|
||||
{icon-image: charging_station-m.svg;}
|
||||
|
||||
node|z14[amenity=charging_station][motorcar?][!capacity],
|
||||
node|z14[amenity=charging_station][motorcar?][capacity=1],
|
||||
node|z14[amenity=charging_station][motorcar?][capacity=2],
|
||||
{icon-image: none;}
|
||||
node|z15-[amenity=charging_station][motorcar?][!capacity],
|
||||
node|z15-[amenity=charging_station][motorcar?][capacity=1],
|
||||
node|z15-[amenity=charging_station][motorcar?][capacity=2],
|
||||
node|z16-[amenity=charging_station],
|
||||
{icon-image: charging-point-m.svg;}
|
||||
{icon-image: charging_station-small-m.svg;}
|
||||
|
||||
node|z14[amenity=charging_station][motorcar?][capacity?],
|
||||
{icon-image: charging-station-s.svg;}
|
||||
node|z15-[amenity=charging_station][motorcar?][capacity?],
|
||||
{icon-image: charging-station-m.svg;}
|
||||
|
||||
node|z14[amenity=charging_station][motorcar?][capacity?],
|
||||
node|z14[amenity=charging_station][motorcar?],
|
||||
{text-offset: 1;font-size: 10;icon-min-distance: 20;}
|
||||
node|z15[amenity=charging_station][motorcar?],
|
||||
{icon-min-distance: 20;}
|
||||
|
||||
@@ -70,8 +70,16 @@ node[amenity=arts_centre],
|
||||
node[amenity=community_centre],
|
||||
node[amenity=conference_centre],
|
||||
node[amenity=exhibition_centre],
|
||||
node[amenity=place_of_worship]
|
||||
node[amenity=place_of_worship],
|
||||
node[amenity=social_facility],
|
||||
node[historic=castle][castle_type=castrum],
|
||||
node[historic=castle][castle_type=defensive],
|
||||
node[historic=castle][castle_type=fortified_church],
|
||||
node[historic=castle][castle_type=fortress],
|
||||
node[historic=castle][castle_type=hillfort],
|
||||
node[historic=castle][castle_type=kremlin],
|
||||
node[historic=castle][castle_type=shiro],
|
||||
node[historic=fortress],
|
||||
node[historic=ship],
|
||||
node[leisure=hackerspace],
|
||||
node[social_facility],
|
||||
|
||||
@@ -85,8 +85,12 @@ landuse-cemetery-christian # area z10- (also has icon z
|
||||
=== 180
|
||||
|
||||
amenity-car_wash # area z15- (also has icon z17-, caption(optional) z17-)
|
||||
amenity-charging_station # area z16- (also has icon z16-, caption(optional) z16-)
|
||||
amenity-charging_station-bicycle # area z16- (also has icon z16-, caption(optional) z16-)
|
||||
amenity-charging_station-carless # area z16- (also has icon z16-, caption(optional) z16-)
|
||||
amenity-charging_station-motorcar # area z15- (also has icon z14-, caption(optional) z14-)
|
||||
amenity-charging_station-motorcar-small # area z15- (also has icon z16-, caption(optional) z16-)
|
||||
amenity-charging_station-motorcycle # area z16- (also has icon z16-, caption(optional) z16-)
|
||||
amenity-charging_station-small # area z15- (also has icon z15-, caption(optional) z16-)
|
||||
amenity-courthouse # area z15- (also has icon z17-, caption(optional) z17-)
|
||||
amenity-fire_station # area z15- (also has icon z16-, caption(optional) z17-)
|
||||
amenity-fuel # area z15- (also has icon z14-, caption(optional) z14-)
|
||||
|
||||
@@ -374,13 +374,13 @@ tourism-attraction # icon z14- (also has captio
|
||||
tourism-gallery # icon z15- (also has caption(optional) z15-)
|
||||
=== 4300
|
||||
|
||||
amenity-charging_station-small # icon z15- (also has caption(optional) z16-, area z15-)
|
||||
=== 4280
|
||||
|
||||
amenity-charging_station-motorcar # icon z14- (also has caption(optional) z14-, area z15-)
|
||||
amenity-fuel # icon z14- (also has caption(optional) z14-, area z15-)
|
||||
=== 4270
|
||||
|
||||
amenity-charging_station-motorcar-small # icon z16- (also has caption(optional) z16-, area z15-)
|
||||
=== 4260
|
||||
|
||||
highway-services # icon z14- (also has caption(optional) z14-, area z13-)
|
||||
=== 4250
|
||||
|
||||
@@ -424,13 +424,23 @@ highway-rest_area # icon z15- (also has captio
|
||||
tourism-camp_site # icon z16- (also has caption(optional) z16-, area z13-)
|
||||
tourism-caravan_site # icon z16- (also has caption(optional) z16-)
|
||||
tourism-chalet # icon z16- (also has caption(optional) z16-)
|
||||
=== 3850
|
||||
|
||||
shop-car_repair-tyres # icon z15- (also has caption(optional) z15-)
|
||||
=== 3800
|
||||
|
||||
amenity-charging_station # icon z16- (also has caption(optional) z16-)
|
||||
amenity-charging_station-bicycle # icon z16- (also has caption(optional) z16-)
|
||||
shop-car_repair-tyres # icon z15- (also has caption(optional) z15-)
|
||||
amenity-charging_station-motorcycle # icon z16- (also has caption(optional) z16-, area z16-)
|
||||
=== 3752
|
||||
|
||||
amenity-charging_station-bicycle # icon z16- (also has caption(optional) z16-, area z16-)
|
||||
=== 3751
|
||||
|
||||
amenity-charging_station # icon z16- (also has caption(optional) z16-, area z16-)
|
||||
=== 3750
|
||||
|
||||
amenity-charging_station-carless # icon z16- (also has caption(optional) z16-, area z16-)
|
||||
=== 3749
|
||||
|
||||
railway-subway_entrance # icon z16- (also has caption(optional) z17-)
|
||||
railway-subway_entrance-adana # icon z16- (also has caption(optional) z17-)
|
||||
railway-subway_entrance-algiers # icon z16- (also has caption(optional) z17-)
|
||||
@@ -1641,13 +1651,13 @@ leisure-swimming_pool-private # icon z17- (also has captio
|
||||
# tourism-gallery # caption(optional) z15- (also has icon z15-)
|
||||
# === -5700
|
||||
|
||||
# amenity-charging_station-small # caption(optional) z16- (also has icon z15-, area z15-)
|
||||
# === -5720
|
||||
|
||||
# amenity-charging_station-motorcar # caption(optional) z14- (also has icon z14-, area z15-)
|
||||
# amenity-fuel # caption(optional) z14- (also has icon z14-, area z15-)
|
||||
# === -5730
|
||||
|
||||
# amenity-charging_station-motorcar-small # caption(optional) z16- (also has icon z16-, area z15-)
|
||||
# === -5740
|
||||
|
||||
# highway-services # caption(optional) z14- (also has icon z14-, area z13-)
|
||||
# === -5750
|
||||
|
||||
@@ -1691,13 +1701,23 @@ leisure-swimming_pool-private # icon z17- (also has captio
|
||||
# tourism-camp_site # caption(optional) z16- (also has icon z16-, area z13-)
|
||||
# tourism-caravan_site # caption(optional) z16- (also has icon z16-)
|
||||
# tourism-chalet # caption(optional) z16- (also has icon z16-)
|
||||
# === -6150
|
||||
|
||||
# shop-car_repair-tyres # caption(optional) z15- (also has icon z15-)
|
||||
# === -6200
|
||||
|
||||
# amenity-charging_station # caption(optional) z16- (also has icon z16-)
|
||||
# amenity-charging_station-bicycle # caption(optional) z16- (also has icon z16-)
|
||||
# shop-car_repair-tyres # caption(optional) z15- (also has icon z15-)
|
||||
# amenity-charging_station-motorcycle # caption(optional) z16- (also has icon z16-, area z16-)
|
||||
# === -6248
|
||||
|
||||
# amenity-charging_station-bicycle # caption(optional) z16- (also has icon z16-, area z16-)
|
||||
# === -6249
|
||||
|
||||
# amenity-charging_station # caption(optional) z16- (also has icon z16-, area z16-)
|
||||
# === -6250
|
||||
|
||||
# amenity-charging_station-carless # caption(optional) z16- (also has icon z16-, area z16-)
|
||||
# === -6251
|
||||
|
||||
# railway-subway_entrance # caption(optional) z17- (also has icon z16-)
|
||||
# railway-subway_entrance-adana # caption(optional) z17- (also has icon z16-)
|
||||
# railway-subway_entrance-algiers # caption(optional) z17- (also has icon z16-)
|
||||
|
||||
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
@@ -78,6 +78,7 @@ leisure-sports_centre-sport-volleyball # area z13- (also has icon z
|
||||
leisure-sports_centre-sport-yoga # area z13- (also has icon z16-, caption(optional) z16-)
|
||||
=== 190
|
||||
|
||||
amenity-courthouse # area z15- (also has icon z17-, caption(optional) z17-)
|
||||
amenity-grave_yard # area z10- (also has icon z17-, caption(optional) z17-)
|
||||
amenity-grave_yard-christian # area z10- (also has icon z17-, caption(optional) z17-)
|
||||
landuse-cemetery # area z10- (also has icon z14-, caption(optional) z15-)
|
||||
@@ -85,9 +86,12 @@ landuse-cemetery-christian # area z10- (also has icon z
|
||||
=== 180
|
||||
|
||||
amenity-car_wash # area z15- (also has icon z17-, caption(optional) z17-)
|
||||
amenity-charging_station # area z16- (also has icon z16-, caption(optional) z16-)
|
||||
amenity-charging_station-bicycle # area z16- (also has icon z16-, caption(optional) z16-)
|
||||
amenity-charging_station-carless # area z16- (also has icon z16-, caption(optional) z16-)
|
||||
amenity-charging_station-motorcar # area z15- (also has icon z14-, caption(optional) z14-)
|
||||
amenity-charging_station-motorcar-small # area z15- (also has icon z16-, caption(optional) z16-)
|
||||
amenity-courthouse # area z15- (also has icon z17-, caption(optional) z17-)
|
||||
amenity-charging_station-motorcycle # area z16- (also has icon z16-, caption(optional) z16-)
|
||||
amenity-charging_station-small # area z15- (also has icon z15-, caption(optional) z16-)
|
||||
amenity-fire_station # area z15- (also has icon z16-, caption(optional) z17-)
|
||||
amenity-fuel # area z15- (also has icon z14-, caption(optional) z14-)
|
||||
amenity-marketplace # area z15- (also has icon z16-, caption(optional) z16-)
|
||||
|
||||
@@ -374,13 +374,13 @@ tourism-attraction # icon z14- (also has captio
|
||||
tourism-gallery # icon z15- (also has caption(optional) z15-)
|
||||
=== 4300
|
||||
|
||||
amenity-charging_station-small # icon z15- (also has caption(optional) z16-, area z15-)
|
||||
=== 4280
|
||||
|
||||
amenity-charging_station-motorcar # icon z14- (also has caption(optional) z14-, area z15-)
|
||||
amenity-fuel # icon z14- (also has caption(optional) z14-, area z15-)
|
||||
=== 4270
|
||||
|
||||
amenity-charging_station-motorcar-small # icon z16- (also has caption(optional) z16-, area z15-)
|
||||
=== 4260
|
||||
|
||||
highway-services # icon z14- (also has caption(optional) z14-, area z13-)
|
||||
=== 4250
|
||||
|
||||
@@ -424,13 +424,23 @@ highway-rest_area # icon z14- (also has captio
|
||||
tourism-camp_site # icon z13- (also has caption(optional) z13-, area z13-)
|
||||
tourism-caravan_site # icon z13- (also has caption(optional) z13-)
|
||||
tourism-chalet # icon z14- (also has caption(optional) z14-)
|
||||
=== 3850
|
||||
|
||||
shop-car_repair-tyres # icon z15- (also has caption(optional) z15-)
|
||||
=== 3800
|
||||
|
||||
amenity-charging_station # icon z16- (also has caption(optional) z16-)
|
||||
amenity-charging_station-bicycle # icon z16- (also has caption(optional) z16-)
|
||||
shop-car_repair-tyres # icon z15- (also has caption(optional) z15-)
|
||||
amenity-charging_station-motorcycle # icon z16- (also has caption(optional) z16-, area z16-)
|
||||
=== 3752
|
||||
|
||||
amenity-charging_station-bicycle # icon z16- (also has caption(optional) z16-, area z16-)
|
||||
=== 3751
|
||||
|
||||
amenity-charging_station # icon z16- (also has caption(optional) z16-, area z16-)
|
||||
=== 3750
|
||||
|
||||
amenity-charging_station-carless # icon z16- (also has caption(optional) z16-, area z16-)
|
||||
=== 3749
|
||||
|
||||
railway-subway_entrance # icon z16- (also has caption(optional) z17-)
|
||||
railway-subway_entrance-adana # icon z16- (also has caption(optional) z17-)
|
||||
railway-subway_entrance-algiers # icon z16- (also has caption(optional) z17-)
|
||||
@@ -1644,13 +1654,13 @@ leisure-swimming_pool-private # icon z17- (also has captio
|
||||
# tourism-gallery # caption(optional) z15- (also has icon z15-)
|
||||
# === -5700
|
||||
|
||||
# amenity-charging_station-small # caption(optional) z16- (also has icon z15-, area z15-)
|
||||
# === -5720
|
||||
|
||||
# amenity-charging_station-motorcar # caption(optional) z14- (also has icon z14-, area z15-)
|
||||
# amenity-fuel # caption(optional) z14- (also has icon z14-, area z15-)
|
||||
# === -5730
|
||||
|
||||
# amenity-charging_station-motorcar-small # caption(optional) z16- (also has icon z16-, area z15-)
|
||||
# === -5740
|
||||
|
||||
# highway-services # caption(optional) z14- (also has icon z14-, area z13-)
|
||||
# === -5750
|
||||
|
||||
@@ -1694,13 +1704,23 @@ leisure-swimming_pool-private # icon z17- (also has captio
|
||||
# tourism-camp_site # caption(optional) z13- (also has icon z13-, area z13-)
|
||||
# tourism-caravan_site # caption(optional) z13- (also has icon z13-)
|
||||
# tourism-chalet # caption(optional) z14- (also has icon z14-)
|
||||
# === -6150
|
||||
|
||||
# shop-car_repair-tyres # caption(optional) z15- (also has icon z15-)
|
||||
# === -6200
|
||||
|
||||
# amenity-charging_station # caption(optional) z16- (also has icon z16-)
|
||||
# amenity-charging_station-bicycle # caption(optional) z16- (also has icon z16-)
|
||||
# shop-car_repair-tyres # caption(optional) z15- (also has icon z15-)
|
||||
# amenity-charging_station-motorcycle # caption(optional) z16- (also has icon z16-, area z16-)
|
||||
# === -6248
|
||||
|
||||
# amenity-charging_station-bicycle # caption(optional) z16- (also has icon z16-, area z16-)
|
||||
# === -6249
|
||||
|
||||
# amenity-charging_station # caption(optional) z16- (also has icon z16-, area z16-)
|
||||
# === -6250
|
||||
|
||||
# amenity-charging_station-carless # caption(optional) z16- (also has icon z16-, area z16-)
|
||||
# === -6251
|
||||
|
||||
# railway-subway_entrance # caption(optional) z17- (also has icon z16-)
|
||||
# railway-subway_entrance-adana # caption(optional) z17- (also has icon z16-)
|
||||
# railway-subway_entrance-algiers # caption(optional) z17- (also has icon z16-)
|
||||
|
||||
@@ -350,8 +350,9 @@ area|z13-[highway=services],
|
||||
area|z13-[highway=rest_area],
|
||||
area|z13-[landuse=garages],
|
||||
|
||||
area|z15-[amenity=charging_station][motorcar?],
|
||||
area|z15-[amenity=fuel],
|
||||
area|z15-[amenity=charging_station][motorcar?],
|
||||
area|z16-[amenity=charging_station],
|
||||
area|z17-[amenity=vehicle_inspection],
|
||||
area|z17-[amenity=car_wash],
|
||||
area|z17-[amenity=motorcycle_parking],
|
||||
|
||||
@@ -626,16 +626,28 @@ node|z17[amenity=fuel],
|
||||
node|z18-[amenity=fuel],
|
||||
{icon-image: fuel-m.svg;font-size: 14.5;}
|
||||
|
||||
node|z14-[amenity=charging_station][motorcar?][!capacity],
|
||||
node|z14-[amenity=charging_station][motorcar?][capacity=1],
|
||||
node|z14-[amenity=charging_station][motorcar?][capacity=2],
|
||||
node|z15-[amenity=charging_station][motorcar?],
|
||||
node|z16-[amenity=charging_station][motorcycle?],
|
||||
node|z16-[amenity=charging_station][bicycle?],
|
||||
node|z16-[amenity=charging_station][motorcar=not],
|
||||
node|z16-[amenity=charging_station],
|
||||
{icon-image: charging-point-m.svg;}
|
||||
|
||||
node|z14-[amenity=charging_station][motorcar?][capacity?],
|
||||
{icon-image: charging-station-m.svg;}
|
||||
{icon-image: charging_station-small-m.svg;}
|
||||
|
||||
node|z14[amenity=charging_station][motorcar?][capacity?],
|
||||
{icon-image: charging_station-s.svg;}
|
||||
node|z15-[amenity=charging_station][motorcar?][capacity?],
|
||||
{icon-image: charging_station-m.svg;}
|
||||
|
||||
node|z14[amenity=charging_station][motorcar?][!capacity],
|
||||
node|z14[amenity=charging_station][motorcar?][capacity=1],
|
||||
node|z14[amenity=charging_station][motorcar?][capacity=2],
|
||||
{icon-image: none;}
|
||||
node|z15-[amenity=charging_station][motorcar?][!capacity],
|
||||
node|z15-[amenity=charging_station][motorcar?][capacity=1],
|
||||
node|z15-[amenity=charging_station][motorcar?][capacity=2],
|
||||
{icon-image: charging_station-small-m.svg;}
|
||||
|
||||
node|z14[amenity=charging_station][motorcar?],
|
||||
{text-offset: 1;font-size: 12.25;icon-min-distance: 20;}
|
||||
node|z15[amenity=charging_station][motorcar?],
|
||||
{icon-min-distance: 20;font-size: 12.5;}
|
||||
|
||||
@@ -33,8 +33,12 @@ amenity-parking-street_side-private # area z15- (also has icon z
|
||||
=== 160
|
||||
|
||||
amenity-car_wash # area z17- (also has icon z17-, caption(optional) z17-)
|
||||
amenity-charging_station # area z16- (also has icon z16-, caption(optional) z16-)
|
||||
amenity-charging_station-bicycle # area z16- (also has icon z16-, caption(optional) z16-)
|
||||
amenity-charging_station-carless # area z16- (also has icon z16-, caption(optional) z16-)
|
||||
amenity-charging_station-motorcar # area z15- (also has icon z14-, caption(optional) z14-)
|
||||
amenity-charging_station-motorcar-small # area z15- (also has icon z16-, caption(optional) z16-)
|
||||
amenity-charging_station-motorcycle # area z16- (also has icon z16-, caption(optional) z16-)
|
||||
amenity-charging_station-small # area z15- (also has icon z15-, caption(optional) z16-)
|
||||
amenity-fuel # area z15- (also has icon z12-, caption(optional) z12-)
|
||||
amenity-vehicle_inspection # area z17- (also has icon z17-)
|
||||
highway-rest_area # area z13- (also has icon z14-, caption(optional) z14-)
|
||||
|
||||
@@ -170,17 +170,28 @@ aeroway-aerodrome-international # icon z7- (also has caption
|
||||
place-town # caption z8-
|
||||
=== 3250
|
||||
|
||||
amenity-charging_station-small # icon z15- (also has caption(optional) z16-, area z15-)
|
||||
=== 3210
|
||||
|
||||
amenity-charging_station-motorcar # icon z14- (also has caption(optional) z14-, area z15-)
|
||||
amenity-fuel # icon z12- (also has caption(optional) z12-, area z15-)
|
||||
=== 3200
|
||||
|
||||
amenity-charging_station-motorcar-small # icon z16- (also has caption(optional) z16-, area z15-)
|
||||
=== 3190
|
||||
|
||||
amenity-charging_station # icon z16- (also has caption(optional) z16-)
|
||||
amenity-vending_machine-fuel # icon z17- (also has caption(optional) z17-)
|
||||
=== 3153
|
||||
|
||||
amenity-charging_station-motorcycle # icon z16- (also has caption(optional) z16-, area z16-)
|
||||
=== 3152
|
||||
|
||||
amenity-charging_station-bicycle # icon z16- (also has caption(optional) z16-, area z16-)
|
||||
=== 3151
|
||||
|
||||
amenity-charging_station # icon z16- (also has caption(optional) z16-, area z16-)
|
||||
=== 3150
|
||||
|
||||
amenity-charging_station-carless # icon z16- (also has caption(optional) z16-, area z16-)
|
||||
=== 3149
|
||||
|
||||
railway-station-subway-moscow # icon z11-15 (also has caption(optional) z15)
|
||||
railway-station-subway-spb # icon z11-16 (also has caption(optional) z15-16)
|
||||
=== 3100
|
||||
@@ -528,9 +539,6 @@ natural-beach-gravel # caption z15- (also has are
|
||||
natural-beach-sand # caption z15- (also has area z10-)
|
||||
=== 900
|
||||
|
||||
amenity-charging_station-bicycle # icon z16- (also has caption(optional) z16-)
|
||||
=== 850
|
||||
|
||||
historic-boundary_stone # icon z16- (also has caption(optional) z16-)
|
||||
historic-gallows # icon z16- (also has caption(optional) z16-)
|
||||
historic-pillory # icon z16- (also has caption(optional) z16-)
|
||||
@@ -784,17 +792,28 @@ entrance-emergency # icon z19- (also has captio
|
||||
# aeroway-aerodrome-international # caption(optional) z10- (also has icon z7-, area z10-)
|
||||
# === -6700
|
||||
|
||||
# amenity-charging_station-small # caption(optional) z16- (also has icon z15-, area z15-)
|
||||
# === -6790
|
||||
|
||||
# amenity-charging_station-motorcar # caption(optional) z14- (also has icon z14-, area z15-)
|
||||
# amenity-fuel # caption(optional) z12- (also has icon z12-, area z15-)
|
||||
# === -6800
|
||||
|
||||
# amenity-charging_station-motorcar-small # caption(optional) z16- (also has icon z16-, area z15-)
|
||||
# === -6810
|
||||
|
||||
# amenity-charging_station # caption(optional) z16- (also has icon z16-)
|
||||
# amenity-vending_machine-fuel # caption(optional) z17- (also has icon z17-)
|
||||
# === -6847
|
||||
|
||||
# amenity-charging_station-motorcycle # caption(optional) z16- (also has icon z16-, area z16-)
|
||||
# === -6848
|
||||
|
||||
# amenity-charging_station-bicycle # caption(optional) z16- (also has icon z16-, area z16-)
|
||||
# === -6849
|
||||
|
||||
# amenity-charging_station # caption(optional) z16- (also has icon z16-, area z16-)
|
||||
# === -6850
|
||||
|
||||
# amenity-charging_station-carless # caption(optional) z16- (also has icon z16-, area z16-)
|
||||
# === -6851
|
||||
|
||||
# railway-station-subway-moscow # caption(optional) z15 (also has icon z11-15)
|
||||
# railway-station-subway-spb # caption(optional) z15-16 (also has icon z11-16)
|
||||
# === -6900
|
||||
@@ -1056,9 +1075,6 @@ entrance-emergency # icon z19- (also has captio
|
||||
# amenity-hospital # caption(optional) z15- (also has icon z15-)
|
||||
# === -9000
|
||||
|
||||
# amenity-charging_station-bicycle # caption(optional) z16- (also has icon z16-)
|
||||
# === -9150
|
||||
|
||||
# historic-boundary_stone # caption(optional) z16- (also has icon z16-)
|
||||
# historic-gallows # caption(optional) z16- (also has icon z16-)
|
||||
# historic-pillory # caption(optional) z16- (also has icon z16-)
|
||||
|
||||
@@ -18,7 +18,13 @@ Owners of the CoMaps team and repositories on Codeberg
|
||||
|
||||
- [@comaps/admins](https://codeberg.org/org/comaps/teams/admins)
|
||||
|
||||
- Administrators of different repositories on Codeberg
|
||||
Administrators of different repositories on Codeberg
|
||||
|
||||
## Mergers
|
||||
|
||||
- [compaps/mergers](https://codeberg.org/org/comaps/teams/mergers)
|
||||
|
||||
Contributors who have merge permissions on CoMaps repositories, can do "official reviews" (those that count towards PR approvals), and can create branches/tags.
|
||||
|
||||
## Android
|
||||
|
||||
|
||||
@@ -351,6 +351,11 @@ private:
|
||||
// - both amenity-charging_station-motorcar and amenity-charging_station-bicycle are left;
|
||||
void LeaveLongestTypes(std::vector<generator::TypeStrings> & matchedTypes)
|
||||
{
|
||||
auto const isChargingStation = [](auto const & lhs, auto const & rhs)
|
||||
{
|
||||
return lhs.size() > 1 && rhs.size() > 1 && lhs.at(1) == "charging_station" && rhs.at(1) == "charging_station" && lhs.at(0) == "amenity" && rhs.at(0) == "amenity";
|
||||
};
|
||||
|
||||
auto const equalPrefix = [](auto const & lhs, auto const & rhs)
|
||||
{
|
||||
size_t const prefixSz = std::min(lhs.size(), rhs.size());
|
||||
@@ -369,8 +374,11 @@ void LeaveLongestTypes(std::vector<generator::TypeStrings> & matchedTypes)
|
||||
return lhs < rhs;
|
||||
};
|
||||
|
||||
auto const isEqual = [&equalPrefix](auto const & lhs, auto const & rhs)
|
||||
auto const isEqual = [&equalPrefix, &isChargingStation](auto const & lhs, auto const & rhs)
|
||||
{
|
||||
if (isChargingStation(lhs, rhs))
|
||||
return false;
|
||||
|
||||
if (equalPrefix(lhs, rhs))
|
||||
{
|
||||
// Keep longest type only, so return equal is true.
|
||||
|
||||
@@ -43,9 +43,10 @@
|
||||
"type.leisure.adult_gaming_centre" = "Spielhalle für Erwachsene";
|
||||
"type.leisure.amusement_arcade" = "Spielhalle für Unterhaltungsspiele";
|
||||
"type.amenity.charging_station" = "Ladestation";
|
||||
"type.amenity.charging_station.bicycle" = "Fahrrad-Ladestation";
|
||||
"type.amenity.charging_station.motorcar" = "Kfz-Ladestation";
|
||||
"type.amenity.charging_station.motorcar.small" = "Kfz-Ladestation";
|
||||
"type.amenity.charging_station.motorcar" = "Autos";
|
||||
"type.amenity.charging_station.motorcycle" = "Motorräder";
|
||||
"type.amenity.charging_station.bicycle" = "Fahrräder";
|
||||
"type.amenity.charging_station.small" = "Begrenzte Kapazität";
|
||||
"type.amenity.childcare" = "Kindertagesstätte";
|
||||
"type.amenity.cinema" = "Kino";
|
||||
"type.leisure.bowling_alley" = "Bowlingbahn";
|
||||
|
||||
@@ -48,9 +48,10 @@
|
||||
"type.leisure.adult_gaming_centre" = "Adult Gaming Centre";
|
||||
"type.leisure.amusement_arcade" = "Arcade";
|
||||
"type.amenity.charging_station" = "Charging Station";
|
||||
"type.amenity.charging_station.bicycle" = "Bicycle Charging Station";
|
||||
"type.amenity.charging_station.motorcar" = "Car Charging Station";
|
||||
"type.amenity.charging_station.motorcar.small" = "Car Charging Point";
|
||||
"type.amenity.charging_station.motorcar" = "Cars";
|
||||
"type.amenity.charging_station.motorcycle" = "Motorcycles";
|
||||
"type.amenity.charging_station.bicycle" = "Bicycles";
|
||||
"type.amenity.charging_station.small" = "Limited Capacity";
|
||||
"type.amenity.childcare" = "Nursery";
|
||||
"type.amenity.cinema" = "Cinema";
|
||||
"type.leisure.bowling_alley" = "Bowling Alley";
|
||||
|
||||
@@ -55,9 +55,10 @@
|
||||
"type.leisure.adult_gaming_centre" = "Adult Gaming Centre";
|
||||
"type.leisure.amusement_arcade" = "Arcade";
|
||||
"type.amenity.charging_station" = "Charging Station";
|
||||
"type.amenity.charging_station.bicycle" = "Bicycle Charging Station";
|
||||
"type.amenity.charging_station.motorcar" = "Car Charging Station";
|
||||
"type.amenity.charging_station.motorcar.small" = "Car Charging Point";
|
||||
"type.amenity.charging_station.motorcar" = "Cars";
|
||||
"type.amenity.charging_station.motorcycle" = "Motorcycles";
|
||||
"type.amenity.charging_station.bicycle" = "Bicycles";
|
||||
"type.amenity.charging_station.small" = "Limited Capacity";
|
||||
"type.amenity.childcare" = "Nursery";
|
||||
"type.amenity.cinema" = "Cinema";
|
||||
"type.leisure.bowling_alley" = "Bowling Alley";
|
||||
|
||||
@@ -790,7 +790,7 @@
|
||||
27AF18552E1DB62F00CD41E2 /* PowerSavingMode.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PowerSavingMode.swift; sourceTree = "<group>"; };
|
||||
27AF18572E1DB63900CD41E2 /* Appearance.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Appearance.swift; sourceTree = "<group>"; };
|
||||
27AF18592E1DB64400CD41E2 /* AnnouncingSpeedTrapsWhileVoiceRouting.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnnouncingSpeedTrapsWhileVoiceRouting.swift; sourceTree = "<group>"; };
|
||||
27FDBF202EEEFC830045621D /* mapcss-mapping.csv */ = {isa = PBXFileReference; lastKnownFileType = text; name = "mapcss-mapping.csv"; path = "/Users/yannikbloscheck/Apps/CoMaps/Code/data/mapcss-mapping.csv"; sourceTree = "<absolute>"; };
|
||||
27FDBF202EEEFC830045621D /* mapcss-mapping.csv */ = {isa = PBXFileReference; lastKnownFileType = text; name = "mapcss-mapping.csv"; path = "../../data/mapcss-mapping.csv"; sourceTree = SOURCE_ROOT; };
|
||||
28A0AB4B0D9B1048005BE974 /* Maps_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = Maps_Prefix.pch; sourceTree = "<group>"; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
|
||||
29B97316FDCFA39411CA2CEA /* main.mm */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.objcpp; fileEncoding = 4; indentWidth = 2; path = main.mm; sourceTree = "<group>"; tabWidth = 2; };
|
||||
30034C5C2B3F0B74005D961A /* az */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = az; path = az.lproj/Localizable.strings; sourceTree = "<group>"; };
|
||||
|
||||
@@ -191,9 +191,26 @@ void TypesHolder::SortBySpec()
|
||||
auto const getPriority = [&cl](uint32_t type) { return cl.GetObject(type)->GetMaxOverlaysPriority(); };
|
||||
|
||||
auto const & checker = UselessTypesChecker::Instance();
|
||||
auto const & isChargingStationChecker = ftypes::IsCharingStationChecker::Instance();
|
||||
auto const & isChargingStationSmallChecker = ftypes::IsCharingStationSmallChecker::Instance();
|
||||
|
||||
std::stable_sort(begin(), end(), [&checker, &getPriority](uint32_t t1, uint32_t t2)
|
||||
std::stable_sort(begin(), end(), [&checker, &getPriority, &isChargingStationChecker, &isChargingStationSmallChecker](uint32_t t1, uint32_t t2)
|
||||
{
|
||||
if (isChargingStationChecker(t1) && isChargingStationChecker(t2))
|
||||
{
|
||||
if (isChargingStationSmallChecker(t1) && !isChargingStationSmallChecker(t2))
|
||||
return false;
|
||||
else if (!isChargingStationSmallChecker(t1) && isChargingStationSmallChecker(t2))
|
||||
return true;
|
||||
|
||||
uint8_t const t1Level = ftype::GetLevel(t1);
|
||||
uint8_t const t2Level = ftype::GetLevel(t2);
|
||||
if (t1Level == 2 && t2Level != 2)
|
||||
return true;
|
||||
else if (t1Level != 2 && t2Level == 2)
|
||||
return false;
|
||||
}
|
||||
|
||||
int const p1 = getPriority(t1);
|
||||
int const p2 = getPriority(t2);
|
||||
if (p1 != p2)
|
||||
@@ -403,6 +420,13 @@ void FeatureParams::SetRwSubwayType(char const * cityName)
|
||||
|
||||
FeatureParams::TypesResult FeatureParams::FinishAddingTypesEx()
|
||||
{
|
||||
auto const & cl = classif();
|
||||
auto charingStation = cl.GetTypeByPath({"amenity", "charging_station"});
|
||||
auto motorcarCharingStation = cl.GetTypeByPath({"amenity", "charging_station", "motorcar"});
|
||||
auto carelessCharingStation = cl.GetTypeByPath({"amenity", "charging_station", "carless"});
|
||||
if (IsTypeExist(charingStation) && !IsTypeExist(motorcarCharingStation) && !IsTypeExist(carelessCharingStation))
|
||||
AddType(motorcarCharingStation);
|
||||
|
||||
base::SortUnique(m_types);
|
||||
|
||||
TypesResult res = TYPES_GOOD;
|
||||
|
||||
@@ -753,6 +753,30 @@ IsDirectionalChecker::IsDirectionalChecker() : ftypes::BaseChecker(1 /* level */
|
||||
m_types.push_back(c.GetTypeByPath({"lateral"}));
|
||||
}
|
||||
|
||||
IsCharingStationChecker::IsCharingStationChecker() : ftypes::BaseChecker(2 /* level */)
|
||||
{
|
||||
Classificator const & c = classif();
|
||||
m_types.push_back(c.GetTypeByPath({"amenity", "charging_station"}));
|
||||
}
|
||||
|
||||
IsCharingStationCarChecker::IsCharingStationCarChecker() : ftypes::BaseChecker(3 /* level */)
|
||||
{
|
||||
Classificator const & c = classif();
|
||||
m_types.push_back(c.GetTypeByPath({"amenity", "charging_station", "motorcar"}));
|
||||
}
|
||||
|
||||
IsCharingStationCarlessChecker::IsCharingStationCarlessChecker() : ftypes::BaseChecker(3 /* level */)
|
||||
{
|
||||
Classificator const & c = classif();
|
||||
m_types.push_back(c.GetTypeByPath({"amenity", "charging_station", "carless"}));
|
||||
}
|
||||
|
||||
IsCharingStationSmallChecker::IsCharingStationSmallChecker() : ftypes::BaseChecker(3 /* level */)
|
||||
{
|
||||
Classificator const & c = classif();
|
||||
m_types.push_back(c.GetTypeByPath({"amenity", "charging_station", "small"}));
|
||||
}
|
||||
|
||||
IsTaxiChecker::IsTaxiChecker()
|
||||
{
|
||||
Classificator const & c = classif();
|
||||
|
||||
@@ -519,6 +519,38 @@ public:
|
||||
DECLARE_CHECKER_INSTANCE(IsDirectionalChecker);
|
||||
};
|
||||
|
||||
class IsCharingStationChecker : public ftypes::BaseChecker
|
||||
{
|
||||
IsCharingStationChecker();
|
||||
|
||||
public:
|
||||
DECLARE_CHECKER_INSTANCE(IsCharingStationChecker);
|
||||
};
|
||||
|
||||
class IsCharingStationCarChecker : public ftypes::BaseChecker
|
||||
{
|
||||
IsCharingStationCarChecker();
|
||||
|
||||
public:
|
||||
DECLARE_CHECKER_INSTANCE(IsCharingStationCarChecker);
|
||||
};
|
||||
|
||||
class IsCharingStationCarlessChecker : public ftypes::BaseChecker
|
||||
{
|
||||
IsCharingStationCarlessChecker();
|
||||
|
||||
public:
|
||||
DECLARE_CHECKER_INSTANCE(IsCharingStationCarlessChecker);
|
||||
};
|
||||
|
||||
class IsCharingStationSmallChecker : public ftypes::BaseChecker
|
||||
{
|
||||
IsCharingStationSmallChecker();
|
||||
|
||||
public:
|
||||
DECLARE_CHECKER_INSTANCE(IsCharingStationSmallChecker);
|
||||
};
|
||||
|
||||
class IsTaxiChecker : public BaseChecker
|
||||
{
|
||||
IsTaxiChecker();
|
||||
|
||||
@@ -121,12 +121,19 @@ std::string MapObject::GetLocalizedAllTypes(bool withMainType) const
|
||||
auto const & isPoi = ftypes::IsPoiChecker::Instance();
|
||||
auto const & isDirectional = ftypes::IsDirectionalChecker::Instance();
|
||||
auto const & amenityChecker = ftypes::IsAmenityChecker::Instance();
|
||||
auto const & charingStationCarChecker = ftypes::IsCharingStationCarChecker::Instance();
|
||||
auto const & charingStationCarlessChecker = ftypes::IsCharingStationCarlessChecker::Instance();
|
||||
auto const & charingStationSmallChecker = ftypes::IsCharingStationSmallChecker::Instance();
|
||||
|
||||
std::ostringstream oss;
|
||||
bool isMainType = true;
|
||||
bool isFirst = true;
|
||||
for (auto const type : copy)
|
||||
{
|
||||
// Ignore some charing stations
|
||||
if (charingStationCarlessChecker(type) || ((charingStationCarChecker(type) || charingStationSmallChecker(type)) && charingStationCarlessChecker(copy)))
|
||||
continue;
|
||||
|
||||
if (isMainType && !withMainType)
|
||||
{
|
||||
isMainType = false;
|
||||
|
||||
@@ -87,6 +87,7 @@ std::map<std::string, BookmarkMatchInfo> const kFeatureTypeToBookmarkMatchInfo =
|
||||
|
||||
{"amenity-charging_station", {kml::BookmarkIcon::ChargingStation, BookmarkBaseType::Gas}},
|
||||
{"amenity-charging_station-bicycle", {kml::BookmarkIcon::ChargingStation, BookmarkBaseType::Gas}},
|
||||
{"amenity-charging_station-motorcycle", {kml::BookmarkIcon::ChargingStation, BookmarkBaseType::Gas}},
|
||||
{"amenity-charging_station-motorcar", {kml::BookmarkIcon::ChargingStation, BookmarkBaseType::Gas}},
|
||||
{"amenity-fuel", {kml::BookmarkIcon::Gas, BookmarkBaseType::Gas}},
|
||||
|
||||
|
||||
@@ -229,6 +229,7 @@ private:
|
||||
{{"amenity", "fuel"}, SearchMarkType::Fuel},
|
||||
{{"amenity", "charging_station"}, SearchMarkType::ChargingStation},
|
||||
{{"amenity", "charging_station", "bicycle"}, SearchMarkType::ChargingStation},
|
||||
{{"amenity", "charging_station", "motorcycle"}, SearchMarkType::ChargingStation},
|
||||
{{"amenity", "charging_station", "motorcar"}, SearchMarkType::ChargingStation},
|
||||
{{"shop", "alcohol"}, SearchMarkType::ShopAlcohol},
|
||||
{{"shop", "beverages"}, SearchMarkType::ShopAlcohol},
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace routing::turns::sound
|
||||
* - All other variants default to `zh-Hans` (Simplified Chinese).
|
||||
*
|
||||
*/
|
||||
std::array<std::pair<std::string_view, std::string_view>, 42> constexpr kLanguageList = {{
|
||||
std::array<std::pair<std::string_view, std::string_view>, 43> constexpr kLanguageList = {{
|
||||
{"en", "English"},
|
||||
{"id", "Bahasa Indonesia"},
|
||||
{"ca", "Català"},
|
||||
@@ -82,5 +82,6 @@ std::array<std::pair<std::string_view, std::string_view>, 42> constexpr kLanguag
|
||||
#endif
|
||||
{"ja", "日本語"},
|
||||
{"ko", "한국어"},
|
||||
{"ta", "தமிழ்"},
|
||||
}};
|
||||
} // namespace routing::turns::sound
|
||||
|
||||