mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 14:13:45 +00:00
[iOS] Add Panoramax link on the place page
Signed-off-by: Jean-Baptiste Charron <jeanbaptiste.charron@outlook.fr> Co-authored by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
25e49b0fe1
commit
df89761eba
@@ -20,6 +20,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
@property(nonatomic, readonly, nullable) NSString *vk;
|
@property(nonatomic, readonly, nullable) NSString *vk;
|
||||||
@property(nonatomic, readonly, nullable) NSString *line;
|
@property(nonatomic, readonly, nullable) NSString *line;
|
||||||
@property(nonatomic, readonly, nullable) NSString *bluesky;
|
@property(nonatomic, readonly, nullable) NSString *bluesky;
|
||||||
|
@property(nonatomic, readonly, nullable) NSString *panoramax;
|
||||||
@property(nonatomic, readonly, nullable) NSString *email;
|
@property(nonatomic, readonly, nullable) NSString *email;
|
||||||
@property(nonatomic, readonly, nullable) NSURL *emailUrl;
|
@property(nonatomic, readonly, nullable) NSURL *emailUrl;
|
||||||
@property(nonatomic, readonly, nullable) NSString *cuisine;
|
@property(nonatomic, readonly, nullable) NSString *cuisine;
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ NSString * GetLocalizedMetadataValueString(MapObject::MetadataID metaID, std::st
|
|||||||
case MetadataID::FMD_CONTACT_VK: _vk = ToNSString(value); break;
|
case MetadataID::FMD_CONTACT_VK: _vk = ToNSString(value); break;
|
||||||
case MetadataID::FMD_CONTACT_LINE: _line = ToNSString(value); break;
|
case MetadataID::FMD_CONTACT_LINE: _line = ToNSString(value); break;
|
||||||
case MetadataID::FMD_CONTACT_BLUESKY: _bluesky = ToNSString(value); break;
|
case MetadataID::FMD_CONTACT_BLUESKY: _bluesky = ToNSString(value); break;
|
||||||
|
case MetadataID::FMD_PANORAMAX: _panoramax = ToNSString(value); break;
|
||||||
case MetadataID::FMD_OPERATOR: _ppOperator = [NSString stringWithFormat:NSLocalizedString(@"operator", nil), ToNSString(value)]; break;
|
case MetadataID::FMD_OPERATOR: _ppOperator = [NSString stringWithFormat:NSLocalizedString(@"operator", nil), ToNSString(value)]; break;
|
||||||
case MetadataID::FMD_INTERNET:
|
case MetadataID::FMD_INTERNET:
|
||||||
_wifiAvailable = (rawData.GetInternet() == feature::Internet::No)
|
_wifiAvailable = (rawData.GetInternet() == feature::Internet::No)
|
||||||
|
|||||||
16
iphone/Maps/Images.xcassets/Place Page/ic_placepage_panoramax.imageset/Contents.json
vendored
Normal file
16
iphone/Maps/Images.xcassets/Place Page/ic_placepage_panoramax.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"filename" : "ic_panoramax.svg",
|
||||||
|
"idiom" : "universal"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
},
|
||||||
|
"properties" : {
|
||||||
|
"preserves-vector-representation" : true,
|
||||||
|
"template-rendering-intent" : "template"
|
||||||
|
}
|
||||||
|
}
|
||||||
1
iphone/Maps/Images.xcassets/Place Page/ic_placepage_panoramax.imageset/ic_panoramax.svg
vendored
Normal file
1
iphone/Maps/Images.xcassets/Place Page/ic_placepage_panoramax.imageset/ic_panoramax.svg
vendored
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 6.6 KiB |
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Gradeer die toep";
|
"rate_the_app" = "Gradeer die toep";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "قيّم التطبيق";
|
"rate_the_app" = "قيّم التطبيق";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Proqramı qiymətləndirin";
|
"rate_the_app" = "Proqramı qiymətləndirin";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Ацаніць праграму";
|
"rate_the_app" = "Ацаніць праграму";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Оцени приложение";
|
"rate_the_app" = "Оцени приложение";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Puntua l'aplicació";
|
"rate_the_app" = "Puntua l'aplicació";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Ohodnotit aplikaci";
|
"rate_the_app" = "Ohodnotit aplikaci";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Bedøm appen";
|
"rate_the_app" = "Bedøm appen";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Bewerten Sie die App";
|
"rate_the_app" = "Bewerten Sie die App";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Βαθμολογήστε την εφαρμογή";
|
"rate_the_app" = "Βαθμολογήστε την εφαρμογή";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Rate the app";
|
"rate_the_app" = "Rate the app";
|
||||||
|
|
||||||
|
|||||||
@@ -288,6 +288,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Rate the app";
|
"rate_the_app" = "Rate the app";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Valore la aplicación";
|
"rate_the_app" = "Valore la aplicación";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Valore la aplicación";
|
"rate_the_app" = "Valore la aplicación";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Hinda rakendust";
|
"rate_the_app" = "Hinda rakendust";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Baloratu aplikazioa";
|
"rate_the_app" = "Baloratu aplikazioa";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "امتیاز به این اپلیکیشن";
|
"rate_the_app" = "امتیاز به این اپلیکیشن";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Arvioi sovellus";
|
"rate_the_app" = "Arvioi sovellus";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Évaluer l'appli";
|
"rate_the_app" = "Évaluer l'appli";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "דרגו את האפליקציה";
|
"rate_the_app" = "דרגו את האפליקציה";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "एप्लिकेशन की श्रेणी बताओ";
|
"rate_the_app" = "एप्लिकेशन की श्रेणी बताओ";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Értékelje az alkalmazást";
|
"rate_the_app" = "Értékelje az alkalmazást";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Beri nilai aplikasi";
|
"rate_the_app" = "Beri nilai aplikasi";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Vota l'app";
|
"rate_the_app" = "Vota l'app";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "アプリを評価";
|
"rate_the_app" = "アプリを評価";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "앱 평가";
|
"rate_the_app" = "앱 평가";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Įvertinti šią programėlę";
|
"rate_the_app" = "Įvertinti šią programėlę";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Novērtējiet lietotni";
|
"rate_the_app" = "Novērtējiet lietotni";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "ऍप मानांकित करा";
|
"rate_the_app" = "ऍप मानांकित करा";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Għati rata lill-app";
|
"rate_the_app" = "Għati rata lill-app";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Ranger appen";
|
"rate_the_app" = "Ranger appen";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Beoordeel de app";
|
"rate_the_app" = "Beoordeel de app";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Oceń aplikację";
|
"rate_the_app" = "Oceń aplikację";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Avaliar o aplicativo";
|
"rate_the_app" = "Avaliar o aplicativo";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Avaliar a aplicação";
|
"rate_the_app" = "Avaliar a aplicação";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Evaluează aplicația";
|
"rate_the_app" = "Evaluează aplicația";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Оценить приложение";
|
"rate_the_app" = "Оценить приложение";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Ohodnotiť aplikáciu";
|
"rate_the_app" = "Ohodnotiť aplikáciu";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Оцена апликације";
|
"rate_the_app" = "Оцена апликације";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Betygsätt appen";
|
"rate_the_app" = "Betygsätt appen";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Rate the app";
|
"rate_the_app" = "Rate the app";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "ให้คะแนนแอป";
|
"rate_the_app" = "ให้คะแนนแอป";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Uygulamayı değerlendir";
|
"rate_the_app" = "Uygulamayı değerlendir";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Оцінити застосунок";
|
"rate_the_app" = "Оцінити застосунок";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "Cho điểm ứng dụng";
|
"rate_the_app" = "Cho điểm ứng dụng";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "为我们评分";
|
"rate_the_app" = "为我们评分";
|
||||||
|
|
||||||
|
|||||||
@@ -276,6 +276,9 @@
|
|||||||
/* Text in the editor */
|
/* Text in the editor */
|
||||||
"bluesky" = "Bluesky";
|
"bluesky" = "Bluesky";
|
||||||
|
|
||||||
|
/* Text in menu */
|
||||||
|
"panoramax" = "Panoramax";
|
||||||
|
|
||||||
/* Text in menu */
|
/* Text in menu */
|
||||||
"rate_the_app" = "為我們評分";
|
"rate_the_app" = "為我們評分";
|
||||||
|
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ protocol PlacePageInfoViewControllerDelegate: AnyObject {
|
|||||||
func didPressVk()
|
func didPressVk()
|
||||||
func didPressLine()
|
func didPressLine()
|
||||||
func didPressBluesky()
|
func didPressBluesky()
|
||||||
|
func didPressPanoramax()
|
||||||
func didPressEmail()
|
func didPressEmail()
|
||||||
func didPressOpenInApp(from sourceView: UIView)
|
func didPressOpenInApp(from sourceView: UIView)
|
||||||
func didCopy(_ content: String)
|
func didCopy(_ content: String)
|
||||||
@@ -118,6 +119,7 @@ class PlacePageInfoViewController: UIViewController {
|
|||||||
private var vkView: InfoItemViewController?
|
private var vkView: InfoItemViewController?
|
||||||
private var lineView: InfoItemViewController?
|
private var lineView: InfoItemViewController?
|
||||||
private var blueskyView: InfoItemViewController?
|
private var blueskyView: InfoItemViewController?
|
||||||
|
private var panoramaxView: InfoItemViewController?
|
||||||
private var cuisineView: InfoItemViewController?
|
private var cuisineView: InfoItemViewController?
|
||||||
private var operatorView: InfoItemViewController?
|
private var operatorView: InfoItemViewController?
|
||||||
private var wifiView: InfoItemViewController?
|
private var wifiView: InfoItemViewController?
|
||||||
@@ -362,6 +364,18 @@ class PlacePageInfoViewController: UIViewController {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if let panoramax = placePageInfoData.panoramax {
|
||||||
|
panoramaxView = createInfoItem(panoramax,
|
||||||
|
icon: UIImage(named: "ic_placepage_panoramax"),
|
||||||
|
style: .link,
|
||||||
|
tapHandler: { [weak self] in
|
||||||
|
self?.delegate?.didPressPanoramax()
|
||||||
|
},
|
||||||
|
longPressHandler: { [weak self] in
|
||||||
|
self?.delegate?.didCopy(panoramax)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
if let address = placePageInfoData.address {
|
if let address = placePageInfoData.address {
|
||||||
addressView = createInfoItem(address,
|
addressView = createInfoItem(address,
|
||||||
icon: UIImage(named: "ic_placepage_address"),
|
icon: UIImage(named: "ic_placepage_address"),
|
||||||
|
|||||||
@@ -128,6 +128,10 @@ extension PlacePageInteractor: PlacePageInfoViewControllerDelegate {
|
|||||||
MWMPlacePageManagerHelper.openBluesky(placePageData)
|
MWMPlacePageManagerHelper.openBluesky(placePageData)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func didPressPanoramax() {
|
||||||
|
MWMPlacePageManagerHelper.openPanoramax(placePageData)
|
||||||
|
}
|
||||||
|
|
||||||
func didPressEmail() {
|
func didPressEmail() {
|
||||||
MWMPlacePageManagerHelper.openEmail(placePageData)
|
MWMPlacePageManagerHelper.openEmail(placePageData)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -293,6 +293,11 @@ using namespace storage;
|
|||||||
[self.ownerViewController openUrl:ToNSString(fullUrl) externally:YES];
|
[self.ownerViewController openUrl:ToNSString(fullUrl) externally:YES];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)openPanoramax:(PlacePageData *)data {
|
||||||
|
std::string const fullUrl = osm::socialContactToURL(osm::MapObject::MetadataID::FMD_PANORAMAX, [data.infoData.panoramax UTF8String]);
|
||||||
|
[self.ownerViewController openUrl:ToNSString(fullUrl) externally:YES];
|
||||||
|
}
|
||||||
|
|
||||||
- (void)openEmail:(PlacePageData *)data {
|
- (void)openEmail:(PlacePageData *)data {
|
||||||
[MailComposer sendEmailWithSubject:nil body:nil toRecipients:@[data.infoData.email] attachmentFileURL:nil];
|
[MailComposer sendEmailWithSubject:nil body:nil toRecipients:@[data.infoData.email] attachmentFileURL:nil];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
+ (void)openVk:(PlacePageData *)data;
|
+ (void)openVk:(PlacePageData *)data;
|
||||||
+ (void)openLine:(PlacePageData *)data;
|
+ (void)openLine:(PlacePageData *)data;
|
||||||
+ (void)openBluesky:(PlacePageData *)data;
|
+ (void)openBluesky:(PlacePageData *)data;
|
||||||
|
+ (void)openPanoramax:(PlacePageData *)data;
|
||||||
+ (void)call:(PlacePagePhone *)phone;
|
+ (void)call:(PlacePagePhone *)phone;
|
||||||
+ (void)showAllFacilities:(PlacePageData *)data;
|
+ (void)showAllFacilities:(PlacePageData *)data;
|
||||||
+ (void)showPlaceDescription:(NSString *)htmlString;
|
+ (void)showPlaceDescription:(NSString *)htmlString;
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
- (void)openVk:(PlacePageData *)data;
|
- (void)openVk:(PlacePageData *)data;
|
||||||
- (void)openLine:(PlacePageData *)data;
|
- (void)openLine:(PlacePageData *)data;
|
||||||
- (void)openBluesky:(PlacePageData *)data;
|
- (void)openBluesky:(PlacePageData *)data;
|
||||||
|
- (void)openPanoramax:(PlacePageData *)data;
|
||||||
- (void)call:(PlacePagePhone *)phone;
|
- (void)call:(PlacePagePhone *)phone;
|
||||||
- (void)showAllFacilities:(PlacePageData *)data;
|
- (void)showAllFacilities:(PlacePageData *)data;
|
||||||
- (void)showPlaceDescription:(NSString *)htmlString;
|
- (void)showPlaceDescription:(NSString *)htmlString;
|
||||||
@@ -119,6 +120,10 @@
|
|||||||
[[MWMMapViewControlsManager manager].placePageManager openBluesky:data];
|
[[MWMMapViewControlsManager manager].placePageManager openBluesky:data];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
+ (void)openPanoramax:(PlacePageData *)data {
|
||||||
|
[[MWMMapViewControlsManager manager].placePageManager openPanoramax:data];
|
||||||
|
}
|
||||||
|
|
||||||
+ (void)call:(PlacePagePhone *)phone {
|
+ (void)call:(PlacePagePhone *)phone {
|
||||||
[[MWMMapViewControlsManager manager].placePageManager call:phone];
|
[[MWMMapViewControlsManager manager].placePageManager call:phone];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user