diff options
author | Łukasz Paczos <lukas.paczos@gmail.com> | 2019-04-04 13:13:37 +0200 |
---|---|---|
committer | Łukasz Paczos <lukas.paczos@gmail.com> | 2019-04-04 13:13:37 +0200 |
commit | f970fc3b655bc0b1b51d5e05aac87c5d46d50aa8 (patch) | |
tree | 615695501385a9ed514d117507dc86f8c65237f7 | |
parent | 38e0be5b953926fc5ffa797d503274b0810d64bf (diff) | |
download | qtlocation-mapboxgl-upstream/lp-expose-component-constants-class.tar.gz |
[android] expose LOCATION_SOURCE constantupstream/lp-expose-component-constants-class
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentConstants.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentConstants.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentConstants.java index 93d8bac32e..f2158584c7 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentConstants.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentConstants.java @@ -33,7 +33,12 @@ public final class LocationComponentConstants { static final long DEFAULT_FASTEST_INTERVAL_MILLIS = 1000; // Sources - static final String LOCATION_SOURCE = "mapbox-location-source"; + + /** + * Source ID of the location's GeoJsonSource. + */ + public static final String LOCATION_SOURCE = "mapbox-location-source"; + static final String PROPERTY_GPS_BEARING = "mapbox-property-gps-bearing"; static final String PROPERTY_COMPASS_BEARING = "mapbox-property-compass-bearing"; static final String PROPERTY_LOCATION_STALE = "mapbox-property-location-stale"; |