Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Expose LocationComponent's layer IDs #14155

Merged
merged 1 commit into from
Mar 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.mapbox.mapboxsdk.location;

/**
* Contains all the constants being used for the Location layer.
* Contains all the constants being used for the {@link LocationComponent}.
*/
final class LocationComponentConstants {

Expand Down Expand Up @@ -49,11 +49,31 @@ final class LocationComponentConstants {
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";

/**
* Layer ID of the location shadow.
*/
public static final String SHADOW_LAYER = "mapbox-location-shadow-layer";

/**
* Layer ID of the location foreground icon.
*/
public static final String FOREGROUND_LAYER = "mapbox-location-foreground-layer";

/**
* Layer ID of the location background icon.
*/
public static final String BACKGROUND_LAYER = "mapbox-location-background-layer";

/**
* Layer ID of the location accuracy.
*/
public static final String ACCURACY_LAYER = "mapbox-location-accuracy-layer";

/**
* Layer ID of the location bearing icon.
*/
public static final String BEARING_LAYER = "mapbox-location-bearing-layer";

// Icons
static final String FOREGROUND_ICON = "mapbox-location-icon";
Expand Down