summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlangsmith <langstonlmcs@gmail.com>2019-08-06 18:15:53 -0700
committerlangsmith <langstonlmcs@gmail.com>2019-09-30 18:54:18 -0700
commit268ebefb5d1b84012c54f872d9c998462f4b7a3e (patch)
tree7d597263b5dfb24ec47b81ea8a39811609f7374a
parent256b1f45b4edf95f1ed42786d9296d2cea5a6206 (diff)
downloadqtlocation-mapboxgl-268ebefb5d1b84012c54f872d9c998462f4b7a3e.tar.gz
[android] pulsing circle doc error removal and re-adding method
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java1
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationLayerController.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java
index 5bd2268e43..b13ffa2e26 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java
@@ -710,6 +710,7 @@ public final class LocationComponent {
LocationComponent.this.options = options;
if (mapboxMap.getStyle() != null) {
locationLayerController.applyStyle(options);
+ locationCameraController.initializeOptions(options);
staleStateManager.setEnabled(options.enableStaleState());
staleStateManager.setDelayTime(options.staleStateTimeout());
locationAnimatorCoordinator.setTrackingAnimationDurationMultiplier(options.trackingAnimationDurationMultiplier());
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationLayerController.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationLayerController.java
index 53a6b74e4f..eb36bd39c6 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationLayerController.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationLayerController.java
@@ -277,7 +277,7 @@ final class LocationLayerController {
}
/**
- * Add the pulsing LocationComponent circle to the map for future use, if need be.updatePulsingLocationCircleRadius
+ * Add the pulsing LocationComponent circle to the map for future use, if need be.
*/
private void addPulsingCircleLayerToMap() {
Layer pulsingCircleLayer = layerSourceProvider.generatePulsingCircleLayer();