@@ -18,6 +18,20 @@ extension MarketLocation {
1818 case . NZ: MarketLocation . newZealand_Auckland ( )
1919 case . UK: MarketLocation . uk_London ( )
2020 case . IE: MarketLocation . ie_Dublin ( )
21+ case . AT: MarketLocation . austria_Vienna ( )
22+ case . PL: MarketLocation . poland_Warsaw ( )
23+ case . NO: MarketLocation . norway_Oslo ( )
24+ case . FI: MarketLocation . finland_Helsinki ( )
25+ case . BE: MarketLocation . belgium_Brussels ( )
26+ case . CZ: MarketLocation . czechRepublic_Prague ( )
27+ case . SE: MarketLocation . sweden_Stockholm ( )
28+ case . ZA: MarketLocation . southAfrica_Johannesburg ( )
29+ case . ES: MarketLocation . spain_Madrid ( )
30+ case . DE: MarketLocation . germany_Berlin ( )
31+ case . AE: MarketLocation . uae_Dubai ( )
32+ case . NL: MarketLocation . netherlands_Amsterdam ( )
33+ case . CH: MarketLocation . switzerland_Zurich ( )
34+ case . DK: MarketLocation . denmark_Copenhagen ( )
2135 default : MarketLocation . California_LosAngeles ( )
2236 }
2337 }
@@ -74,4 +88,172 @@ extension MarketLocation {
7488
7589 return MarketLocation ( domain: domain, identifier: " \( marketID) " , name: marketName, localizedName: description, dmaId: nil , countryCode: domain. countryCode, userLocation: UserLocation ( location: clLocation, source: . appMarketList) , source: . appMarketList)
7690 }
91+
92+ static func austria_Vienna( ) -> MarketLocation {
93+ let domain = MarketDomain . AT
94+ return MarketLocation ( domain: domain,
95+ identifier: " " ,
96+ name: " Vienna " ,
97+ localizedName: " Vienna, AT " ,
98+ dmaId: nil ,
99+ countryCode: domain. countryCode,
100+ userLocation: UserLocation ( location: CLLocation ( latitude: 48.2082 , longitude: 16.3738 ) , source: . appMarketList) ,
101+ source: . appMarketList)
102+ }
103+
104+ static func poland_Warsaw( ) -> MarketLocation {
105+ let domain = MarketDomain . PL
106+ return MarketLocation ( domain: domain,
107+ identifier: " " ,
108+ name: " Warsaw " ,
109+ localizedName: " Warsaw, PL " ,
110+ dmaId: nil ,
111+ countryCode: domain. countryCode,
112+ userLocation: UserLocation ( location: CLLocation ( latitude: 52.2297 , longitude: 21.0122 ) , source: . appMarketList) ,
113+ source: . appMarketList)
114+ }
115+
116+ static func norway_Oslo( ) -> MarketLocation {
117+ let domain = MarketDomain . NO
118+ return MarketLocation ( domain: domain,
119+ identifier: " " ,
120+ name: " Oslo " ,
121+ localizedName: " Oslo, NO " ,
122+ dmaId: nil ,
123+ countryCode: domain. countryCode,
124+ userLocation: UserLocation ( location: CLLocation ( latitude: 59.9139 , longitude: 10.7522 ) , source: . appMarketList) ,
125+ source: . appMarketList)
126+ }
127+
128+ static func finland_Helsinki( ) -> MarketLocation {
129+ let domain = MarketDomain . FI
130+ return MarketLocation ( domain: domain,
131+ identifier: " " ,
132+ name: " Helsinki " ,
133+ localizedName: " Helsinki, FI " ,
134+ dmaId: nil ,
135+ countryCode: domain. countryCode,
136+ userLocation: UserLocation ( location: CLLocation ( latitude: 60.1695 , longitude: 24.9354 ) , source: . appMarketList) ,
137+ source: . appMarketList)
138+ }
139+
140+ static func belgium_Brussels( ) -> MarketLocation {
141+ let domain = MarketDomain . BE
142+ return MarketLocation ( domain: domain,
143+ identifier: " " ,
144+ name: " Brussels " ,
145+ localizedName: " Brussels, BE " ,
146+ dmaId: nil ,
147+ countryCode: domain. countryCode,
148+ userLocation: UserLocation ( location: CLLocation ( latitude: 50.8503 , longitude: 4.3517 ) , source: . appMarketList) ,
149+ source: . appMarketList)
150+ }
151+
152+ static func czechRepublic_Prague( ) -> MarketLocation {
153+ let domain = MarketDomain . CZ
154+ return MarketLocation ( domain: domain,
155+ identifier: " " ,
156+ name: " Prague " ,
157+ localizedName: " Prague, CZ " ,
158+ dmaId: nil ,
159+ countryCode: domain. countryCode,
160+ userLocation: UserLocation ( location: CLLocation ( latitude: 50.0755 , longitude: 14.4378 ) , source: . appMarketList) ,
161+ source: . appMarketList)
162+ }
163+
164+ static func sweden_Stockholm( ) -> MarketLocation {
165+ let domain = MarketDomain . SE
166+ return MarketLocation ( domain: domain,
167+ identifier: " " ,
168+ name: " Stockholm " ,
169+ localizedName: " Stockholm, SE " ,
170+ dmaId: nil ,
171+ countryCode: domain. countryCode,
172+ userLocation: UserLocation ( location: CLLocation ( latitude: 59.3293 , longitude: 18.0686 ) , source: . appMarketList) ,
173+ source: . appMarketList)
174+ }
175+
176+ static func southAfrica_Johannesburg( ) -> MarketLocation {
177+ let domain = MarketDomain . ZA
178+ return MarketLocation ( domain: domain,
179+ identifier: " " ,
180+ name: " Johannesburg " ,
181+ localizedName: " Johannesburg, ZA " ,
182+ dmaId: nil ,
183+ countryCode: domain. countryCode,
184+ userLocation: UserLocation ( location: CLLocation ( latitude: - 26.2041 , longitude: 28.0473 ) , source: . appMarketList) ,
185+ source: . appMarketList)
186+ }
187+
188+ static func spain_Madrid( ) -> MarketLocation {
189+ let domain = MarketDomain . ES
190+ return MarketLocation ( domain: domain,
191+ identifier: " " ,
192+ name: " Madrid " ,
193+ localizedName: " Madrid, ES " ,
194+ dmaId: nil ,
195+ countryCode: domain. countryCode,
196+ userLocation: UserLocation ( location: CLLocation ( latitude: 40.4168 , longitude: - 3.7038 ) , source: . appMarketList) ,
197+ source: . appMarketList)
198+ }
199+
200+ static func germany_Berlin( ) -> MarketLocation {
201+ let domain = MarketDomain . DE
202+ return MarketLocation ( domain: domain,
203+ identifier: " " ,
204+ name: " Berlin " ,
205+ localizedName: " Berlin, DE " ,
206+ dmaId: nil ,
207+ countryCode: domain. countryCode,
208+ userLocation: UserLocation ( location: CLLocation ( latitude: 52.5200 , longitude: 13.4050 ) , source: . appMarketList) ,
209+ source: . appMarketList)
210+ }
211+
212+ static func uae_Dubai( ) -> MarketLocation {
213+ let domain = MarketDomain . AE
214+ return MarketLocation ( domain: domain,
215+ identifier: " " ,
216+ name: " Dubai " ,
217+ localizedName: " Dubai, AE " ,
218+ dmaId: nil ,
219+ countryCode: domain. countryCode,
220+ userLocation: UserLocation ( location: CLLocation ( latitude: 25.276987 , longitude: 55.296249 ) , source: . appMarketList) ,
221+ source: . appMarketList)
222+ }
223+
224+ static func netherlands_Amsterdam( ) -> MarketLocation {
225+ let domain = MarketDomain . NL
226+ return MarketLocation ( domain: domain,
227+ identifier: " " ,
228+ name: " Amsterdam " ,
229+ localizedName: " Amsterdam, NL " ,
230+ dmaId: nil ,
231+ countryCode: domain. countryCode,
232+ userLocation: UserLocation ( location: CLLocation ( latitude: 52.3676 , longitude: 4.9041 ) , source: . appMarketList) ,
233+ source: . appMarketList)
234+ }
235+
236+ static func switzerland_Zurich( ) -> MarketLocation {
237+ let domain = MarketDomain . CH
238+ return MarketLocation ( domain: domain,
239+ identifier: " " ,
240+ name: " Zurich " ,
241+ localizedName: " Zurich, CH " ,
242+ dmaId: nil ,
243+ countryCode: domain. countryCode,
244+ userLocation: UserLocation ( location: CLLocation ( latitude: 47.3769 , longitude: 8.5417 ) , source: . appMarketList) ,
245+ source: . appMarketList)
246+ }
247+
248+ static func denmark_Copenhagen( ) -> MarketLocation {
249+ let domain = MarketDomain . DK
250+ return MarketLocation ( domain: domain,
251+ identifier: " " ,
252+ name: " Copenhagen " ,
253+ localizedName: " Copenhagen, DK " ,
254+ dmaId: nil ,
255+ countryCode: domain. countryCode,
256+ userLocation: UserLocation ( location: CLLocation ( latitude: 55.6761 , longitude: 12.5683 ) , source: . appMarketList) ,
257+ source: . appMarketList)
258+ }
77259}
0 commit comments