summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/plugins/locationlayer/LocationLayerConstants.java
diff options
context:
space:
mode:
authorŁukasz Paczos <lukas.paczos@gmail.com>2018-09-05 14:30:36 +0200
committerŁukasz Paczos <lukasz.paczos@mapbox.com>2018-09-12 13:59:11 +0200
commit907612e93d8a2b156d4604fda348707ccb347836 (patch)
tree830bc854430f31e5f688d3d849fbb81599ea0ce0 /platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/plugins/locationlayer/LocationLayerConstants.java
parentcf7752c80c1dab6a818fb5093bee5cd964990525 (diff)
downloadqtlocation-mapboxgl-907612e93d8a2b156d4604fda348707ccb347836.tar.gz
[android] updated naming scheme and packages structure for LocationLayerPlugin, now called LocationComponent
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/plugins/locationlayer/LocationLayerConstants.java')
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/plugins/locationlayer/LocationLayerConstants.java66
1 files changed, 0 insertions, 66 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/plugins/locationlayer/LocationLayerConstants.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/plugins/locationlayer/LocationLayerConstants.java
deleted file mode 100644
index 6e5f9bf4c6..0000000000
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/plugins/locationlayer/LocationLayerConstants.java
+++ /dev/null
@@ -1,66 +0,0 @@
-package com.mapbox.mapboxsdk.plugins.locationlayer;
-
-/**
- * Contains all the constants being used for the Location layer.
- */
-final class LocationLayerConstants {
-
- static final String STATE_LOCATION_ENABLED = "mapbox_location_locationEnabled";
- static final String STATE_LOCATION_OPTIONS = "mapbox_location_options";
- static final String STATE_LOCATION_LAST_LOCATION = "mapbox_location_lastLocation";
- static final String STATE_LOCATION_RENDER_MODE = "mapbox_location_renderMode";
- static final String STATE_LOCATION_CAMERA_MODE = "mapbox_location_cameraMode";
-
- // Controls the compass update rate in milliseconds
- static final int COMPASS_UPDATE_RATE_MS = 500;
-
- // Sets the transition animation duration when switching camera modes.
- static final long TRANSITION_ANIMATION_DURATION_MS = 750;
-
- // Sets the max allowed time for the location icon animation from one LatLng to another.
- static final long MAX_ANIMATION_DURATION_MS = 2000;
-
- // Sets the duration of change of accuracy radius when a different value is provided.
- static final long ACCURACY_RADIUS_ANIMATION_DURATION = 250;
-
- // Default animation duration for zooming while tracking.
- static final long DEFAULT_TRACKING_ZOOM_ANIM_DURATION = 750;
-
- // Default animation duration for tilting while tracking.
- static final long DEFAULT_TRACKING_TILT_ANIM_DURATION = 1250;
-
- // Sources
- 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";
- static final String PROPERTY_ACCURACY_RADIUS = "mapbox-property-accuracy-radius";
- static final String PROPERTY_ACCURACY_COLOR = "mapbox-property-accuracy-color";
- static final String PROPERTY_ACCURACY_ALPHA = "mapbox-property-accuracy-alpha";
- static final String PROPERTY_FOREGROUND_ICON_OFFSET = "mapbox-property-foreground-icon-offset";
- static final String PROPERTY_SHADOW_ICON_OFFSET = "mapbox-property-shadow-icon-offset";
- static final String PROPERTY_FOREGROUND_ICON = "mapbox-property-foreground-icon";
- static final String PROPERTY_BACKGROUND_ICON = "mapbox-property-background-icon";
- static final String PROPERTY_FOREGROUND_STALE_ICON = "mapbox-property-foreground-stale-icon";
- static final String PROPERTY_BACKGROUND_STALE_ICON = "mapbox-property-background-stale-icon";
- static final String PROPERTY_BEARING_ICON = "mapbox-property-shadow-icon";
-
- // Layers
- static final String SHADOW_LAYER = "mapbox-location-shadow";
- static final String FOREGROUND_LAYER = "mapbox-location-layer";
- static final String BACKGROUND_LAYER = "mapbox-location-stroke-layer";
- static final String ACCURACY_LAYER = "mapbox-location-accuracy-layer";
- static final String BEARING_LAYER = "mapbox-location-bearing-layer";
-
- // Icons
- static final String FOREGROUND_ICON = "mapbox-location-icon";
- static final String BACKGROUND_ICON = "mapbox-location-stroke-icon";
- static final String FOREGROUND_STALE_ICON = "mapbox-location-stale-icon";
- static final String BACKGROUND_STALE_ICON = "mapbox-location-background-stale-icon";
- static final String SHADOW_ICON = "mapbox-location-shadow-icon";
- static final String BEARING_ICON = "mapbox-location-bearing-icon";
-
- private LocationLayerConstants() {
- // Class should not be initialized
- }
-}