summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLRendererConfiguration.h
diff options
context:
space:
mode:
authorFabian Guerra Soto <fabian.guerra@mapbox.com>2018-09-26 15:17:30 -0700
committerGitHub <noreply@github.com>2018-09-26 15:17:30 -0700
commit57837443bbef1b71a60e69ed9359c76ac7ab5949 (patch)
tree742fd3f17188acb098000f21e31eb02b5dd8951f /platform/darwin/src/MGLRendererConfiguration.h
parent1ce31af2899e8e8526e968f908b75ec949d8ffeb (diff)
downloadqtlocation-mapboxgl-57837443bbef1b71a60e69ed9359c76ac7ab5949.tar.gz
[ios, macos] Add crossSourceCollissions property. (#12941)
* [ios, macos] Add crossSourceCollissions property. * [ios, macos] Add perSourceCollisions property. * [ios, macos] Update changelogs.
Diffstat (limited to 'platform/darwin/src/MGLRendererConfiguration.h')
-rw-r--r--platform/darwin/src/MGLRendererConfiguration.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLRendererConfiguration.h b/platform/darwin/src/MGLRendererConfiguration.h
index 34c8e9628b..d5b6527d7e 100644
--- a/platform/darwin/src/MGLRendererConfiguration.h
+++ b/platform/darwin/src/MGLRendererConfiguration.h
@@ -35,6 +35,17 @@ NS_ASSUME_NONNULL_BEGIN
which will be available at run time, e.g. "PingFang". */
@property (nonatomic, readonly) mbgl::optional<std::string> localFontFamilyName;
+/**
+ A Boolean value indicating whether symbol layers may enable per-source symbol
+ collision detection.
+
+ Set `MGLCollisionBehaviorPre4_0` in your containing app's Info.plist.
+
+ Setting this property to `YES` in the plist results in symbol layers only running
+ collision detection against other symbol layers that are part of the same source.
+ */
+@property (nonatomic, readonly) BOOL perSourceCollisions;
+
@end
NS_ASSUME_NONNULL_END