|
@@ -63,7 +63,7 @@ class NCViewerImageDetailView: UIView {
|
|
self.longitude = longitude
|
|
self.longitude = longitude
|
|
self.location = location
|
|
self.location = location
|
|
self.date = date as NSDate?
|
|
self.date = date as NSDate?
|
|
- self.setMapCoordinate()
|
|
|
|
|
|
+ self.updateContent()
|
|
}
|
|
}
|
|
};
|
|
};
|
|
}
|
|
}
|
|
@@ -80,13 +80,13 @@ class NCViewerImageDetailView: UIView {
|
|
location = locationDB
|
|
location = locationDB
|
|
}
|
|
}
|
|
|
|
|
|
- self.setMapCoordinate()
|
|
|
|
|
|
+ self.updateContent()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
//MARK: - Map
|
|
//MARK: - Map
|
|
|
|
|
|
- func setMapCoordinate() {
|
|
|
|
|
|
+ func updateContent() {
|
|
|
|
|
|
let annotation = MKPointAnnotation()
|
|
let annotation = MKPointAnnotation()
|
|
|
|
|