diff options
author | Fredrik Karlsson <bjorn.fredrik.karlsson@gmail.com> | 2017-01-09 17:24:07 +0100 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2017-01-11 15:48:08 -0800 |
commit | f1fc9bdfeb9ba107d27242ee4618228c204e98a3 (patch) | |
tree | b19ffb83b632cdb4d1b2539be8045c8b370d0293 /platform/ios/src/MGLCompactCalloutView.m | |
parent | 57644b2804a3d27ff19a58e0f3015d83264833ab (diff) | |
download | qtlocation-mapboxgl-f1fc9bdfeb9ba107d27242ee4618228c204e98a3.tar.gz |
[ios] Optional positioning and stickiness for callout view
Diffstat (limited to 'platform/ios/src/MGLCompactCalloutView.m')
-rw-r--r-- | platform/ios/src/MGLCompactCalloutView.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/platform/ios/src/MGLCompactCalloutView.m b/platform/ios/src/MGLCompactCalloutView.m index 49812c51a4..3d2118ca38 100644 --- a/platform/ios/src/MGLCompactCalloutView.m +++ b/platform/ios/src/MGLCompactCalloutView.m @@ -14,6 +14,14 @@ return [[self alloc] init]; } +- (BOOL)isAnchoredToAnnotation { + return YES; +} + +- (BOOL)dismissesAutomatically { + return NO; +} + - (void)setRepresentedObject:(id <MGLAnnotation>)representedObject { _representedObject = representedObject; |