summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLStyle.h
diff options
context:
space:
mode:
authorFabian Guerra Soto <fabian.guerra@mapbox.com>2018-12-13 10:19:56 -0800
committerGitHub <noreply@github.com>2018-12-13 10:19:56 -0800
commitbbeec8dacb1a007ffadad391b63620b6d2575eb7 (patch)
tree81e6d72141e2986bbd00c7354da4fe45b6b8bec8 /platform/darwin/src/MGLStyle.h
parentb1ae6c90518671896fef8e7895610e75e4be5284 (diff)
downloadqtlocation-mapboxgl-bbeec8dacb1a007ffadad391b63620b6d2575eb7.tar.gz
[ios, macos] Add enablePlacementTransitions to MGLStyle. (#13565)
* [ios, macos] Add enablePlacementTransitions to MGLStyle. * [ios, macos] Update changelogs.
Diffstat (limited to 'platform/darwin/src/MGLStyle.h')
-rw-r--r--platform/darwin/src/MGLStyle.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLStyle.h b/platform/darwin/src/MGLStyle.h
index 7621db0ad5..2b2f0998d4 100644
--- a/platform/darwin/src/MGLStyle.h
+++ b/platform/darwin/src/MGLStyle.h
@@ -271,6 +271,13 @@ MGL_EXPORT
@property (nonatomic) MGLTransition transition;
/**
+ A boolean value indicating whether label placement transitions are enabled.
+
+ The default value of this property is `YES`.
+ */
+@property (nonatomic, assign) BOOL enablePlacementTransitions;
+
+/**
Returns a source with the given identifier in the current style.
@note Source identifiers are not guaranteed to exist across styles or different