Dimitris Togias

check API and assignment of data

......@@ -40,7 +40,7 @@ class MapsViewController: UIViewController, MKMapViewDelegate {
self.infoTopConstraint.constant = 0
setBackButton("ic_close")
//setNavigationTitle(ccms?._titleOffer ?? "")
setNavigationTitle("Καταστήματα")
mapView.delegate = self
mapView.centerToLocation(initialLocation)
......@@ -144,12 +144,12 @@ class MapsViewController: UIViewController, MKMapViewDelegate {
private func loadPinDetailsView(_ annotation: MerchantAnnotation) {
self.selectedMerchant = annotation.model
self.titleView.text = "INTERSPORT"
self.titleView.text = self.selectedMerchant?._admin_name
self.nameImageView.image = UIImage(named: "intersport")
self.nameView.text = "Intersport Χαλάνδρι"
self.nameView.text = self.selectedMerchant?._name
self.hoursView.text = "Δευτέρα - Τετάρτη"
self.phoneView.text = "210-6230453"
self.addressView.text = "ΕΘΝΙΚΗΣ ΑΝΤΙΣΤΑΣΕΩΝ 4 41"
self.phoneView.text = self.selectedMerchant?._telephone
self.addressView.text = self.selectedMerchant?._address
}
private func showPinDetailsView() {
......