diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-03-28 12:06:43 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-03-29 16:18:41 +0200 |
commit | 2cfdd1a2f7042650538d24058fc28ad092739073 (patch) | |
tree | 394e1f879a83e8ba12ac37630ee8b2463293efcf /platform/darwin/src/MGLSymbolStyleLayer.h | |
parent | 1eaae50ffe0fa6bc0be96d705d7a5bd18b4fdf4f (diff) | |
download | qtlocation-mapboxgl-2cfdd1a2f7042650538d24058fc28ad092739073.tar.gz |
[Darwin] Improve documentation for enum array propertiesupstream/az-accounts
Diffstat (limited to 'platform/darwin/src/MGLSymbolStyleLayer.h')
-rw-r--r-- | platform/darwin/src/MGLSymbolStyleLayer.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLSymbolStyleLayer.h b/platform/darwin/src/MGLSymbolStyleLayer.h index ad792880e7..cf2c1466e7 100644 --- a/platform/darwin/src/MGLSymbolStyleLayer.h +++ b/platform/darwin/src/MGLSymbolStyleLayer.h @@ -1589,7 +1589,22 @@ MGL_EXPORT You can set this property to an expression containing any of the following: - * Constant array values + * Constant `MGLTextAnchor` array values + * Constant array, whose each element is any of the following constant string + values: + * `center`: The center of the text is placed closest to the anchor. + * `left`: The left side of the text is placed closest to the anchor. + * `right`: The right side of the text is placed closest to the anchor. + * `top`: The top of the text is placed closest to the anchor. + * `bottom`: The bottom of the text is placed closest to the anchor. + * `top-left`: The top left corner of the text is placed closest to the + anchor. + * `top-right`: The top right corner of the text is placed closest to the + anchor. + * `bottom-left`: The bottom left corner of the text is placed closest to the + anchor. + * `bottom-right`: The bottom right corner of the text is placed closest to + the anchor. * Predefined functions, including mathematical and string operators * Conditional expressions * Variable assignments and references to assigned variables |