diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-01-06 15:13:39 -0800 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-01-06 23:43:07 -0800 |
commit | 11d99bd890ef2cbadc16beb7289dd818fa86c9df (patch) | |
tree | 6b7650c5675fdd0c3b0719e4262ffc4213b83843 /platform/ios/src/MGLCalloutView.h | |
parent | b70fd7ae6947e9d0c2f4b2a2d23069cedac5fa4a (diff) | |
download | qtlocation-mapboxgl-11d99bd890ef2cbadc16beb7289dd818fa86c9df.tar.gz |
[ios] Refined custom callout view support
Renamed MGLCalloutView to MGLCompactCalloutView and MGLCalloutViewProtocol to MGLCalloutView to avoid an awkward workaround for a Swift name collision. Replaced individual title and subtitle properties with a single representedObject property that lets you use custom annotation properties in the custom callout view. Overrode a problematic SMCalloutView method. Added lots more documentation.
Diffstat (limited to 'platform/ios/src/MGLCalloutView.h')
-rw-r--r-- | platform/ios/src/MGLCalloutView.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/platform/ios/src/MGLCalloutView.h b/platform/ios/src/MGLCalloutView.h deleted file mode 100644 index aa5cb95b57..0000000000 --- a/platform/ios/src/MGLCalloutView.h +++ /dev/null @@ -1,6 +0,0 @@ -#import "SMCalloutView.h" -#import "MGLCalloutViewProtocol.h" - -@interface MGLCalloutView : SMCalloutView <MGLCalloutViewProtocol> - -@end |