summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLCompactCalloutView.m
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/src/MGLCompactCalloutView.m')
-rw-r--r--platform/ios/src/MGLCompactCalloutView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/src/MGLCompactCalloutView.m b/platform/ios/src/MGLCompactCalloutView.m
index 3d2118ca38..e499b7832f 100644
--- a/platform/ios/src/MGLCompactCalloutView.m
+++ b/platform/ios/src/MGLCompactCalloutView.m
@@ -25,7 +25,7 @@
- (void)setRepresentedObject:(id <MGLAnnotation>)representedObject
{
_representedObject = representedObject;
-
+
if ([representedObject respondsToSelector:@selector(title)])
{
self.title = representedObject.title;