summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/Property.java
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/Property.java')
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/Property.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/Property.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/Property.java
index 383d4217a8..81d90ed3ec 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/Property.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/layers/Property.java
@@ -445,6 +445,27 @@ public abstract class Property<T> {
@Retention(RetentionPolicy.SOURCE)
public @interface CIRCLE_PITCH_SCALE {}
+ //TERRAIN_ILLUMINATION_ALIGNMENT: Direction of light source when map is rotated.
+
+ /**
+ * The terrain illumination is relative to the north-west direction.
+ */
+ public static final String TERRAIN_ILLUMINATION_ALIGNMENT_MAP = "map";
+ /**
+ * The terrain illumination is relative to the top left of the viewport.
+ */
+ public static final String TERRAIN_ILLUMINATION_ALIGNMENT_VIEWPORT = "viewport";
+
+ /**
+ * Direction of light source when map is rotated.
+ */
+ @StringDef({
+ TERRAIN_ILLUMINATION_ALIGNMENT_MAP,
+ TERRAIN_ILLUMINATION_ALIGNMENT_VIEWPORT,
+ })
+ @Retention(RetentionPolicy.SOURCE)
+ public @interface TERRAIN_ILLUMINATION_ALIGNMENT {}
+
//Class definition
public final String name;