diff options
author | Łukasz Paczos <lukas.paczos@gmail.com> | 2019-04-04 13:13:37 +0200 |
---|---|---|
committer | Łukasz Paczos <lukasz.paczos@mapbox.com> | 2019-04-09 12:26:40 +0200 |
commit | 2ee342448bc6679ef6735ea0deb23f21dcf7c78b (patch) | |
tree | 7a812f8d5e06741f521dcaab7cb97aed3990db06 /platform | |
parent | f20b6e00486e1a97e64ebf0ffee7279b34ca671b (diff) | |
download | qtlocation-mapboxgl-2ee342448bc6679ef6735ea0deb23f21dcf7c78b.tar.gz |
[android] expose LOCATION_SOURCE constant
Diffstat (limited to 'platform')
-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"; |