Replace mapbox watermark on the maps with maplibre #643 and replace mapbox resource names (#647)

Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
This commit is contained in:
Bart Louwers
2023-01-04 11:32:11 +01:00
committed by GitHub
parent da9c7ae2a5
commit d51759b137
166 changed files with 799 additions and 793 deletions

View File

@@ -7,6 +7,7 @@ MapLibre welcomes participation and contributions from everyone. Please read [`C
### ✨ Features and improvements
* Add your pull request...
* Breaking: Changed resourcePrefix to `maplibre_` from `mapbox_` [647](https://github.com/maplibre/maplibre-gl-native/pull/647) and renamed resources accordingly. Note that this is a breaking change since the names of public resources were renamed as well. Replaced Mapbox logo with MapLibre logo.
* GMS location: Replace new LocationRequest() with LocationRequest.Builder, and LocationRequest.PRIORITY_X with Priority.PRIORITY_X ([620](https://github.com/maplibre/maplibre-gl-native/pull/620))
### 🐞 Bug fixes

View File

@@ -53,7 +53,7 @@ android {
nativeBuild(nativeTargets)
// avoid naming conflicts, force usage of prefix
resourcePrefix 'mapbox_'
resourcePrefix 'maplibre_'
sourceSets {
// limit amount of exposed library resources

View File

@@ -67,22 +67,22 @@ public class BubbleLayout extends LinearLayout {
public BubbleLayout(@NonNull Context context, AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
TypedArray a = getContext().obtainStyledAttributes(attrs, R.styleable.mapbox_BubbleLayout);
TypedArray a = getContext().obtainStyledAttributes(attrs, R.styleable.maplibre_BubbleLayout);
@ArrowDirection.Value
int location = a.getInt(R.styleable.mapbox_BubbleLayout_mapbox_bl_arrowDirection,
int location = a.getInt(R.styleable.maplibre_BubbleLayout_maplibre_bl_arrowDirection,
ArrowDirection.LEFT);
arrowDirection = new ArrowDirection(location);
arrowWidth = a.getDimension(R.styleable.mapbox_BubbleLayout_mapbox_bl_arrowWidth,
arrowWidth = a.getDimension(R.styleable.maplibre_BubbleLayout_maplibre_bl_arrowWidth,
convertDpToPixel(8, context));
arrowHeight = a.getDimension(R.styleable.mapbox_BubbleLayout_mapbox_bl_arrowHeight,
arrowHeight = a.getDimension(R.styleable.maplibre_BubbleLayout_maplibre_bl_arrowHeight,
convertDpToPixel(8, context));
arrowPosition = a.getDimension(R.styleable.mapbox_BubbleLayout_mapbox_bl_arrowPosition,
arrowPosition = a.getDimension(R.styleable.maplibre_BubbleLayout_maplibre_bl_arrowPosition,
convertDpToPixel(12, context));
cornersRadius = a.getDimension(R.styleable.mapbox_BubbleLayout_mapbox_bl_cornersRadius, 0);
bubbleColor = a.getColor(R.styleable.mapbox_BubbleLayout_mapbox_bl_bubbleColor, Color.WHITE);
cornersRadius = a.getDimension(R.styleable.maplibre_BubbleLayout_maplibre_bl_cornersRadius, 0);
bubbleColor = a.getColor(R.styleable.maplibre_BubbleLayout_maplibre_bl_bubbleColor, Color.WHITE);
strokeWidth =
a.getDimension(R.styleable.mapbox_BubbleLayout_mapbox_bl_strokeWidth, DEFAULT_STROKE_WIDTH);
strokeColor = a.getColor(R.styleable.mapbox_BubbleLayout_mapbox_bl_strokeColor, Color.GRAY);
a.getDimension(R.styleable.maplibre_BubbleLayout_maplibre_bl_strokeWidth, DEFAULT_STROKE_WIDTH);
strokeColor = a.getColor(R.styleable.maplibre_BubbleLayout_maplibre_bl_strokeColor, Color.GRAY);
a.recycle();
initPadding();

View File

@@ -25,9 +25,9 @@ class BubblePopupHelper {
// change background color to transparent
Drawable drawable;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
drawable = context.getDrawable(R.drawable.mapbox_popup_window_transparent);
drawable = context.getDrawable(R.drawable.maplibre_popup_window_transparent);
} else {
drawable = context.getResources().getDrawable(R.drawable.mapbox_popup_window_transparent);
drawable = context.getResources().getDrawable(R.drawable.maplibre_popup_window_transparent);
}
popupWindow.setBackgroundDrawable(drawable);

View File

@@ -117,7 +117,7 @@ public final class IconFactory {
*/
public Icon defaultMarker() {
if (defaultMarker == null) {
defaultMarker = fromResource(R.drawable.mapbox_marker_icon_default);
defaultMarker = fromResource(R.drawable.maplibre_marker_icon_default);
}
return defaultMarker;
}

View File

@@ -154,8 +154,8 @@ public class InfoWindow {
final float mapRight = mapView.getRight();
final float mapLeft = mapView.getLeft();
float marginHorizontal = resources.getDimension(R.dimen.mapbox_infowindow_margin);
float tipViewOffset = resources.getDimension(R.dimen.mapbox_infowindow_tipview_width) / 2;
float marginHorizontal = resources.getDimension(R.dimen.maplibre_infowindow_margin);
float tipViewOffset = resources.getDimension(R.dimen.maplibre_infowindow_tipview_width) / 2;
float tipViewMarginLeft = view.getMeasuredWidth() / 2 - tipViewOffset;
boolean outOfBoundsLeft = false;

View File

@@ -244,7 +244,7 @@ public class Marker extends Annotation {
@Nullable
private InfoWindow getInfoWindow(@NonNull MapView mapView) {
if (infoWindow == null && mapView.getContext() != null) {
infoWindow = new InfoWindow(mapView, R.layout.mapbox_infowindow_content, getMapboxMap());
infoWindow = new InfoWindow(mapView, R.layout.maplibre_infowindow_content, getMapboxMap());
}
return infoWindow;
}

View File

@@ -223,12 +223,12 @@ class CameraPosition
*/
constructor(typedArray: TypedArray?) : super() {
if (typedArray != null) {
bearing = typedArray.getFloat(R.styleable.mapbox_MapView_mapbox_cameraBearing, 0.0f).toDouble()
val lat = typedArray.getFloat(R.styleable.mapbox_MapView_mapbox_cameraTargetLat, 0.0f).toDouble()
val lng = typedArray.getFloat(R.styleable.mapbox_MapView_mapbox_cameraTargetLng, 0.0f).toDouble()
bearing = typedArray.getFloat(R.styleable.maplibre_MapView_maplibre_cameraBearing, 0.0f).toDouble()
val lat = typedArray.getFloat(R.styleable.maplibre_MapView_maplibre_cameraTargetLat, 0.0f).toDouble()
val lng = typedArray.getFloat(R.styleable.maplibre_MapView_maplibre_cameraTargetLng, 0.0f).toDouble()
target = LatLng(lat, lng)
tilt = typedArray.getFloat(R.styleable.mapbox_MapView_mapbox_cameraTilt, 0.0f).toDouble()
zoom = typedArray.getFloat(R.styleable.mapbox_MapView_mapbox_cameraZoom, 0.0f).toDouble()
tilt = typedArray.getFloat(R.styleable.maplibre_MapView_maplibre_cameraTilt, 0.0f).toDouble()
zoom = typedArray.getFloat(R.styleable.maplibre_MapView_maplibre_cameraZoom, 0.0f).toDouble()
}
}

View File

@@ -27,7 +27,7 @@ class LayerBitmapProvider {
}
Bitmap generateShadowBitmap(@NonNull LocationComponentOptions options) {
Drawable shadowDrawable = BitmapUtils.getDrawableFromRes(context, R.drawable.mapbox_user_icon_shadow);
Drawable shadowDrawable = BitmapUtils.getDrawableFromRes(context, R.drawable.maplibre_user_icon_shadow);
return generateShadow(shadowDrawable, options.elevation());
}
}

View File

@@ -248,7 +248,7 @@ public final class LocationComponent {
@Deprecated
public void activateLocationComponent(@NonNull Context context, @NonNull Style style) {
activateLocationComponent(context, style,
LocationComponentOptions.createFromAttributes(context, R.style.mapbox_LocationComponent));
LocationComponentOptions.createFromAttributes(context, R.style.maplibre_LocationComponent));
}
/**
@@ -265,9 +265,9 @@ public final class LocationComponent {
public void activateLocationComponent(@NonNull Context context, @NonNull Style style,
boolean useDefaultLocationEngine) {
if (useDefaultLocationEngine) {
activateLocationComponent(context, style, R.style.mapbox_LocationComponent);
activateLocationComponent(context, style, R.style.maplibre_LocationComponent);
} else {
activateLocationComponent(context, style, null, R.style.mapbox_LocationComponent);
activateLocationComponent(context, style, null, R.style.maplibre_LocationComponent);
}
}
@@ -288,9 +288,9 @@ public final class LocationComponent {
@NonNull LocationEngineRequest locationEngineRequest) {
setLocationEngineRequest(locationEngineRequest);
if (useDefaultLocationEngine) {
activateLocationComponent(context, style, R.style.mapbox_LocationComponent);
activateLocationComponent(context, style, R.style.maplibre_LocationComponent);
} else {
activateLocationComponent(context, style, null, R.style.mapbox_LocationComponent);
activateLocationComponent(context, style, null, R.style.maplibre_LocationComponent);
}
}
@@ -402,7 +402,7 @@ public final class LocationComponent {
@Deprecated
public void activateLocationComponent(@NonNull Context context, @NonNull Style style,
@Nullable LocationEngine locationEngine) {
activateLocationComponent(context, style, locationEngine, R.style.mapbox_LocationComponent);
activateLocationComponent(context, style, locationEngine, R.style.maplibre_LocationComponent);
}
/**
@@ -418,7 +418,12 @@ public final class LocationComponent {
public void activateLocationComponent(@NonNull Context context, @NonNull Style style,
@Nullable LocationEngine locationEngine,
@NonNull LocationEngineRequest locationEngineRequest) {
activateLocationComponent(context, style, locationEngine, locationEngineRequest, R.style.mapbox_LocationComponent);
activateLocationComponent(
context,
style,
locationEngine,
locationEngineRequest,
R.style.maplibre_LocationComponent);
}
/**
@@ -472,7 +477,7 @@ public final class LocationComponent {
if (options == null) {
int styleRes = activationOptions.styleRes();
if (styleRes == 0) {
styleRes = R.style.mapbox_LocationComponent;
styleRes = R.style.maplibre_LocationComponent;
}
options = LocationComponentOptions.createFromAttributes(activationOptions.context(), styleRes);
}

View File

@@ -246,7 +246,7 @@ public class LocationComponentOptions implements Parcelable {
@StyleRes int styleRes) {
TypedArray typedArray = context.obtainStyledAttributes(
styleRes, R.styleable.mapbox_LocationComponent);
styleRes, R.styleable.maplibre_LocationComponent);
LocationComponentOptions.Builder builder = new LocationComponentOptions.Builder()
.enableStaleState(true)
@@ -256,120 +256,120 @@ public class LocationComponentOptions implements Parcelable {
.padding(PADDING_DEFAULT);
builder.foregroundDrawable(typedArray.getResourceId(
R.styleable.mapbox_LocationComponent_mapbox_foregroundDrawable, -1));
if (typedArray.hasValue(R.styleable.mapbox_LocationComponent_mapbox_foregroundTintColor)) {
R.styleable.maplibre_LocationComponent_maplibre_foregroundDrawable, -1));
if (typedArray.hasValue(R.styleable.maplibre_LocationComponent_maplibre_foregroundTintColor)) {
builder.foregroundTintColor(typedArray.getColor(
R.styleable.mapbox_LocationComponent_mapbox_foregroundTintColor, -1));
R.styleable.maplibre_LocationComponent_maplibre_foregroundTintColor, -1));
}
builder.backgroundDrawable(typedArray.getResourceId(
R.styleable.mapbox_LocationComponent_mapbox_backgroundDrawable, -1));
if (typedArray.hasValue(R.styleable.mapbox_LocationComponent_mapbox_backgroundTintColor)) {
R.styleable.maplibre_LocationComponent_maplibre_backgroundDrawable, -1));
if (typedArray.hasValue(R.styleable.maplibre_LocationComponent_maplibre_backgroundTintColor)) {
builder.backgroundTintColor(typedArray.getColor(
R.styleable.mapbox_LocationComponent_mapbox_backgroundTintColor, -1));
R.styleable.maplibre_LocationComponent_maplibre_backgroundTintColor, -1));
}
builder.foregroundDrawableStale(typedArray.getResourceId(
R.styleable.mapbox_LocationComponent_mapbox_foregroundDrawableStale, -1));
if (typedArray.hasValue(R.styleable.mapbox_LocationComponent_mapbox_foregroundStaleTintColor)) {
R.styleable.maplibre_LocationComponent_maplibre_foregroundDrawableStale, -1));
if (typedArray.hasValue(R.styleable.maplibre_LocationComponent_maplibre_foregroundStaleTintColor)) {
builder.foregroundStaleTintColor(typedArray.getColor(
R.styleable.mapbox_LocationComponent_mapbox_foregroundStaleTintColor, -1));
R.styleable.maplibre_LocationComponent_maplibre_foregroundStaleTintColor, -1));
}
builder.backgroundDrawableStale(typedArray.getResourceId(
R.styleable.mapbox_LocationComponent_mapbox_backgroundDrawableStale, -1));
if (typedArray.hasValue(R.styleable.mapbox_LocationComponent_mapbox_backgroundStaleTintColor)) {
R.styleable.maplibre_LocationComponent_maplibre_backgroundDrawableStale, -1));
if (typedArray.hasValue(R.styleable.maplibre_LocationComponent_maplibre_backgroundStaleTintColor)) {
builder.backgroundStaleTintColor(typedArray.getColor(
R.styleable.mapbox_LocationComponent_mapbox_backgroundStaleTintColor, -1));
R.styleable.maplibre_LocationComponent_maplibre_backgroundStaleTintColor, -1));
}
builder.bearingDrawable(typedArray.getResourceId(
R.styleable.mapbox_LocationComponent_mapbox_bearingDrawable, -1));
if (typedArray.hasValue(R.styleable.mapbox_LocationComponent_mapbox_bearingTintColor)) {
R.styleable.maplibre_LocationComponent_maplibre_bearingDrawable, -1));
if (typedArray.hasValue(R.styleable.maplibre_LocationComponent_maplibre_bearingTintColor)) {
builder.bearingTintColor(typedArray.getColor(
R.styleable.mapbox_LocationComponent_mapbox_bearingTintColor, -1));
R.styleable.maplibre_LocationComponent_maplibre_bearingTintColor, -1));
}
if (typedArray.hasValue(R.styleable.mapbox_LocationComponent_mapbox_enableStaleState)) {
if (typedArray.hasValue(R.styleable.maplibre_LocationComponent_maplibre_enableStaleState)) {
builder.enableStaleState(typedArray.getBoolean(
R.styleable.mapbox_LocationComponent_mapbox_enableStaleState, true));
R.styleable.maplibre_LocationComponent_maplibre_enableStaleState, true));
}
if (typedArray.hasValue(R.styleable.mapbox_LocationComponent_mapbox_staleStateTimeout)) {
if (typedArray.hasValue(R.styleable.maplibre_LocationComponent_maplibre_staleStateTimeout)) {
builder.staleStateTimeout(typedArray.getInteger(
R.styleable.mapbox_LocationComponent_mapbox_staleStateTimeout, (int) STALE_STATE_DELAY_MS));
R.styleable.maplibre_LocationComponent_maplibre_staleStateTimeout, (int) STALE_STATE_DELAY_MS));
}
builder.gpsDrawable(typedArray.getResourceId(
R.styleable.mapbox_LocationComponent_mapbox_gpsDrawable, -1));
R.styleable.maplibre_LocationComponent_maplibre_gpsDrawable, -1));
float elevation = typedArray.getDimension(
R.styleable.mapbox_LocationComponent_mapbox_elevation, 0);
R.styleable.maplibre_LocationComponent_maplibre_elevation, 0);
builder.accuracyColor(typedArray.getColor(
R.styleable.mapbox_LocationComponent_mapbox_accuracyColor, -1));
R.styleable.maplibre_LocationComponent_maplibre_accuracyColor, -1));
builder.accuracyAlpha(typedArray.getFloat(
R.styleable.mapbox_LocationComponent_mapbox_accuracyAlpha, ACCURACY_ALPHA_DEFAULT));
R.styleable.maplibre_LocationComponent_maplibre_accuracyAlpha, ACCURACY_ALPHA_DEFAULT));
builder.elevation(elevation);
builder.trackingGesturesManagement(typedArray.getBoolean(
R.styleable.mapbox_LocationComponent_mapbox_trackingGesturesManagement, false));
R.styleable.maplibre_LocationComponent_maplibre_trackingGesturesManagement, false));
builder.trackingInitialMoveThreshold(typedArray.getDimension(
R.styleable.mapbox_LocationComponent_mapbox_trackingInitialMoveThreshold,
context.getResources().getDimension(R.dimen.mapbox_locationComponentTrackingInitialMoveThreshold)));
R.styleable.maplibre_LocationComponent_maplibre_trackingInitialMoveThreshold,
context.getResources().getDimension(R.dimen.maplibre_locationComponentTrackingInitialMoveThreshold)));
builder.trackingMultiFingerMoveThreshold(typedArray.getDimension(
R.styleable.mapbox_LocationComponent_mapbox_trackingMultiFingerMoveThreshold,
context.getResources().getDimension(R.dimen.mapbox_locationComponentTrackingMultiFingerMoveThreshold)));
R.styleable.maplibre_LocationComponent_maplibre_trackingMultiFingerMoveThreshold,
context.getResources().getDimension(R.dimen.maplibre_locationComponentTrackingMultiFingerMoveThreshold)));
builder.padding(new int[] {
typedArray.getInt(R.styleable.mapbox_LocationComponent_mapbox_iconPaddingLeft, 0),
typedArray.getInt(R.styleable.mapbox_LocationComponent_mapbox_iconPaddingTop, 0),
typedArray.getInt(R.styleable.mapbox_LocationComponent_mapbox_iconPaddingRight, 0),
typedArray.getInt(R.styleable.mapbox_LocationComponent_mapbox_iconPaddingBottom, 0),
typedArray.getInt(R.styleable.maplibre_LocationComponent_maplibre_iconPaddingLeft, 0),
typedArray.getInt(R.styleable.maplibre_LocationComponent_maplibre_iconPaddingTop, 0),
typedArray.getInt(R.styleable.maplibre_LocationComponent_maplibre_iconPaddingRight, 0),
typedArray.getInt(R.styleable.maplibre_LocationComponent_maplibre_iconPaddingBottom, 0),
});
builder.layerAbove(
typedArray.getString(R.styleable.mapbox_LocationComponent_mapbox_layer_above));
typedArray.getString(R.styleable.maplibre_LocationComponent_maplibre_layer_above));
builder.layerBelow(
typedArray.getString(R.styleable.mapbox_LocationComponent_mapbox_layer_below));
typedArray.getString(R.styleable.maplibre_LocationComponent_maplibre_layer_below));
float minScale = typedArray.getFloat(
R.styleable.mapbox_LocationComponent_mapbox_minZoomIconScale, MIN_ZOOM_ICON_SCALE_DEFAULT);
R.styleable.maplibre_LocationComponent_maplibre_minZoomIconScale, MIN_ZOOM_ICON_SCALE_DEFAULT);
float maxScale = typedArray.getFloat(
R.styleable.mapbox_LocationComponent_mapbox_maxZoomIconScale, MAX_ZOOM_ICON_SCALE_DEFAULT);
R.styleable.maplibre_LocationComponent_maplibre_maxZoomIconScale, MAX_ZOOM_ICON_SCALE_DEFAULT);
builder.minZoomIconScale(minScale);
builder.maxZoomIconScale(maxScale);
float trackingAnimationDurationMultiplier = typedArray.getFloat(
R.styleable.mapbox_LocationComponent_mapbox_trackingAnimationDurationMultiplier,
R.styleable.maplibre_LocationComponent_maplibre_trackingAnimationDurationMultiplier,
TRACKING_ANIMATION_DURATION_MULTIPLIER_DEFAULT
);
builder.trackingAnimationDurationMultiplier(trackingAnimationDurationMultiplier);
builder.compassAnimationEnabled = typedArray.getBoolean(
R.styleable.mapbox_LocationComponent_mapbox_compassAnimationEnabled, true
R.styleable.maplibre_LocationComponent_maplibre_compassAnimationEnabled, true
);
builder.accuracyAnimationEnabled = typedArray.getBoolean(
R.styleable.mapbox_LocationComponent_mapbox_accuracyAnimationEnabled, true
R.styleable.maplibre_LocationComponent_maplibre_accuracyAnimationEnabled, true
);
builder.pulseEnabled = typedArray.getBoolean(
R.styleable.mapbox_LocationComponent_mapbox_pulsingLocationCircleEnabled, false
R.styleable.maplibre_LocationComponent_maplibre_pulsingLocationCircleEnabled, false
);
builder.pulseFadeEnabled = typedArray.getBoolean(
R.styleable.mapbox_LocationComponent_mapbox_pulsingLocationCircleFadeEnabled, true
R.styleable.maplibre_LocationComponent_maplibre_pulsingLocationCircleFadeEnabled, true
);
if (typedArray.hasValue(R.styleable.mapbox_LocationComponent_mapbox_pulsingLocationCircleColor)) {
if (typedArray.hasValue(R.styleable.maplibre_LocationComponent_maplibre_pulsingLocationCircleColor)) {
builder.pulseColor(typedArray.getColor(
R.styleable.mapbox_LocationComponent_mapbox_pulsingLocationCircleColor,
R.styleable.maplibre_LocationComponent_maplibre_pulsingLocationCircleColor,
-1));
}
builder.pulseSingleDuration = typedArray.getFloat(
R.styleable.mapbox_LocationComponent_mapbox_pulsingLocationCircleDuration, CIRCLE_PULSING_DURATION_DEFAULT_MS
R.styleable.maplibre_LocationComponent_maplibre_pulsingLocationCircleDuration, CIRCLE_PULSING_DURATION_DEFAULT_MS
);
builder.pulseMaxRadius = typedArray.getFloat(
R.styleable.mapbox_LocationComponent_mapbox_pulsingLocationCircleRadius, CIRCLE_PULSING_MAX_RADIUS_DEFAULT
R.styleable.maplibre_LocationComponent_maplibre_pulsingLocationCircleRadius, CIRCLE_PULSING_MAX_RADIUS_DEFAULT
);
builder.pulseAlpha = typedArray.getFloat(
R.styleable.mapbox_LocationComponent_mapbox_pulsingLocationCircleAlpha, CIRCLE_PULSING_ALPHA_DEFAULT);
R.styleable.maplibre_LocationComponent_maplibre_pulsingLocationCircleAlpha, CIRCLE_PULSING_ALPHA_DEFAULT);
typedArray.recycle();
@@ -399,7 +399,7 @@ public class LocationComponentOptions implements Parcelable {
@NonNull
public static Builder builder(@NonNull Context context) {
return LocationComponentOptions.createFromAttributes(context,
R.style.mapbox_LocationComponent).toBuilder();
R.style.maplibre_LocationComponent).toBuilder();
}
/**
@@ -438,7 +438,7 @@ public class LocationComponentOptions implements Parcelable {
/**
* String image name, identical to one used in
* the first parameter of {@link com.mapbox.mapboxsdk.maps.Style.Builder#addImage(String, Bitmap)}, the
* component, will use this image in place of the provided or default mapbox_foregroundDrawableStale.
* component, will use this image in place of the provided or default maplibre_foregroundDrawableStale.
* <p>
* A maki-icon name (example: "circle-15") may also be provided. These are images that can be loaded
* with certain styles. Note, this will fail if the provided icon name is not provided by the loaded map style.
@@ -465,7 +465,7 @@ public class LocationComponentOptions implements Parcelable {
/**
* String image name, identical to one used in
* the first parameter of {@link com.mapbox.mapboxsdk.maps.Style.Builder#addImage(String, Bitmap)}, the
* component, will used this image in place of the provided or default mapbox_foregroundDrawableStale.
* component, will used this image in place of the provided or default maplibre_foregroundDrawableStale.
* <p>
* A maki-icon name (example: "circle-15") may also be provided. These are images that can be loaded
* with certain styles. Note, this will fail if the provided icon name is not provided by the loaded map style.
@@ -492,7 +492,7 @@ public class LocationComponentOptions implements Parcelable {
/**
* String image name, identical to one used in
* the first parameter of {@link com.mapbox.mapboxsdk.maps.Style.Builder#addImage(String, Bitmap)}, the
* component, will used this image in place of the provided or default mapbox_gpsDrawable.
* component, will used this image in place of the provided or default maplibre_gpsDrawable.
* <p>
* A maki-icon name (example: "circle-15") may also be provided. These are images that can be loaded
* with certain styles. Note, this will fail if the provided icon name is not provided by the loaded map style.
@@ -519,7 +519,7 @@ public class LocationComponentOptions implements Parcelable {
/**
* String image name, identical to one used in
* the first parameter of {@link com.mapbox.mapboxsdk.maps.Style.Builder#addImage(String, Bitmap)}, the
* component, will used this image in place of the provided or default mapbox_foregroundDrawable.
* component, will used this image in place of the provided or default maplibre_foregroundDrawable.
* <p>
* A maki-icon name (example: "circle-15") may also be provided. These are images that can be loaded
* with certain styles. Note, this will fail if the provided icon name is not provided by the loaded map style.
@@ -546,7 +546,7 @@ public class LocationComponentOptions implements Parcelable {
/**
* String image name, identical to one used in
* the first parameter of {@link com.mapbox.mapboxsdk.maps.Style.Builder#addImage(String, Bitmap)}, the
* component, will used this image in place of the provided or default mapbox_backgroundDrawable.
* component, will used this image in place of the provided or default maplibre_backgroundDrawable.
* <p>
* A maki-icon name (example: "circle-15") may also be provided. These are images that can be loaded
* with certain styles. Note, this will fail if the provided icon name is not provided by the loaded map style.
@@ -573,7 +573,7 @@ public class LocationComponentOptions implements Parcelable {
/**
* String image name, identical to one used in
* the first parameter of {@link com.mapbox.mapboxsdk.maps.Style.Builder#addImage(String, Bitmap)}, the
* component, will used this image in place of the provided or default mapbox_bearingDrawable.
* component, will used this image in place of the provided or default maplibre_bearingDrawable.
* <p>
* A maki-icon name (example: "circle-15") may also be provided. These are images that can be loaded
* with certain styles. Note, this will fail if the provided icon name is not provided by the loaded map style.
@@ -1438,7 +1438,7 @@ public class LocationComponentOptions implements Parcelable {
/**
* Given a String image name, identical to one used in
* the first parameter of {@link com.mapbox.mapboxsdk.maps.Style.Builder#addImage(String, Bitmap)}, the
* component, will used this image in place of the provided or default mapbox_backgroundDrawableStale.
* component, will used this image in place of the provided or default maplibre_backgroundDrawableStale.
* <p>
* A maki-icon name (example: "circle-15") may also be provided. These are images that can be loaded
* with certain styles. Note, this will fail if the provided icon name is not provided by the loaded map style.
@@ -1469,7 +1469,7 @@ public class LocationComponentOptions implements Parcelable {
/**
* Given a String image name, identical to one used in
* the first parameter of {@link com.mapbox.mapboxsdk.maps.Style.Builder#addImage(String, Bitmap)}, the
* component, will used this image in place of the provided or default mapbox_foregroundDrawableStale.
* component, will used this image in place of the provided or default maplibre_foregroundDrawableStale.
* <p>
* A maki-icon name (example: "circle-15") may also be provided. These are images that can be loaded
* with certain styles. Note, this will fail if the provided icon name is not provided by the loaded map style.
@@ -1500,7 +1500,7 @@ public class LocationComponentOptions implements Parcelable {
/**
* Given a String image name, identical to one used in
* the first parameter of {@link com.mapbox.mapboxsdk.maps.Style.Builder#addImage(String, Bitmap)}, the
* component, will used this image in place of the provided or default mapbox_gpsDrawable.
* component, will used this image in place of the provided or default maplibre_gpsDrawable.
* <p>
* A maki-icon name (example: "circle-15") may also be provided. These are images that can be loaded
* with certain styles. Note, this will fail if the provided icon name is not provided by the loaded map style.
@@ -1531,7 +1531,7 @@ public class LocationComponentOptions implements Parcelable {
/**
* Given a String image name, identical to one used in
* the first parameter of {@link com.mapbox.mapboxsdk.maps.Style.Builder#addImage(String, Bitmap)}, the
* component, will used this image in place of the provided or default mapbox_foregroundDrawable.
* component, will used this image in place of the provided or default maplibre_foregroundDrawable.
* <p>
* A maki-icon name (example: "circle-15") may also be provided. These are images that can be loaded
* with certain styles. Note, this will fail if the provided icon name is not provided by the loaded map style.
@@ -1562,7 +1562,7 @@ public class LocationComponentOptions implements Parcelable {
/**
* Given a String image name, identical to one used in
* the first parameter of {@link com.mapbox.mapboxsdk.maps.Style.Builder#addImage(String, Bitmap)}, the
* component, will used this image in place of the provided or default mapbox_backgroundDrawable.
* component, will used this image in place of the provided or default maplibre_backgroundDrawable.
* <p>
* A maki-icon name (example: "circle-15") may also be provided. These are images that can be loaded
* with certain styles. Note, this will fail if the provided icon name is not provided by the loaded map style.
@@ -1593,7 +1593,7 @@ public class LocationComponentOptions implements Parcelable {
/**
* Given a String image name, identical to one used in
* the first parameter of {@link com.mapbox.mapboxsdk.maps.Style.Builder#addImage(String, Bitmap)}, the
* component, will used this image in place of the provided or default mapbox_bearingDrawable.
* component, will used this image in place of the provided or default maplibre_bearingDrawable.
* <p>
* A maki-icon name (example: "circle-15") may also be provided. These are images that can be loaded
* with certain styles. Note, this will fail if the provided icon name is not provided by the loaded map style.

View File

@@ -345,7 +345,7 @@ class AnnotationManager {
}
private ShapeAnnotationHit getShapeAnnotationHitFromTap(PointF tapPoint) {
float touchTargetSide = Mapbox.getApplicationContext().getResources().getDimension(R.dimen.mapbox_eight_dp);
float touchTargetSide = Mapbox.getApplicationContext().getResources().getDimension(R.dimen.maplibre_eight_dp);
RectF tapRect = new RectF(
tapPoint.x - touchTargetSide,
tapPoint.y - touchTargetSide,

View File

@@ -75,8 +75,8 @@ public class AttributionDialogManager implements View.OnClickListener, DialogInt
protected void showAttributionDialog(@NonNull String[] attributionTitles) {
AlertDialog.Builder builder = new AlertDialog.Builder(context);
builder.setTitle(R.string.mapbox_attributionsDialogTitle);
builder.setAdapter(new ArrayAdapter<>(context, R.layout.mapbox_attribution_list_item, attributionTitles), this);
builder.setTitle(R.string.maplibre_attributionsDialogTitle);
builder.setAdapter(new ArrayAdapter<>(context, R.layout.maplibre_attribution_list_item, attributionTitles), this);
dialog = builder.show();
}
@@ -162,7 +162,7 @@ public class AttributionDialogManager implements View.OnClickListener, DialogInt
context.startActivity(intent);
} catch (ActivityNotFoundException exception) {
// explicitly handling if the device hasn't have a web browser installed. #8899
Toast.makeText(context, R.string.mapbox_attributionErrorNoBrowser, Toast.LENGTH_LONG).show();
Toast.makeText(context, R.string.maplibre_attributionErrorNoBrowser, Toast.LENGTH_LONG).show();
MapStrictMode.strictModeViolation(exception);
}
}

View File

@@ -126,16 +126,16 @@ final class MapGestureDetector {
com.mapbox.android.gestures.R.dimen.mapbox_defaultScaleSpanSinceStartThreshold));
MoveGestureListener moveGestureListener = new MoveGestureListener();
ScaleGestureListener scaleGestureListener = new ScaleGestureListener(
context.getResources().getDimension(R.dimen.mapbox_density_constant),
context.getResources().getDimension(R.dimen.mapbox_minimum_scale_speed),
context.getResources().getDimension(R.dimen.mapbox_minimum_angled_scale_speed),
context.getResources().getDimension(R.dimen.mapbox_minimum_scale_velocity)
context.getResources().getDimension(R.dimen.maplibre_density_constant),
context.getResources().getDimension(R.dimen.maplibre_minimum_scale_speed),
context.getResources().getDimension(R.dimen.maplibre_minimum_angled_scale_speed),
context.getResources().getDimension(R.dimen.maplibre_minimum_scale_velocity)
);
RotateGestureListener rotateGestureListener = new RotateGestureListener(
context.getResources().getDimension(R.dimen.mapbox_minimum_scale_span_when_rotating),
context.getResources().getDimension(R.dimen.mapbox_density_constant),
context.getResources().getDimension(R.dimen.mapbox_angular_velocity_multiplier),
context.getResources().getDimension(R.dimen.mapbox_minimum_angular_velocity),
context.getResources().getDimension(R.dimen.maplibre_minimum_scale_span_when_rotating),
context.getResources().getDimension(R.dimen.maplibre_density_constant),
context.getResources().getDimension(R.dimen.maplibre_angular_velocity_multiplier),
context.getResources().getDimension(R.dimen.maplibre_minimum_angular_velocity),
context.getResources().getDimension(
com.mapbox.android.gestures.R.dimen.mapbox_defaultScaleSpanSinceStartThreshold));
ShoveGestureListener shoveGestureListener = new ShoveGestureListener();

View File

@@ -144,7 +144,7 @@ public class MapView extends FrameLayout implements NativeMapView.ViewCallback {
mapboxMapOptions = options;
// add accessibility support
setContentDescription(context.getString(R.string.mapbox_mapActionDescription));
setContentDescription(context.getString(R.string.maplibre_mapActionDescription));
setWillNotDraw(false);
initialiseDrawingSurface(options);
}
@@ -209,7 +209,7 @@ public class MapView extends FrameLayout implements NativeMapView.ViewCallback {
compassView.setTag("compassView");
compassView.getLayoutParams().width = LayoutParams.WRAP_CONTENT;
compassView.getLayoutParams().height = LayoutParams.WRAP_CONTENT;
compassView.setContentDescription(getResources().getString(R.string.mapbox_compassContentDescription));
compassView.setContentDescription(getResources().getString(R.string.maplibre_compassContentDescription));
compassView.injectCompassAnimationListener(createCompassAnimationListener(cameraDispatcher));
compassView.setOnClickListener(createCompassClickListener(cameraDispatcher));
return compassView;
@@ -224,8 +224,8 @@ public class MapView extends FrameLayout implements NativeMapView.ViewCallback {
attrView.setAdjustViewBounds(true);
attrView.setClickable(true);
attrView.setFocusable(true);
attrView.setContentDescription(getResources().getString(R.string.mapbox_attributionsIconContentDescription));
attrView.setImageDrawable(BitmapUtils.getDrawableFromRes(getContext(), R.drawable.mapbox_info_bg_selector));
attrView.setContentDescription(getResources().getString(R.string.maplibre_attributionsIconContentDescription));
attrView.setImageDrawable(BitmapUtils.getDrawableFromRes(getContext(), R.drawable.maplibre_info_bg_selector));
// inject widgets with MapboxMap
attrView.setOnClickListener(attributionClickListener = new AttributionClickListener(getContext(), mapboxMap));
return attrView;
@@ -237,7 +237,7 @@ public class MapView extends FrameLayout implements NativeMapView.ViewCallback {
logoView.setTag("logoView");
logoView.getLayoutParams().width = LayoutParams.WRAP_CONTENT;
logoView.getLayoutParams().height = LayoutParams.WRAP_CONTENT;
logoView.setImageDrawable(BitmapUtils.getDrawableFromRes(getContext(), R.drawable.mapbox_logo_icon));
logoView.setImageDrawable(BitmapUtils.getDrawableFromRes(getContext(), R.drawable.maplibre_logo_icon));
return logoView;
}

View File

@@ -173,7 +173,7 @@ public class MapboxMapOptions implements Parcelable {
*/
@NonNull
public static MapboxMapOptions createFromAttributes(@NonNull Context context, @Nullable AttributeSet attrs) {
TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.mapbox_MapView, 0, 0);
TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.maplibre_MapView, 0, 0);
return createFromAttributes(new MapboxMapOptions(), context, typedArray);
}
@@ -186,103 +186,103 @@ public class MapboxMapOptions implements Parcelable {
mapboxMapOptions.camera(new CameraPosition.Builder(typedArray).build());
// deprecated
mapboxMapOptions.apiBaseUrl(typedArray.getString(R.styleable.mapbox_MapView_mapbox_apiBaseUrl));
mapboxMapOptions.apiBaseUrl(typedArray.getString(R.styleable.maplibre_MapView_maplibre_apiBaseUrl));
String baseUri = typedArray.getString(R.styleable.mapbox_MapView_mapbox_apiBaseUri);
String baseUri = typedArray.getString(R.styleable.maplibre_MapView_maplibre_apiBaseUri);
if (!TextUtils.isEmpty(baseUri)) {
// override deprecated property if a value of the new type was provided
mapboxMapOptions.apiBaseUri(baseUri);
}
mapboxMapOptions.zoomGesturesEnabled(
typedArray.getBoolean(R.styleable.mapbox_MapView_mapbox_uiZoomGestures, true));
typedArray.getBoolean(R.styleable.maplibre_MapView_maplibre_uiZoomGestures, true));
mapboxMapOptions.scrollGesturesEnabled(
typedArray.getBoolean(R.styleable.mapbox_MapView_mapbox_uiScrollGestures, true));
typedArray.getBoolean(R.styleable.maplibre_MapView_maplibre_uiScrollGestures, true));
mapboxMapOptions.horizontalScrollGesturesEnabled(
typedArray.getBoolean(R.styleable.mapbox_MapView_mapbox_uiHorizontalScrollGestures, true));
typedArray.getBoolean(R.styleable.maplibre_MapView_maplibre_uiHorizontalScrollGestures, true));
mapboxMapOptions.rotateGesturesEnabled(
typedArray.getBoolean(R.styleable.mapbox_MapView_mapbox_uiRotateGestures, true));
typedArray.getBoolean(R.styleable.maplibre_MapView_maplibre_uiRotateGestures, true));
mapboxMapOptions.tiltGesturesEnabled(
typedArray.getBoolean(R.styleable.mapbox_MapView_mapbox_uiTiltGestures, true));
typedArray.getBoolean(R.styleable.maplibre_MapView_maplibre_uiTiltGestures, true));
mapboxMapOptions.doubleTapGesturesEnabled(
typedArray.getBoolean(R.styleable.mapbox_MapView_mapbox_uiDoubleTapGestures, true));
typedArray.getBoolean(R.styleable.maplibre_MapView_maplibre_uiDoubleTapGestures, true));
mapboxMapOptions.quickZoomGesturesEnabled(
typedArray.getBoolean(R.styleable.mapbox_MapView_mapbox_uiQuickZoomGestures, true));
typedArray.getBoolean(R.styleable.maplibre_MapView_maplibre_uiQuickZoomGestures, true));
mapboxMapOptions.maxZoomPreference(typedArray.getFloat(R.styleable.mapbox_MapView_mapbox_cameraZoomMax,
mapboxMapOptions.maxZoomPreference(typedArray.getFloat(R.styleable.maplibre_MapView_maplibre_cameraZoomMax,
MapboxConstants.MAXIMUM_ZOOM));
mapboxMapOptions.minZoomPreference(typedArray.getFloat(R.styleable.mapbox_MapView_mapbox_cameraZoomMin,
mapboxMapOptions.minZoomPreference(typedArray.getFloat(R.styleable.maplibre_MapView_maplibre_cameraZoomMin,
MapboxConstants.MINIMUM_ZOOM));
mapboxMapOptions.maxPitchPreference(typedArray.getFloat(R.styleable.mapbox_MapView_mapbox_cameraPitchMax,
mapboxMapOptions.maxPitchPreference(typedArray.getFloat(R.styleable.maplibre_MapView_maplibre_cameraPitchMax,
MapboxConstants.MAXIMUM_PITCH));
mapboxMapOptions.minPitchPreference(typedArray.getFloat(R.styleable.mapbox_MapView_mapbox_cameraPitchMin,
mapboxMapOptions.minPitchPreference(typedArray.getFloat(R.styleable.maplibre_MapView_maplibre_cameraPitchMin,
MapboxConstants.MINIMUM_PITCH));
mapboxMapOptions.compassEnabled(typedArray.getBoolean(R.styleable.mapbox_MapView_mapbox_uiCompass, true));
mapboxMapOptions.compassGravity(typedArray.getInt(R.styleable.mapbox_MapView_mapbox_uiCompassGravity,
mapboxMapOptions.compassEnabled(typedArray.getBoolean(R.styleable.maplibre_MapView_maplibre_uiCompass, true));
mapboxMapOptions.compassGravity(typedArray.getInt(R.styleable.maplibre_MapView_maplibre_uiCompassGravity,
Gravity.TOP | Gravity.END));
mapboxMapOptions.compassMargins(new int[] {
(int) (typedArray.getDimension(R.styleable.mapbox_MapView_mapbox_uiCompassMarginLeft,
(int) (typedArray.getDimension(R.styleable.maplibre_MapView_maplibre_uiCompassMarginLeft,
FOUR_DP * pxlRatio)),
((int) typedArray.getDimension(R.styleable.mapbox_MapView_mapbox_uiCompassMarginTop,
((int) typedArray.getDimension(R.styleable.maplibre_MapView_maplibre_uiCompassMarginTop,
FOUR_DP * pxlRatio)),
((int) typedArray.getDimension(R.styleable.mapbox_MapView_mapbox_uiCompassMarginRight,
((int) typedArray.getDimension(R.styleable.maplibre_MapView_maplibre_uiCompassMarginRight,
FOUR_DP * pxlRatio)),
((int) typedArray.getDimension(R.styleable.mapbox_MapView_mapbox_uiCompassMarginBottom,
((int) typedArray.getDimension(R.styleable.maplibre_MapView_maplibre_uiCompassMarginBottom,
FOUR_DP * pxlRatio))});
mapboxMapOptions.compassFadesWhenFacingNorth(typedArray.getBoolean(
R.styleable.mapbox_MapView_mapbox_uiCompassFadeFacingNorth, true));
R.styleable.maplibre_MapView_maplibre_uiCompassFadeFacingNorth, true));
Drawable compassDrawable = typedArray.getDrawable(
R.styleable.mapbox_MapView_mapbox_uiCompassDrawable);
R.styleable.maplibre_MapView_maplibre_uiCompassDrawable);
if (compassDrawable == null) {
compassDrawable = ResourcesCompat.getDrawable(context.getResources(), R.drawable.mapbox_compass_icon, null);
compassDrawable = ResourcesCompat.getDrawable(context.getResources(), R.drawable.maplibre_compass_icon, null);
}
mapboxMapOptions.compassImage(compassDrawable);
mapboxMapOptions.logoEnabled(typedArray.getBoolean(R.styleable.mapbox_MapView_mapbox_uiLogo, true));
mapboxMapOptions.logoGravity(typedArray.getInt(R.styleable.mapbox_MapView_mapbox_uiLogoGravity,
mapboxMapOptions.logoEnabled(typedArray.getBoolean(R.styleable.maplibre_MapView_maplibre_uiLogo, true));
mapboxMapOptions.logoGravity(typedArray.getInt(R.styleable.maplibre_MapView_maplibre_uiLogoGravity,
Gravity.BOTTOM | Gravity.START));
mapboxMapOptions.logoMargins(new int[] {
(int) (typedArray.getDimension(R.styleable.mapbox_MapView_mapbox_uiLogoMarginLeft,
(int) (typedArray.getDimension(R.styleable.maplibre_MapView_maplibre_uiLogoMarginLeft,
FOUR_DP * pxlRatio)),
(int) (typedArray.getDimension(R.styleable.mapbox_MapView_mapbox_uiLogoMarginTop,
(int) (typedArray.getDimension(R.styleable.maplibre_MapView_maplibre_uiLogoMarginTop,
FOUR_DP * pxlRatio)),
(int) (typedArray.getDimension(R.styleable.mapbox_MapView_mapbox_uiLogoMarginRight,
(int) (typedArray.getDimension(R.styleable.maplibre_MapView_maplibre_uiLogoMarginRight,
FOUR_DP * pxlRatio)),
(int) (typedArray.getDimension(R.styleable.mapbox_MapView_mapbox_uiLogoMarginBottom,
(int) (typedArray.getDimension(R.styleable.maplibre_MapView_maplibre_uiLogoMarginBottom,
FOUR_DP * pxlRatio))});
mapboxMapOptions.attributionTintColor(typedArray.getColor(
R.styleable.mapbox_MapView_mapbox_uiAttributionTintColor, UNDEFINED_COLOR));
R.styleable.maplibre_MapView_maplibre_uiAttributionTintColor, UNDEFINED_COLOR));
mapboxMapOptions.attributionEnabled(typedArray.getBoolean(
R.styleable.mapbox_MapView_mapbox_uiAttribution, true));
R.styleable.maplibre_MapView_maplibre_uiAttribution, true));
mapboxMapOptions.attributionGravity(typedArray.getInt(
R.styleable.mapbox_MapView_mapbox_uiAttributionGravity, Gravity.BOTTOM | Gravity.START));
R.styleable.maplibre_MapView_maplibre_uiAttributionGravity, Gravity.BOTTOM | Gravity.START));
mapboxMapOptions.attributionMargins(new int[] {
(int) (typedArray.getDimension(R.styleable.mapbox_MapView_mapbox_uiAttributionMarginLeft,
(int) (typedArray.getDimension(R.styleable.maplibre_MapView_maplibre_uiAttributionMarginLeft,
NINETY_TWO_DP * pxlRatio)),
(int) (typedArray.getDimension(R.styleable.mapbox_MapView_mapbox_uiAttributionMarginTop,
(int) (typedArray.getDimension(R.styleable.maplibre_MapView_maplibre_uiAttributionMarginTop,
FOUR_DP * pxlRatio)),
(int) (typedArray.getDimension(R.styleable.mapbox_MapView_mapbox_uiAttributionMarginRight,
(int) (typedArray.getDimension(R.styleable.maplibre_MapView_maplibre_uiAttributionMarginRight,
FOUR_DP * pxlRatio)),
(int) (typedArray.getDimension(R.styleable.mapbox_MapView_mapbox_uiAttributionMarginBottom,
(int) (typedArray.getDimension(R.styleable.maplibre_MapView_maplibre_uiAttributionMarginBottom,
FOUR_DP * pxlRatio))});
mapboxMapOptions.textureMode(
typedArray.getBoolean(R.styleable.mapbox_MapView_mapbox_renderTextureMode, false));
typedArray.getBoolean(R.styleable.maplibre_MapView_maplibre_renderTextureMode, false));
mapboxMapOptions.translucentTextureSurface(
typedArray.getBoolean(R.styleable.mapbox_MapView_mapbox_renderTextureTranslucentSurface, false));
typedArray.getBoolean(R.styleable.maplibre_MapView_maplibre_renderTextureTranslucentSurface, false));
mapboxMapOptions.setPrefetchesTiles(
typedArray.getBoolean(R.styleable.mapbox_MapView_mapbox_enableTilePrefetch, true));
typedArray.getBoolean(R.styleable.maplibre_MapView_maplibre_enableTilePrefetch, true));
mapboxMapOptions.setPrefetchZoomDelta(
typedArray.getInt(R.styleable.mapbox_MapView_mapbox_prefetchZoomDelta, 4));
typedArray.getInt(R.styleable.maplibre_MapView_maplibre_prefetchZoomDelta, 4));
mapboxMapOptions.renderSurfaceOnTop(
typedArray.getBoolean(R.styleable.mapbox_MapView_mapbox_enableZMediaOverlay, false));
typedArray.getBoolean(R.styleable.maplibre_MapView_maplibre_enableZMediaOverlay, false));
mapboxMapOptions.localIdeographFontFamilyEnabled =
typedArray.getBoolean(R.styleable.mapbox_MapView_mapbox_localIdeographEnabled, true);
typedArray.getBoolean(R.styleable.maplibre_MapView_maplibre_localIdeographEnabled, true);
int localIdeographFontFamiliesResId =
typedArray.getResourceId(R.styleable.mapbox_MapView_mapbox_localIdeographFontFamilies, 0);
typedArray.getResourceId(R.styleable.maplibre_MapView_maplibre_localIdeographFontFamilies, 0);
if (localIdeographFontFamiliesResId != 0) {
String[] localIdeographFontFamilies =
context.getResources().getStringArray(localIdeographFontFamiliesResId);
@@ -290,7 +290,7 @@ public class MapboxMapOptions implements Parcelable {
} else {
// did user provide xml font string?
String localIdeographFontFamily =
typedArray.getString(R.styleable.mapbox_MapView_mapbox_localIdeographFontFamily);
typedArray.getString(R.styleable.maplibre_MapView_maplibre_localIdeographFontFamily);
if (localIdeographFontFamily == null) {
localIdeographFontFamily = MapboxConstants.DEFAULT_FONT;
}
@@ -298,12 +298,12 @@ public class MapboxMapOptions implements Parcelable {
}
mapboxMapOptions.pixelRatio(
typedArray.getFloat(R.styleable.mapbox_MapView_mapbox_pixelRatio, 0));
typedArray.getFloat(R.styleable.maplibre_MapView_maplibre_pixelRatio, 0));
mapboxMapOptions.foregroundLoadColor(
typedArray.getInt(R.styleable.mapbox_MapView_mapbox_foregroundLoadColor, LIGHT_GRAY)
typedArray.getInt(R.styleable.maplibre_MapView_maplibre_foregroundLoadColor, LIGHT_GRAY)
);
mapboxMapOptions.crossSourceCollisions(
typedArray.getBoolean(R.styleable.mapbox_MapView_mapbox_cross_source_collisions, true)
typedArray.getBoolean(R.styleable.maplibre_MapView_maplibre_cross_source_collisions, true)
);
} finally {
typedArray.recycle();
@@ -411,9 +411,9 @@ public class MapboxMapOptions implements Parcelable {
}
/**
* Specifies the visibility state of a mapbox_compass_icon for a map view.
* Specifies the visibility state of a maplibre_compass_icon for a map view.
*
* @param enabled True and mapbox_compass_icon is shown
* @param enabled True and maplibre_compass_icon is shown
* @return This
*/
@NonNull
@@ -423,7 +423,7 @@ public class MapboxMapOptions implements Parcelable {
}
/**
* Specifies the gravity state of mapbox_compass_icon for a map view.
* Specifies the gravity state of maplibre_compass_icon for a map view.
*
* @param gravity Android SDK Gravity.
* @return This
@@ -435,7 +435,7 @@ public class MapboxMapOptions implements Parcelable {
}
/**
* Specifies the margin state of mapbox_compass_icon for a map view
* Specifies the margin state of maplibre_compass_icon for a map view
*
* @param margins 4 long array for LTRB margins
* @return This
@@ -447,12 +447,12 @@ public class MapboxMapOptions implements Parcelable {
}
/**
* Specifies if the mapbox_compass_icon fades to invisible when facing north.
* Specifies if the maplibre_compass_icon fades to invisible when facing north.
* <p>
* By default this value is true.
* </p>
*
* @param compassFadeWhenFacingNorth true is mapbox_compass_icon fades to invisble
* @param compassFadeWhenFacingNorth true is maplibre_compass_icon fades to invisble
* @return This
*/
@NonNull
@@ -464,7 +464,7 @@ public class MapboxMapOptions implements Parcelable {
/**
* Specifies the image of the CompassView.
* <p>
* By default this value is R.drawable.mapbox_compass_icon.
* By default this value is R.drawable.maplibre_compass_icon.
* </p>
*
* @param compass the drawable to show as image compass
@@ -905,36 +905,36 @@ public class MapboxMapOptions implements Parcelable {
}
/**
* Get the current configured visibility state for mapbox_compass_icon for a map view.
* Get the current configured visibility state for maplibre_compass_icon for a map view.
*
* @return Visibility state of the mapbox_compass_icon
* @return Visibility state of the maplibre_compass_icon
*/
public boolean getCompassEnabled() {
return compassEnabled;
}
/**
* Get the current configured gravity state for mapbox_compass_icon for a map view.
* Get the current configured gravity state for maplibre_compass_icon for a map view.
*
* @return Gravity state of the mapbox_compass_icon
* @return Gravity state of the maplibre_compass_icon
*/
public int getCompassGravity() {
return compassGravity;
}
/**
* Get the current configured margins for mapbox_compass_icon for a map view.
* Get the current configured margins for maplibre_compass_icon for a map view.
*
* @return Margins state of the mapbox_compass_icon
* @return Margins state of the maplibre_compass_icon
*/
public int[] getCompassMargins() {
return compassMargins;
}
/**
* Get the current configured state for fading the mapbox_compass_icon when facing north.
* Get the current configured state for fading the maplibre_compass_icon when facing north.
*
* @return True if mapbox_compass_icon fades to invisible when facing north
* @return True if maplibre_compass_icon fades to invisible when facing north
*/
public boolean getCompassFadeFacingNorth() {
return fadeCompassFacingNorth;
@@ -950,9 +950,9 @@ public class MapboxMapOptions implements Parcelable {
}
/**
* Get the current configured visibility state for mapbox_compass_icon for a map view.
* Get the current configured visibility state for maplibre_compass_icon for a map view.
*
* @return Visibility state of the mapbox_compass_icon
* @return Visibility state of the maplibre_compass_icon
*/
public boolean getLogoEnabled() {
return logoEnabled;

View File

@@ -189,12 +189,12 @@ public final class UiSettings {
if (compassMargins != null) {
setCompassMargins(compassMargins[0], compassMargins[1], compassMargins[2], compassMargins[3]);
} else {
int tenDp = (int) resources.getDimension(R.dimen.mapbox_four_dp);
int tenDp = (int) resources.getDimension(R.dimen.maplibre_four_dp);
setCompassMargins(tenDp, tenDp, tenDp, tenDp);
}
setCompassFadeFacingNorth(options.getCompassFadeFacingNorth());
if (options.getCompassImage() == null) {
options.compassImage(ResourcesCompat.getDrawable(resources, R.drawable.mapbox_compass_icon, null));
options.compassImage(ResourcesCompat.getDrawable(resources, R.drawable.maplibre_compass_icon, null));
}
setCompassImage(options.getCompassImage());
}
@@ -241,7 +241,7 @@ public final class UiSettings {
setLogoMargins(logoMargins[0], logoMargins[1], logoMargins[2], logoMargins[3]);
} else {
// user did not specify margins when programmatically creating a map
int fourDp = (int) resources.getDimension(R.dimen.mapbox_four_dp);
int fourDp = (int) resources.getDimension(R.dimen.maplibre_four_dp);
setLogoMargins(fourDp, fourDp, fourDp, fourDp);
}
}
@@ -287,8 +287,8 @@ public final class UiSettings {
} else {
// user did not specify margins when programmatically creating a map
Resources resources = context.getResources();
int margin = (int) resources.getDimension(R.dimen.mapbox_four_dp);
int leftMargin = (int) resources.getDimension(R.dimen.mapbox_ninety_two_dp);
int margin = (int) resources.getDimension(R.dimen.maplibre_four_dp);
int leftMargin = (int) resources.getDimension(R.dimen.maplibre_ninety_two_dp);
setAttributionMargins(leftMargin, margin, margin, margin);
}
}
@@ -383,7 +383,7 @@ public final class UiSettings {
/**
* Specifies the CompassView image.
* <p>
* By default this value is R.drawable.mapbox_compass_icon.
* By default this value is R.drawable.maplibre_compass_icon.
* </p>
*
* @param compass the drawable to show as image compass
@@ -718,7 +718,7 @@ public final class UiSettings {
}
if (Color.alpha(tintColor) == 0) {
ColorUtils.setTintList(attributionsView,
ContextCompat.getColor(attributionsView.getContext(), R.color.mapbox_blue));
ContextCompat.getColor(attributionsView.getContext(), R.color.maplibre_blue));
} else {
ColorUtils.setTintList(attributionsView, tintColor);
}

View File

@@ -607,7 +607,7 @@ public class OfflineManager {
@NonNull final CreateOfflineRegionCallback callback) {
if (!isValidOfflineRegionDefinition(definition)) {
callback.onError(
String.format(context.getString(R.string.mapbox_offline_error_region_definition_invalid),
String.format(context.getString(R.string.maplibre_offline_error_region_definition_invalid),
definition.getBounds())
);
return;

View File

@@ -617,7 +617,7 @@ public class MapSnapshotter {
@NonNull
private TextView createTextView(@NonNull MapSnapshot mapSnapshot, boolean shortText, float scale) {
int textColor = ResourcesCompat.getColor(context.getResources(), R.color.mapbox_gray_dark, context.getTheme());
int textColor = ResourcesCompat.getColor(context.getResources(), R.color.maplibre_gray_dark, context.getTheme());
int widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
int heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED);
TextView textView = new TextView(context);
@@ -628,7 +628,7 @@ public class MapSnapshotter {
textView.setSingleLine(true);
textView.setTextSize(10 * scale);
textView.setTextColor(textColor);
textView.setBackgroundResource(R.drawable.mapbox_rounded_corner);
textView.setBackgroundResource(R.drawable.maplibre_rounded_corner);
textView.setText(Html.fromHtml(createAttributionString(mapSnapshot, shortText)));
textView.measure(widthMeasureSpec, heightMeasureSpec);
textView.layout(0, 0, textView.getMeasuredWidth(), textView.getMeasuredHeight());
@@ -660,11 +660,11 @@ public class MapSnapshotter {
* @return the scaled large logo
*/
private Logo createScaledLogo(@NonNull Bitmap snapshot) {
Bitmap logo = BitmapFactory.decodeResource(context.getResources(), R.drawable.mapbox_logo_icon, null);
Bitmap logo = BitmapFactory.decodeResource(context.getResources(), R.drawable.maplibre_logo_icon, null);
float scale = calculateLogoScale(snapshot, logo);
Matrix matrix = new Matrix();
matrix.postScale(scale, scale);
Bitmap helmet = BitmapFactory.decodeResource(context.getResources(), R.drawable.mapbox_logo_helmet, null);
Bitmap helmet = BitmapFactory.decodeResource(context.getResources(), R.drawable.maplibre_logo_helmet, null);
Bitmap large = Bitmap.createBitmap(logo, 0, 0, logo.getWidth(), logo.getHeight(), matrix, true);
Bitmap small = Bitmap.createBitmap(helmet, 0, 0, helmet.getWidth(), helmet.getHeight(), matrix, true);
return new Logo(large, small, scale);

View File

@@ -41,7 +41,7 @@ public class ColorUtils {
theme.resolveAttribute(id, typedValue, true);
return typedValue.data;
} catch (Exception exception) {
return getColorCompat(context, R.color.mapbox_blue);
return getColorCompat(context, R.color.maplibre_blue);
}
}
@@ -60,7 +60,7 @@ public class ColorUtils {
theme.resolveAttribute(id, typedValue, true);
return typedValue.data;
} catch (Exception exception) {
return getColorCompat(context, R.color.mapbox_blue);
return getColorCompat(context, R.color.maplibre_blue);
}
}
@@ -79,7 +79,7 @@ public class ColorUtils {
theme.resolveAttribute(id, typedValue, true);
return typedValue.data;
} catch (Exception exception) {
return getColorCompat(context, R.color.mapbox_gray);
return getColorCompat(context, R.color.maplibre_gray);
}
}

View File

@@ -5,167 +5,167 @@
<!-- Users can find these with code completion while other ones from this module will remain-->
<!-- hidden, though the user can reference them but won't show up during code completion-->
<public name="mapbox_AlertDialogStyle" type="style" />
<public name="maplibre_AlertDialogStyle" type="style" />
<!--DEPRECATED-->
<public name="mapbox_apiBaseUrl" type="attr" />
<public name="maplibre_apiBaseUrl" type="attr" />
<!-- Exposed attrs.xml -->
<!--Configuration-->
<public name="mapbox_apiBaseUri" type="attr" />
<public name="mapbox_localIdeographFontFamily" type="attr" />
<public name="mapbox_cross_source_collisions" type="attr" />
<public name="mapbox_pixelRatio" type="float" />
<public name="maplibre_apiBaseUri" type="attr" />
<public name="maplibre_localIdeographFontFamily" type="attr" />
<public name="maplibre_cross_source_collisions" type="attr" />
<public name="maplibre_pixelRatio" type="float" />
<!--Camera-->
<public name="mapbox_cameraTargetLng" type="attr" />
<public name="mapbox_cameraTargetLat" type="attr" />
<public name="mapbox_cameraZoom" type="attr" />
<public name="mapbox_cameraBearing" type="attr" />
<public name="mapbox_cameraTilt" type="attr" />
<public name="maplibre_cameraTargetLng" type="attr" />
<public name="maplibre_cameraTargetLat" type="attr" />
<public name="maplibre_cameraZoom" type="attr" />
<public name="maplibre_cameraBearing" type="attr" />
<public name="maplibre_cameraTilt" type="attr" />
<!--Zoom-->
<public name="mapbox_cameraZoomMax" type="attr" />
<public name="mapbox_cameraZoomMin" type="attr" />
<public name="maplibre_cameraZoomMax" type="attr" />
<public name="maplibre_cameraZoomMin" type="attr" />
<!--Pitch-->
<public name="mapbox_cameraPitchMax" type="attr" />
<public name="mapbox_cameraPitchMin" type="attr" />
<public name="maplibre_cameraPitchMax" type="attr" />
<public name="maplibre_cameraPitchMin" type="attr" />
<!--Gestures-->
<public name="mapbox_uiZoomGestures" type="attr" />
<public name="mapbox_uiScrollGestures" type="attr" />
<public name="mapbox_uiHorizontalScrollGestures" type="attr" />
<public name="mapbox_uiRotateGestures" type="attr" />
<public name="mapbox_uiTiltGestures" type="attr" />
<public name="mapbox_uiDoubleTapGestures" type="attr" />
<public name="mapbox_uiQuickZoomGestures" type="attr" />
<public name="maplibre_uiZoomGestures" type="attr" />
<public name="maplibre_uiScrollGestures" type="attr" />
<public name="maplibre_uiHorizontalScrollGestures" type="attr" />
<public name="maplibre_uiRotateGestures" type="attr" />
<public name="maplibre_uiTiltGestures" type="attr" />
<public name="maplibre_uiDoubleTapGestures" type="attr" />
<public name="maplibre_uiQuickZoomGestures" type="attr" />
<!--Compass-->
<public name="mapbox_uiCompass" type="attr" />
<public name="mapbox_uiCompassGravity" type="attr" />
<public name="mapbox_uiCompassMarginLeft" type="attr" />
<public name="mapbox_uiCompassMarginTop" type="attr" />
<public name="mapbox_uiCompassMarginRight" type="attr" />
<public name="mapbox_uiCompassMarginBottom" type="attr" />
<public name="mapbox_uiCompassFadeFacingNorth" type="attr" />
<public name="mapbox_uiCompassDrawable" type="attr" />
<public name="maplibre_uiCompass" type="attr" />
<public name="maplibre_uiCompassGravity" type="attr" />
<public name="maplibre_uiCompassMarginLeft" type="attr" />
<public name="maplibre_uiCompassMarginTop" type="attr" />
<public name="maplibre_uiCompassMarginRight" type="attr" />
<public name="maplibre_uiCompassMarginBottom" type="attr" />
<public name="maplibre_uiCompassFadeFacingNorth" type="attr" />
<public name="maplibre_uiCompassDrawable" type="attr" />
<!--Logo-->
<public name="mapbox_uiLogo" type="attr" />
<public name="mapbox_uiLogoGravity" type="attr" />
<public name="mapbox_uiLogoMarginLeft" type="attr" />
<public name="mapbox_uiLogoMarginTop" type="attr" />
<public name="mapbox_uiLogoMarginRight" type="attr" />
<public name="mapbox_uiLogoMarginBottom" type="attr" />
<public name="maplibre_uiLogo" type="attr" />
<public name="maplibre_uiLogoGravity" type="attr" />
<public name="maplibre_uiLogoMarginLeft" type="attr" />
<public name="maplibre_uiLogoMarginTop" type="attr" />
<public name="maplibre_uiLogoMarginRight" type="attr" />
<public name="maplibre_uiLogoMarginBottom" type="attr" />
<!--Attribution-->
<public name="mapbox_uiAttribution" type="attr" />
<public name="mapbox_uiAttributionGravity" type="attr" />
<public name="mapbox_uiAttributionMarginLeft" type="attr" />
<public name="mapbox_uiAttributionMarginTop" type="attr" />
<public name="mapbox_uiAttributionMarginRight" type="attr" />
<public name="mapbox_uiAttributionMarginBottom" type="attr" />
<public name="mapbox_uiAttributionTintColor" type="attr" />
<public name="maplibre_uiAttribution" type="attr" />
<public name="maplibre_uiAttributionGravity" type="attr" />
<public name="maplibre_uiAttributionMarginLeft" type="attr" />
<public name="maplibre_uiAttributionMarginTop" type="attr" />
<public name="maplibre_uiAttributionMarginRight" type="attr" />
<public name="maplibre_uiAttributionMarginBottom" type="attr" />
<public name="maplibre_uiAttributionTintColor" type="attr" />
<!-- Use TextureView-->
<public name="mapbox_renderTextureMode" type="attr" />
<public name="mapbox_renderTextureTranslucentSurface" type="attr" />
<public name="mapbox_foregroundLoadColor" type="attr" />
<public name="maplibre_renderTextureMode" type="attr" />
<public name="maplibre_renderTextureTranslucentSurface" type="attr" />
<public name="maplibre_foregroundLoadColor" type="attr" />
<public name="mapbox_enableTilePrefetch" type="attr" />
<public name="mapbox_prefetchZoomDelta" type="attr"/>
<public name="mapbox_enableZMediaOverlay" type="attr" />
<public name="maplibre_enableTilePrefetch" type="attr" />
<public name="maplibre_prefetchZoomDelta" type="attr"/>
<public name="maplibre_enableZMediaOverlay" type="attr" />
<!-- Exposed content descriptions -->
<public name="mapbox_logoContentDescription" type="string" />
<public name="maplibre_logoContentDescription" type="string" />
<!-- Exposed styles -->
<public name="mapbox_style_mapbox_streets" type="string" />
<public name="mapbox_style_outdoors" type="string" />
<public name="mapbox_style_light" type="string" />
<public name="mapbox_style_dark" type="string" />
<public name="mapbox_style_satellite" type="string" />
<public name="mapbox_style_satellite_streets" type="string" />
<public name="mapbox_style_traffic_day" type="string" />
<public name="mapbox_style_traffic_night" type="string" />
<public name="maplibre_streets" type="string" />
<public name="maplibre_style_outdoors" type="string" />
<public name="maplibre_style_light" type="string" />
<public name="maplibre_style_dark" type="string" />
<public name="maplibre_style_satellite" type="string" />
<public name="maplibre_style_satellite_streets" type="string" />
<public name="maplibre_style_traffic_day" type="string" />
<public name="maplibre_style_traffic_night" type="string" />
<!-- Exposed strings -->
<public name="mapbox_compassContentDescription" type="string" />
<public name="mapbox_attributionsIconContentDescription" type="string" />
<public name="mapbox_mapActionDescription" type="string" />
<public name="mapbox_attributionsDialogTitle" type="string" />
<public name="mapbox_offline_error_region_definition_invalid" type="string" />
<public name="maplibre_compassContentDescription" type="string" />
<public name="maplibre_attributionsIconContentDescription" type="string" />
<public name="maplibre_mapActionDescription" type="string" />
<public name="maplibre_attributionsDialogTitle" type="string" />
<public name="maplibre_offline_error_region_definition_invalid" type="string" />
<!-- Exposed drawables -->
<public name="mapbox_logo_icon" type="drawable" />
<public name="mapbox_compass_icon" type="drawable" />
<public name="mapbox_marker_icon_default" type="drawable" />
<public name="mapbox_info_bg_selector" type="drawable" />
<public name="mapbox_info_icon_default" type="drawable" />
<public name="mapbox_info_icon_selected" type="drawable" />
<public name="maplibre_logo_icon" type="drawable" />
<public name="maplibre_compass_icon" type="drawable" />
<public name="maplibre_marker_icon_default" type="drawable" />
<public name="maplibre_info_bg_selector" type="drawable" />
<public name="maplibre_info_icon_default" type="drawable" />
<public name="maplibre_info_icon_selected" type="drawable" />
<!-- Exposed colors -->
<public name="mapbox_blue" type="color" />
<public name="maplibre_blue" type="color" />
<public name="mapbox_LocationComponent" type="style"/>
<public name="maplibre_LocationComponent" type="style"/>
<public name="mapbox_foregroundDrawable" format="reference" type="attr"/>
<public name="mapbox_foregroundTintColor" format="color" type="attr"/>
<public name="mapbox_backgroundDrawable" format="reference" type="attr"/>
<public name="mapbox_backgroundTintColor" format="color" type="attr"/>
<public name="mapbox_bearingDrawable" format="reference" type="attr"/>
<public name="mapbox_bearingTintColor" format="color" type="attr"/>
<public name="mapbox_navigationDrawable" format="reference" type="attr"/>
<public name="maplibre_foregroundDrawable" format="reference" type="attr"/>
<public name="maplibre_foregroundTintColor" format="color" type="attr"/>
<public name="maplibre_backgroundDrawable" format="reference" type="attr"/>
<public name="maplibre_backgroundTintColor" format="color" type="attr"/>
<public name="maplibre_bearingDrawable" format="reference" type="attr"/>
<public name="maplibre_bearingTintColor" format="color" type="attr"/>
<public name="maplibre_navigationDrawable" format="reference" type="attr"/>
<public name="mapbox_foregroundDrawableStale" format="reference" type="attr"/>
<public name="mapbox_foregroundStaleTintColor" format="color" type="attr"/>
<public name="mapbox_backgroundDrawableStale" format="reference" type="attr"/>
<public name="mapbox_backgroundStaleTintColor" format="color" type="attr"/>
<public name="maplibre_foregroundDrawableStale" format="reference" type="attr"/>
<public name="maplibre_foregroundStaleTintColor" format="color" type="attr"/>
<public name="maplibre_backgroundDrawableStale" format="reference" type="attr"/>
<public name="maplibre_backgroundStaleTintColor" format="color" type="attr"/>
<public name="mapbox_accuracyAlpha" format="float" type="attr"/>
<public name="mapbox_accuracyColor" format="color" type="attr"/>
<public name="maplibre_accuracyAlpha" format="float" type="attr"/>
<public name="maplibre_accuracyColor" format="color" type="attr"/>
<public name="mapbox_elevation" format="dimension" type="attr"/>
<public name="maplibre_elevation" format="dimension" type="attr"/>
<public name="mapbox_enableStaleState" format="boolean" type="attr"/>
<public name="mapbox_staleStateTimeout" format="integer" min="0" type="attr"/>
<public name="maplibre_enableStaleState" format="boolean" type="attr"/>
<public name="maplibre_staleStateTimeout" format="integer" min="0" type="attr"/>
<!-- Location icon padding -->
<public name="mapbox_iconPaddingLeft" format="integer" type="attr"/>
<public name="mapbox_iconPaddingTop" format="integer" type="attr"/>
<public name="mapbox_iconPaddingRight" format="integer" type="attr"/>
<public name="mapbox_iconPaddingBottom" format="integer" type="attr"/>
<public name="maplibre_iconPaddingLeft" format="integer" type="attr"/>
<public name="maplibre_iconPaddingTop" format="integer" type="attr"/>
<public name="maplibre_iconPaddingRight" format="integer" type="attr"/>
<public name="maplibre_iconPaddingBottom" format="integer" type="attr"/>
<!-- Icon scale based on map zoom levels -->
<public name="mapbox_maxZoomIconScale" format="float" type="attr"/>
<public name="mapbox_minZoomIconScale" format="float" type="attr"/>
<public name="maplibre_maxZoomIconScale" format="float" type="attr"/>
<public name="maplibre_minZoomIconScale" format="float" type="attr"/>
<!-- Camera tracking settings -->
<public name="mapbox_trackingInitialMoveThreshold" format="float" type="attr"/>
<public name="mapbox_trackingMultiFingerMoveThreshold" format="float" type="attr"/>
<public name="mapbox_trackingGesturesManagement" format="boolean" type="attr"/>
<public name="maplibre_trackingInitialMoveThreshold" format="float" type="attr"/>
<public name="maplibre_trackingMultiFingerMoveThreshold" format="float" type="attr"/>
<public name="maplibre_trackingGesturesManagement" format="boolean" type="attr"/>
<!-- Animation duration multiplier -->
<public name="mapbox_trackingAnimationDurationMultiplier" format="float" type="attr" />
<public name="maplibre_trackingAnimationDurationMultiplier" format="float" type="attr" />
<!-- Compass animation -->
<public name="mapbox_compassAnimationEnabled" format="boolean" type="attr" />
<public name="maplibre_compassAnimationEnabled" format="boolean" type="attr" />
<!-- Accuracy animation-->
<public name="mapbox_accuracyAnimationEnabled" format="boolean" type="attr" />
<public name="maplibre_accuracyAnimationEnabled" format="boolean" type="attr" />
<!--LocationComponent position-->
<public name="mapbox_layer_above" format="string" type="attr" />
<public name="mapbox_layer_below" format="string" type="attr" />
<public name="maplibre_layer_above" format="string" type="attr" />
<public name="maplibre_layer_below" format="string" type="attr" />
<!-- Pulsing circle -->
<public name="mapbox_pulsingLocationCircleEnabled" format="boolean" type="attr" />
<public name="mapbox_pulsingLocationCircleFadeEnabled" format="boolean" type="attr" />
<public name="mapbox_pulsingLocationCircleColor" format="color" type="attr" />
<public name="mapbox_pulsingLocationCircleDuration" format="float" type="attr" />
<public name="mapbox_pulsingLocationCircleRadius" format="float" type="attr" />
<public name="mapbox_pulsingLocationCircleAlpha" format="float" type="attr" />
<public name="mapbox_pulsingLocationCircleInterpolator" format="string" type="attr" />
<public name="maplibre_pulsingLocationCircleEnabled" format="boolean" type="attr" />
<public name="maplibre_pulsingLocationCircleFadeEnabled" format="boolean" type="attr" />
<public name="maplibre_pulsingLocationCircleColor" format="color" type="attr" />
<public name="maplibre_pulsingLocationCircleDuration" format="float" type="attr" />
<public name="maplibre_pulsingLocationCircleRadius" format="float" type="attr" />
<public name="maplibre_pulsingLocationCircleAlpha" format="float" type="attr" />
<public name="maplibre_pulsingLocationCircleInterpolator" format="string" type="attr" />
</resources>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/mapbox_info_icon_selected" android:state_pressed="true" />
<item android:drawable="@drawable/mapbox_info_icon_default" />
</selector>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/maplibre_info_icon_selected" android:state_pressed="true" />
<item android:drawable="@drawable/maplibre_info_icon_default" />
</selector>

View File

@@ -5,6 +5,6 @@
<solid android:color="@android:color/white" />
<size
android:width="@dimen/mapbox_my_locationview_outer_circle"
android:height="@dimen/mapbox_my_locationview_outer_circle" />
android:width="@dimen/maplibre_my_locationview_outer_circle"
android:height="@dimen/maplibre_my_locationview_outer_circle" />
</shape>

View File

@@ -11,4 +11,4 @@
android:textAllCaps="true"
android:textIsSelectable="false"
android:textAppearance="?android:attr/textAppearanceButton"
android:textColor="@color/mapbox_blue"/>
android:textColor="@color/maplibre_blue"/>

View File

@@ -9,14 +9,14 @@
android:paddingLeft="20dp"
android:paddingRight="20dp"
android:paddingTop="14dp"
app:mapbox_bl_arrowDirection="bottom"
app:mapbox_bl_arrowHeight="8dp"
app:mapbox_bl_arrowPosition="16dp"
app:mapbox_bl_arrowWidth="8dp"
app:mapbox_bl_bubbleColor="@android:color/white"
app:mapbox_bl_cornersRadius="6dp"
app:mapbox_bl_strokeColor="@android:color/darker_gray"
app:mapbox_bl_strokeWidth="1dp">
app:maplibre_bl_arrowDirection="bottom"
app:maplibre_bl_arrowHeight="8dp"
app:maplibre_bl_arrowPosition="16dp"
app:maplibre_bl_arrowWidth="8dp"
app:maplibre_bl_bubbleColor="@android:color/white"
app:maplibre_bl_cornersRadius="6dp"
app:maplibre_bl_strokeColor="@android:color/darker_gray"
app:maplibre_bl_strokeWidth="1dp">
<TextView
android:id="@+id/infowindow_title"
@@ -38,7 +38,7 @@
android:textIsSelectable="false"
android:lineSpacingExtra="1dp"
android:maxEms="17"
android:textColor="@color/mapbox_gray"
android:textColor="@color/maplibre_gray"
android:textSize="14sp"/>
<TextView

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">Компас на картата. Активирай, за да насочиш картата на север.</string>
<string name="mapbox_attributionsIconContentDescription">Иконка функции. Активирай, за да покажеш диалог функции.</string>
<string name="mapbox_myLocationViewContentDescription">Изглед локация. Това показва местоположението ти на картата.</string>
<string name="mapbox_mapActionDescription">Показва карта създадена с MapLibre. Скролни с два пръста. Мащабирай с два пръста.</string>
<string name="mapbox_attributionsDialogTitle">MapLibre Android SDK</string>
<string name="mapbox_offline_error_region_definition_invalid">Предоставените OfflineRegionDefinition не пасват в границите на света: %s</string>
<string name="maplibre_compassContentDescription">Компас на картата. Активирай, за да насочиш картата на север.</string>
<string name="maplibre_attributionsIconContentDescription">Иконка функции. Активирай, за да покажеш диалог функции.</string>
<string name="maplibre_myLocationViewContentDescription">Изглед локация. Това показва местоположението ти на картата.</string>
<string name="maplibre_mapActionDescription">Показва карта създадена с MapLibre. Скролни с два пръста. Мащабирай с два пръста.</string>
<string name="maplibre_attributionsDialogTitle">MapLibre Android SDK</string>
<string name="maplibre_offline_error_region_definition_invalid">Предоставените OfflineRegionDefinition не пасват в границите на света: %s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">Brúixola del mapa. Activa per restablir la rotació del mapa al Nord.</string>
<string name="mapbox_attributionsIconContentDescription">Icona d’atribució. Activa per mostrar el diàleg de l’atribució.</string>
<string name="mapbox_myLocationViewContentDescription">Vista de posició. Mostra la teva posició al mapa.</string>
<string name="mapbox_mapActionDescription">Mostrant un mapa creat amb MapLibre. Desplaça’t arrossegant amb dos dits. Fes zoom pessigant amb dos dits.</string>
<string name="mapbox_attributionsDialogTitle">MapLibre Android SDK</string>
<string name="mapbox_offline_error_region_definition_invalid">La OfflineRegionDefinition proporcionada no encaixa amb els límits del món: %s</string>
<string name="maplibre_compassContentDescription">Brúixola del mapa. Activa per restablir la rotació del mapa al Nord.</string>
<string name="maplibre_attributionsIconContentDescription">Icona d’atribució. Activa per mostrar el diàleg de l’atribució.</string>
<string name="maplibre_myLocationViewContentDescription">Vista de posició. Mostra la teva posició al mapa.</string>
<string name="maplibre_mapActionDescription">Mostrant un mapa creat amb MapLibre. Desplaça’t arrossegant amb dos dits. Fes zoom pessigant amb dos dits.</string>
<string name="maplibre_attributionsDialogTitle">MapLibre Android SDK</string>
<string name="maplibre_offline_error_region_definition_invalid">La OfflineRegionDefinition proporcionada no encaixa amb els límits del món: %s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">Kompas. Nastavit natočení mapy k severu.</string>
<string name="mapbox_attributionsIconContentDescription">Atributy. Zobrazit nastavení atributů.</string>
<string name="mapbox_myLocationViewContentDescription">Zobrazení polohy. Zobrazit umístění na mapě.</string>
<string name="mapbox_mapActionDescription">Zobrazení mapy vytvořené s MapLibre. Posunout tažením dvěma prsty. Změnit velikost roztažením dvou prstů.</string>
<string name="mapbox_attributionsDialogTitle">MapLibre Maps SDK pro Android</string>
<string name="mapbox_attributionErrorNoBrowser">Na zařízení není nainstalován webový prohlížeč, webovou stránku nelze zobrazit.</string>
<string name="mapbox_offline_error_region_definition_invalid">Pokud OfflineRegionDefinition neodpovídá hranicím: %s</string>
<string name="maplibre_compassContentDescription">Kompas. Nastavit natočení mapy k severu.</string>
<string name="maplibre_attributionsIconContentDescription">Atributy. Zobrazit nastavení atributů.</string>
<string name="maplibre_myLocationViewContentDescription">Zobrazení polohy. Zobrazit umístění na mapě.</string>
<string name="maplibre_mapActionDescription">Zobrazení mapy vytvořené s MapLibre. Posunout tažením dvěma prsty. Změnit velikost roztažením dvou prstů.</string>
<string name="maplibre_attributionsDialogTitle">MapLibre Maps SDK pro Android</string>
<string name="maplibre_attributionErrorNoBrowser">Na zařízení není nainstalován webový prohlížeč, webovou stránku nelze zobrazit.</string>
<string name="maplibre_offline_error_region_definition_invalid">Pokud OfflineRegionDefinition neodpovídá hranicím: %s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">Brújula del mapa. Actívala para restablecer la rotación del mapa al norte.</string>
<string name="mapbox_attributionsIconContentDescription">Ícono de atribución. Actívalo para mostrar el diálogo de atribución.</string>
<string name="mapbox_myLocationViewContentDescription">Vista de ubicación. Muestra tu ubicación en el mapa.</string>
<string name="mapbox_mapActionDescription">Se está mostrando un mapa creado con MapLibre. Arrastra dos dedos para desplazarte o pellizca para acercar.</string>
<string name="mapbox_attributionsDialogTitle">MapLibre Maps SDK para Android</string>
<string name="mapbox_attributionErrorNoBrowser">No puede abrir la página Web porque no hay un navegador Web en el dispositivo.</string>
<string name="mapbox_offline_error_region_definition_invalid">El parámetro OfflineRegionDefinition que se ingresó no coincide con los límites mundiales: %s</string>
<string name="maplibre_compassContentDescription">Brújula del mapa. Actívala para restablecer la rotación del mapa al norte.</string>
<string name="maplibre_attributionsIconContentDescription">Ícono de atribución. Actívalo para mostrar el diálogo de atribución.</string>
<string name="maplibre_myLocationViewContentDescription">Vista de ubicación. Muestra tu ubicación en el mapa.</string>
<string name="maplibre_mapActionDescription">Se está mostrando un mapa creado con MapLibre. Arrastra dos dedos para desplazarte o pellizca para acercar.</string>
<string name="maplibre_attributionsDialogTitle">MapLibre Maps SDK para Android</string>
<string name="maplibre_attributionErrorNoBrowser">No puede abrir la página Web porque no hay un navegador Web en el dispositivo.</string>
<string name="maplibre_offline_error_region_definition_invalid">El parámetro OfflineRegionDefinition que se ingresó no coincide con los límites mundiales: %s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">Boussole. Activer pour rétablir l’orientation de la carte vers le nord.</string>
<string name="mapbox_attributionsIconContentDescription">Icône d’attribution. Activer pour afficher le dialogue d’attribution.</string>
<string name="mapbox_myLocationViewContentDescription">Vue de géolocalisation. Ceci affiche votre localisation sur la carte.</string>
<string name="mapbox_mapActionDescription">Affichage d’une carte créée avec MapLibre. Faites la glisser en traînant deux doigts. Zoomez ou dézoomez en écartant ou rapprochant deux doigts.</string>
<string name="mapbox_attributionsDialogTitle">SDK MapLibre Maps pour Android</string>
<string name="mapbox_attributionErrorNoBrowser">Aucun navigateur web installé sur l’appareil, impossible d’ouvrir une page web.</string>
<string name="mapbox_offline_error_region_definition_invalid">Le cadre OfflineRegionDefinition pour définir la région de navigation ne tient pas dans les limites du monde : %s</string>
<string name="maplibre_compassContentDescription">Boussole. Activer pour rétablir l’orientation de la carte vers le nord.</string>
<string name="maplibre_attributionsIconContentDescription">Icône d’attribution. Activer pour afficher le dialogue d’attribution.</string>
<string name="maplibre_myLocationViewContentDescription">Vue de géolocalisation. Ceci affiche votre localisation sur la carte.</string>
<string name="maplibre_mapActionDescription">Affichage d’une carte créée avec MapLibre. Faites la glisser en traînant deux doigts. Zoomez ou dézoomez en écartant ou rapprochant deux doigts.</string>
<string name="maplibre_attributionsDialogTitle">SDK MapLibre Maps pour Android</string>
<string name="maplibre_attributionErrorNoBrowser">Aucun navigateur web installé sur l’appareil, impossible d’ouvrir une page web.</string>
<string name="maplibre_offline_error_region_definition_invalid">Le cadre OfflineRegionDefinition pour définir la région de navigation ne tient pas dans les limites du monde : %s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">Compás do mapa. Actívao para restabelecer a rotación do mapa cara o norte.</string>
<string name="mapbox_attributionsIconContentDescription">Icona de atribución. Actívaa para amosar o diálogo de atribución.</string>
<string name="mapbox_myLocationViewContentDescription">Vista de ubicación. Amosa a túa ubicación no mapa.</string>
<string name="mapbox_mapActionDescription">Estase a amosar un mapa feito co MapLibre. Belisca dous dedos para desprazarte ou belisca para achegar.</string>
<string name="mapbox_attributionsDialogTitle">MapLibre Maps SDK para o Android</string>
<string name="mapbox_attributionErrorNoBrowser">Non podes abrir a páxina web porque non hai un navegador web no dispositivo.</string>
<string name="mapbox_offline_error_region_definition_invalid">O parámetro OfflineRegionDefinition que se ingresou non coincide cos límites mundiais: %s</string>
<string name="maplibre_compassContentDescription">Compás do mapa. Actívao para restabelecer a rotación do mapa cara o norte.</string>
<string name="maplibre_attributionsIconContentDescription">Icona de atribución. Actívaa para amosar o diálogo de atribución.</string>
<string name="maplibre_myLocationViewContentDescription">Vista de ubicación. Amosa a túa ubicación no mapa.</string>
<string name="maplibre_mapActionDescription">Estase a amosar un mapa feito co MapLibre. Belisca dous dedos para desprazarte ou belisca para achegar.</string>
<string name="maplibre_attributionsDialogTitle">MapLibre Maps SDK para o Android</string>
<string name="maplibre_attributionErrorNoBrowser">Non podes abrir a páxina web porque non hai un navegador web no dispositivo.</string>
<string name="maplibre_offline_error_region_definition_invalid">O parámetro OfflineRegionDefinition que se ingresou non coincide cos límites mundiais: %s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">מצפן. הפעל בכדי לקבע את כיוון המפה צפונה.</string>
<string name="mapbox_attributionsIconContentDescription">סמל שיוך. הפעל כדי להציג תיבת דו-שיח של שיוך.</string>
<string name="mapbox_myLocationViewContentDescription">סמן מיקום. מציג את המיקום הנוכחי שלך על המפה.</string>
<string name="mapbox_mapActionDescription">מציג מפה שנוצרה עם MapLibre. גלול באמצעות גרירה עם שתי אצבעות, זום באמצעות צביטה עם שתי אצבעות.</string>
<string name="mapbox_attributionsDialogTitle">MapLibre Maps SDK for Android</string>
<string name="mapbox_attributionErrorNoBrowser">לא מותקן דפדפן אינטרנט במכשיר, לא ניתן לפתוח את דף האינטרנט.</string>
<string name="mapbox_offline_error_region_definition_invalid">בתנאי ש- OfflineRegionDefinition אינו מתאים לגבולות העולם: %s</string>
<string name="maplibre_compassContentDescription">מצפן. הפעל בכדי לקבע את כיוון המפה צפונה.</string>
<string name="maplibre_attributionsIconContentDescription">סמל שיוך. הפעל כדי להציג תיבת דו-שיח של שיוך.</string>
<string name="maplibre_myLocationViewContentDescription">סמן מיקום. מציג את המיקום הנוכחי שלך על המפה.</string>
<string name="maplibre_mapActionDescription">מציג מפה שנוצרה עם MapLibre. גלול באמצעות גרירה עם שתי אצבעות, זום באמצעות צביטה עם שתי אצבעות.</string>
<string name="maplibre_attributionsDialogTitle">MapLibre Maps SDK for Android</string>
<string name="maplibre_attributionErrorNoBrowser">לא מותקן דפדפן אינטרנט במכשיר, לא ניתן לפתוח את דף האינטרנט.</string>
<string name="maplibre_offline_error_region_definition_invalid">בתנאי ש- OfflineRegionDefinition אינו מתאים לגבולות העולם: %s</string>
</resources>

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_myLocationViewContentDescription">Hely nézet. Megmutatja, hol vagy a térképen.</string>
<string name="mapbox_mapActionDescription">Egy MapLibre-szal készült térkép megjelenítése. Húzd két ujjadat a görgetéshez. Csippentsd össze a nagyításhoz.</string>
<string name="mapbox_attributionsDialogTitle">MapLibre Maps SDK Androidhoz</string>
<string name="mapbox_attributionErrorNoBrowser">Nincs webböngésző telepítve a készüléken, nem lehet megnyitni weboldalt.</string>
<string name="mapbox_offline_error_region_definition_invalid">A megadott OfflineRegionDefinition nem fér bele a világ kereteibe: %s</string>
<string name="maplibre_myLocationViewContentDescription">Hely nézet. Megmutatja, hol vagy a térképen.</string>
<string name="maplibre_mapActionDescription">Egy MapLibre-szal készült térkép megjelenítése. Húzd két ujjadat a görgetéshez. Csippentsd össze a nagyításhoz.</string>
<string name="maplibre_attributionsDialogTitle">MapLibre Maps SDK Androidhoz</string>
<string name="maplibre_attributionErrorNoBrowser">Nincs webböngésző telepítve a készüléken, nem lehet megnyitni weboldalt.</string>
<string name="maplibre_offline_error_region_definition_invalid">A megadott OfflineRegionDefinition nem fér bele a világ kereteibe: %s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">מצפן. הפעל בכדי לקבע את כיוון המפה צפונה.</string>
<string name="mapbox_attributionsIconContentDescription">סמל שיוך. הפעל כדי להציג תיבת דו-שיח של שיוך.</string>
<string name="mapbox_myLocationViewContentDescription">סמן מיקום. מציג את המיקום הנוכחי שלך על המפה.</string>
<string name="mapbox_mapActionDescription">מציג מפה שנוצרה עם MapLibre. גלול באמצעות גרירה עם שתי אצבעות, זום באמצעות צביטה עם שתי אצבעות.</string>
<string name="mapbox_attributionsDialogTitle">MapLibre Maps SDK for Android</string>
<string name="mapbox_attributionErrorNoBrowser">לא מותקן דפדפן אינטרנט במכשיר, לא ניתן לפתוח את דף האינטרנט.</string>
<string name="mapbox_offline_error_region_definition_invalid">בתנאי ש- OfflineRegionDefinition אינו מתאים לגבולות העולם: %s</string>
<string name="maplibre_compassContentDescription">מצפן. הפעל בכדי לקבע את כיוון המפה צפונה.</string>
<string name="maplibre_attributionsIconContentDescription">סמל שיוך. הפעל כדי להציג תיבת דו-שיח של שיוך.</string>
<string name="maplibre_myLocationViewContentDescription">סמן מיקום. מציג את המיקום הנוכחי שלך על המפה.</string>
<string name="maplibre_mapActionDescription">מציג מפה שנוצרה עם MapLibre. גלול באמצעות גרירה עם שתי אצבעות, זום באמצעות צביטה עם שתי אצבעות.</string>
<string name="maplibre_attributionsDialogTitle">MapLibre Maps SDK for Android</string>
<string name="maplibre_attributionErrorNoBrowser">לא מותקן דפדפן אינטרנט במכשיר, לא ניתן לפתוח את דף האינטרנט.</string>
<string name="maplibre_offline_error_region_definition_invalid">בתנאי ש- OfflineRegionDefinition אינו מתאים לגבולות העולם: %s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">지도 나침반. 지도회전를 북쪽으로 재설정합니다.</string>
<string name="mapbox_attributionsIconContentDescription">속성 정보. 속성 대화를 표시합니다.</string>
<string name="mapbox_myLocationViewContentDescription">로케이션 뷰. 지도에서 현재 위치를 보여줍니다.</string>
<string name="mapbox_mapActionDescription">맵박스로 생성된 지도 표시. 두 손가락으로 드래그하여 화면을 위 아래로 움직이세요. 두 손가락을 이용해 화면을 확대 축소 하세요.</string>
<string name="mapbox_attributionsDialogTitle">안드로이드를 위한 맵박스 맵 SDK</string>
<string name="mapbox_attributionErrorNoBrowser">웹 브라우저가 설치 되어 있지 않아, 웹 페이지를 열 수 없습니다.</string>
<string name="mapbox_offline_error_region_definition_invalid">제공된 오프라인지역정의가 월드바운즈에 적합하지 않습니다: %s</string>
<string name="maplibre_compassContentDescription">지도 나침반. 지도회전를 북쪽으로 재설정합니다.</string>
<string name="maplibre_attributionsIconContentDescription">속성 정보. 속성 대화를 표시합니다.</string>
<string name="maplibre_myLocationViewContentDescription">로케이션 뷰. 지도에서 현재 위치를 보여줍니다.</string>
<string name="maplibre_mapActionDescription">맵박스로 생성된 지도 표시. 두 손가락으로 드래그하여 화면을 위 아래로 움직이세요. 두 손가락을 이용해 화면을 확대 축소 하세요.</string>
<string name="maplibre_attributionsDialogTitle">안드로이드를 위한 맵박스 맵 SDK</string>
<string name="maplibre_attributionErrorNoBrowser">웹 브라우저가 설치 되어 있지 않아, 웹 페이지를 열 수 없습니다.</string>
<string name="maplibre_offline_error_region_definition_invalid">제공된 오프라인지역정의가 월드바운즈에 적합하지 않습니다: %s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">Žemėlapio kompasas. Spustelk, kad atstatytum žemėlapio pasukimą į šiaurę.</string>
<string name="mapbox_attributionsIconContentDescription">Įnašo ikona. Paspausk norėdamas pamatyti dialogą su detalėmis</string>
<string name="mapbox_myLocationViewContentDescription">Vartotojo vietos vaizdas. Nurodo tavo poziciją žemėlapyje</string>
<string name="mapbox_mapActionDescription">Rodomas MapLibre kurtas žemėlapis. Naviguok tempdamas du pirštus. Valdyk žemėlapio pritraukimą suimdamas/atitolindamas du pirštus.</string>
<string name="mapbox_attributionsDialogTitle">MapLibre Android SDK</string>
<string name="mapbox_offline_error_region_definition_invalid">Pasirinktas OfflineRegionDefinition netalpa į rėžius: %s</string>
<string name="maplibre_compassContentDescription">Žemėlapio kompasas. Spustelk, kad atstatytum žemėlapio pasukimą į šiaurę.</string>
<string name="maplibre_attributionsIconContentDescription">Įnašo ikona. Paspausk norėdamas pamatyti dialogą su detalėmis</string>
<string name="maplibre_myLocationViewContentDescription">Vartotojo vietos vaizdas. Nurodo tavo poziciją žemėlapyje</string>
<string name="maplibre_mapActionDescription">Rodomas MapLibre kurtas žemėlapis. Naviguok tempdamas du pirštus. Valdyk žemėlapio pritraukimą suimdamas/atitolindamas du pirštus.</string>
<string name="maplibre_attributionsDialogTitle">MapLibre Android SDK</string>
<string name="maplibre_offline_error_region_definition_invalid">Pasirinktas OfflineRegionDefinition netalpa į rėžius: %s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">Kompas van de map. Activeer om de map rotatie te herzetten naar het noorden.</string>
<string name="mapbox_attributionsIconContentDescription">Attributie icoon. Activeer voor het tonen van het attributie dialoog. </string>
<string name="mapbox_myLocationViewContentDescription">Locatie Element. Dit toont jouw locatie op de map.</string>
<string name="mapbox_mapActionDescription">Toont een map gemaakt met MapLibre. Scroll door het slepen met twee vingers. Zoom door vingers te nijpen.</string>
<string name="mapbox_attributionsDialogTitle">MapLibre Android SDK</string>
<string name="mapbox_offline_error_region_definition_invalid">Aangeleverde OfflineRegionDefinition past niet in de wereld omtrek: %s</string>
<string name="maplibre_compassContentDescription">Kompas van de map. Activeer om de map rotatie te herzetten naar het noorden.</string>
<string name="maplibre_attributionsIconContentDescription">Attributie icoon. Activeer voor het tonen van het attributie dialoog. </string>
<string name="maplibre_myLocationViewContentDescription">Locatie Element. Dit toont jouw locatie op de map.</string>
<string name="maplibre_mapActionDescription">Toont een map gemaakt met MapLibre. Scroll door het slepen met twee vingers. Zoom door vingers te nijpen.</string>
<string name="maplibre_attributionsDialogTitle">MapLibre Android SDK</string>
<string name="maplibre_offline_error_region_definition_invalid">Aangeleverde OfflineRegionDefinition past niet in de wereld omtrek: %s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">Kompas. Naciśnij, żeby skierować mapę na północ.</string>
<string name="mapbox_attributionsIconContentDescription">Atrybucja. Aktywuj, żeby pokazać więcej informacji.</string>
<string name="mapbox_myLocationViewContentDescription">Widok lokalizacji. Pokazuje twoją pozycję na mapie.</string>
<string name="mapbox_mapActionDescription">Pokazuje mapę stworzoną za pomocą biblioteki MapLibre. Przesuń mapę za pomocą przeciągnięcia dwoma palcami. Przybliż za pomocą uszczypnięcia dwoma palcami. </string>
<string name="mapbox_attributionsDialogTitle">MapLibre Maps SDK dla Androida</string>
<string name="mapbox_attributionErrorNoBrowser">Nie potrafię otworzyć strony, brak przeglądarki internetowej zainstalowanej na urządzeniu.</string>
<string name="mapbox_offline_error_region_definition_invalid">Wymagany region nie mieści się w granicach świata: %s</string>
<string name="maplibre_compassContentDescription">Kompas. Naciśnij, żeby skierować mapę na północ.</string>
<string name="maplibre_attributionsIconContentDescription">Atrybucja. Aktywuj, żeby pokazać więcej informacji.</string>
<string name="maplibre_myLocationViewContentDescription">Widok lokalizacji. Pokazuje twoją pozycję na mapie.</string>
<string name="maplibre_mapActionDescription">Pokazuje mapę stworzoną za pomocą biblioteki MapLibre. Przesuń mapę za pomocą przeciągnięcia dwoma palcami. Przybliż za pomocą uszczypnięcia dwoma palcami. </string>
<string name="maplibre_attributionsDialogTitle">MapLibre Maps SDK dla Androida</string>
<string name="maplibre_attributionErrorNoBrowser">Nie potrafię otworzyć strony, brak przeglądarki internetowej zainstalowanej na urządzeniu.</string>
<string name="maplibre_offline_error_region_definition_invalid">Wymagany region nie mieści się w granicach świata: %s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">Compasso do mapa. Ativar para virar o mapa para Norte.</string>
<string name="mapbox_attributionsIconContentDescription">Ícone de atribuição. Ativar para mostrar a janela de atribuição.</string>
<string name="mapbox_myLocationViewContentDescription">Vista de localização. Isto mostra a sua localização no mapa.</string>
<string name="mapbox_mapActionDescription">A mostrar um Mapa criado com MapLibre. Desloque arrastanto com 2 dedos. Zoom afastando ou aproximando os 2 dedos.</string>
<string name="mapbox_attributionsDialogTitle">Mapas MapLibre SDK para Android</string>
<string name="mapbox_attributionErrorNoBrowser">Não está nenhum navegador de Internet instalado no dispositivo. Não é possível abrir a página web.</string>
<string name="mapbox_offline_error_region_definition_invalid">O OfflineRegionDefinition não cabe nos limites do mundo: %s</string>
<string name="maplibre_compassContentDescription">Compasso do mapa. Ativar para virar o mapa para Norte.</string>
<string name="maplibre_attributionsIconContentDescription">Ícone de atribuição. Ativar para mostrar a janela de atribuição.</string>
<string name="maplibre_myLocationViewContentDescription">Vista de localização. Isto mostra a sua localização no mapa.</string>
<string name="maplibre_mapActionDescription">A mostrar um Mapa criado com MapLibre. Desloque arrastanto com 2 dedos. Zoom afastando ou aproximando os 2 dedos.</string>
<string name="maplibre_attributionsDialogTitle">Mapas MapLibre SDK para Android</string>
<string name="maplibre_attributionErrorNoBrowser">Não está nenhum navegador de Internet instalado no dispositivo. Não é possível abrir a página web.</string>
<string name="maplibre_offline_error_region_definition_invalid">O OfflineRegionDefinition não cabe nos limites do mundo: %s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">Компас. Активируйте, чтобы развернуть карту на север.</string>
<string name="mapbox_attributionsIconContentDescription">Значок атрибутов. Активируйте, чтобы показать диалог.</string>
<string name="mapbox_myLocationViewContentDescription">Местоположение. Отображает вашу позицию на карте.</string>
<string name="mapbox_mapActionDescription">Отображает карту, созданную при помощи MapLibre. Пролистывайте двумя пальцами. Меняйте масштаб сведением пальцев.</string>
<string name="mapbox_attributionsDialogTitle">MapLibre Maps SDK для Android</string>
<string name="mapbox_attributionErrorNoBrowser">На устройстве нет веб-браузера, нельзя показать веб-страницу.</string>
<string name="mapbox_offline_error_region_definition_invalid">Запрошенный OfflineRegionDefinition не входит в допустимые границы: %s</string>
<string name="maplibre_compassContentDescription">Компас. Активируйте, чтобы развернуть карту на север.</string>
<string name="maplibre_attributionsIconContentDescription">Значок атрибутов. Активируйте, чтобы показать диалог.</string>
<string name="maplibre_myLocationViewContentDescription">Местоположение. Отображает вашу позицию на карте.</string>
<string name="maplibre_mapActionDescription">Отображает карту, созданную при помощи MapLibre. Пролистывайте двумя пальцами. Меняйте масштаб сведением пальцев.</string>
<string name="maplibre_attributionsDialogTitle">MapLibre Maps SDK для Android</string>
<string name="maplibre_attributionErrorNoBrowser">На устройстве нет веб-браузера, нельзя показать веб-страницу.</string>
<string name="maplibre_offline_error_region_definition_invalid">Запрошенный OfflineRegionDefinition не входит в допустимые границы: %s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">Kompass. Aktivera för att nollställa kartans rotation mot norr.</string>
<string name="mapbox_attributionsIconContentDescription">Tillskrivningsikon. Aktivera för att visa tillskrivningsdialog.</string>
<string name="mapbox_myLocationViewContentDescription">Positionsvy. Denna visar din position på kartan.</string>
<string name="mapbox_mapActionDescription">Visar en karta skapad med MapLibre. Scrolla genom att dra med två fingrar. Zooma genom att nypa med två fingrar.</string>
<string name="mapbox_attributionsDialogTitle">MapLibre Maps SDK for Android</string>
<string name="mapbox_attributionErrorNoBrowser">Ingen webbläsare installerad på enheten. Kan inte visa sidan.</string>
<string name="mapbox_offline_error_region_definition_invalid">Försedd OfflineRegionDefinition passar inte världens gränser: %s</string>
<string name="maplibre_compassContentDescription">Kompass. Aktivera för att nollställa kartans rotation mot norr.</string>
<string name="maplibre_attributionsIconContentDescription">Tillskrivningsikon. Aktivera för att visa tillskrivningsdialog.</string>
<string name="maplibre_myLocationViewContentDescription">Positionsvy. Denna visar din position på kartan.</string>
<string name="maplibre_mapActionDescription">Visar en karta skapad med MapLibre. Scrolla genom att dra med två fingrar. Zooma genom att nypa med två fingrar.</string>
<string name="maplibre_attributionsDialogTitle">MapLibre Maps SDK for Android</string>
<string name="maplibre_attributionErrorNoBrowser">Ingen webbläsare installerad på enheten. Kan inte visa sidan.</string>
<string name="maplibre_offline_error_region_definition_invalid">Försedd OfflineRegionDefinition passar inte världens gränser: %s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">Компас. Натисніть щоб зорієнтувати мапу на північ.</string>
<string name="mapbox_attributionsIconContentDescription">Значок атрибуції. Натисніть, щоб показати діалог атрибуції.</string>
<string name="mapbox_myLocationViewContentDescription">Визначення положення. Показує ваше місцеположення на мапі.</string>
<string name="mapbox_mapActionDescription">Показує мапи створені за допомоги MapLibre. Пересувайте мапу двома пальцями. Змінюйте масштаб стуляючи/розводячи два пальці.</string>
<string name="mapbox_attributionsDialogTitle">MapLibre Maps SDK для Android</string>
<string name="mapbox_attributionErrorNoBrowser">Веб-оглядач відсутній на цьому пристрої, неможливо відкрити веб-сторінку</string>
<string name="mapbox_offline_error_region_definition_invalid">Межі ділянки для оффлайнового користування даними за межами світу: %s</string>
<string name="maplibre_compassContentDescription">Компас. Натисніть щоб зорієнтувати мапу на північ.</string>
<string name="maplibre_attributionsIconContentDescription">Значок атрибуції. Натисніть, щоб показати діалог атрибуції.</string>
<string name="maplibre_myLocationViewContentDescription">Визначення положення. Показує ваше місцеположення на мапі.</string>
<string name="maplibre_mapActionDescription">Показує мапи створені за допомоги MapLibre. Пересувайте мапу двома пальцями. Змінюйте масштаб стуляючи/розводячи два пальці.</string>
<string name="maplibre_attributionsDialogTitle">MapLibre Maps SDK для Android</string>
<string name="maplibre_attributionErrorNoBrowser">Веб-оглядач відсутній на цьому пристрої, неможливо відкрити веб-сторінку</string>
<string name="maplibre_offline_error_region_definition_invalid">Межі ділянки для оффлайнового користування даними за межами світу: %s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">La bàn bản đồ. Kích hoạt để quay bản đồ lại hướng bắc.</string>
<string name="mapbox_attributionsIconContentDescription">Biểu tượng ghi công. Kích hoạt để xem hộp thoại ghi công.</string>
<string name="mapbox_myLocationViewContentDescription">Cái chỉ vị trí. Cái này chỉ vị trí của bạn trên bản đồ.</string>
<string name="mapbox_mapActionDescription">Đang xem bản đồ được xây dựng dùng MapLibre. Kéo hai ngón tay để cuộn. Chụm các ngón tay lại để phóng to. Tách các ngón tay ra để thu nhỏ.</string>
<string name="mapbox_attributionsDialogTitle">MapLibre Maps SDK cho Android</string>
<string name="mapbox_attributionErrorNoBrowser">Không thể mở trang Web vì thiết bị thiếu trình duyệt.</string>
<string name="mapbox_offline_error_region_definition_invalid">OfflineRegionDefinition được cung cấp không vừa thế giới: %s</string>
<string name="maplibre_compassContentDescription">La bàn bản đồ. Kích hoạt để quay bản đồ lại hướng bắc.</string>
<string name="maplibre_attributionsIconContentDescription">Biểu tượng ghi công. Kích hoạt để xem hộp thoại ghi công.</string>
<string name="maplibre_myLocationViewContentDescription">Cái chỉ vị trí. Cái này chỉ vị trí của bạn trên bản đồ.</string>
<string name="maplibre_mapActionDescription">Đang xem bản đồ được xây dựng dùng MapLibre. Kéo hai ngón tay để cuộn. Chụm các ngón tay lại để phóng to. Tách các ngón tay ra để thu nhỏ.</string>
<string name="maplibre_attributionsDialogTitle">MapLibre Maps SDK cho Android</string>
<string name="maplibre_attributionErrorNoBrowser">Không thể mở trang Web vì thiết bị thiếu trình duyệt.</string>
<string name="maplibre_offline_error_region_definition_invalid">OfflineRegionDefinition được cung cấp không vừa thế giới: %s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">指南针,点击使地图旋转重置到正北方向。</string>
<string name="mapbox_attributionsIconContentDescription">Attribution图标,点击以显示attribution对话框。</string>
<string name="mapbox_myLocationViewContentDescription">定位视图,在地图上显示当前位置。</string>
<string name="mapbox_mapActionDescription">显示由MapLibre创建的地图,通过拖动两个手指来滚动,捏两个手指来放大。</string>
<string name="mapbox_attributionsDialogTitle">MapLibre Maps SDK for Android</string>
<string name="mapbox_attributionErrorNoBrowser">设备中未安装任何浏览器,不能打开该网页</string>
<string name="mapbox_offline_error_region_definition_invalid">提供的OfflineRegionDefinition不符合标准地理范围:%s</string>
<string name="maplibre_compassContentDescription">指南针,点击使地图旋转重置到正北方向。</string>
<string name="maplibre_attributionsIconContentDescription">Attribution图标,点击以显示attribution对话框。</string>
<string name="maplibre_myLocationViewContentDescription">定位视图,在地图上显示当前位置。</string>
<string name="maplibre_mapActionDescription">显示由MapLibre创建的地图,通过拖动两个手指来滚动,捏两个手指来放大。</string>
<string name="maplibre_attributionsDialogTitle">MapLibre Maps SDK for Android</string>
<string name="maplibre_attributionErrorNoBrowser">设备中未安装任何浏览器,不能打开该网页</string>
<string name="maplibre_offline_error_region_definition_invalid">提供的OfflineRegionDefinition不符合标准地理范围:%s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">指南針,点击使地图旋转重置到正北方向。</string>
<string name="mapbox_attributionsIconContentDescription">Attribution圖標,點擊以顯示attribution對話框。</string>
<string name="mapbox_myLocationViewContentDescription">定位視圖,在地圖上顯示當前位置。</string>
<string name="mapbox_mapActionDescription">顯示由MapLibre創建的地圖,通過拖動兩個手指來滾動,捏兩個手指來放大。</string>
<string name="mapbox_attributionsDialogTitle">MapLibre Maps SDK for Android</string>
<string name="mapbox_attributionErrorNoBrowser">設備中未安裝任何瀏覽器,不能打開該網頁</string>
<string name="mapbox_offline_error_region_definition_invalid">提供的OfflineRegionDefinition不符合標準地理範圍:%s</string>
<string name="maplibre_compassContentDescription">指南針,点击使地图旋转重置到正北方向。</string>
<string name="maplibre_attributionsIconContentDescription">Attribution圖標,點擊以顯示attribution對話框。</string>
<string name="maplibre_myLocationViewContentDescription">定位視圖,在地圖上顯示當前位置。</string>
<string name="maplibre_mapActionDescription">顯示由MapLibre創建的地圖,通過拖動兩個手指來滾動,捏兩個手指來放大。</string>
<string name="maplibre_attributionsDialogTitle">MapLibre Maps SDK for Android</string>
<string name="maplibre_attributionErrorNoBrowser">設備中未安裝任何瀏覽器,不能打開該網頁</string>
<string name="maplibre_offline_error_region_definition_invalid">提供的OfflineRegionDefinition不符合標準地理範圍:%s</string>
</resources>

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mapbox_compassContentDescription">指南針,点击使地图旋转重置到正北方向。</string>
<string name="mapbox_attributionsIconContentDescription">Attribution圖標,點擊以顯示attribution對話框。</string>
<string name="mapbox_myLocationViewContentDescription">定位視圖,在地圖上顯示當前位置。</string>
<string name="mapbox_mapActionDescription">顯示由MapLibre創建的地圖,通過拖動兩個手指來滾動,捏兩個手指來放大。</string>
<string name="mapbox_attributionsDialogTitle">MapLibre Maps SDK for Android</string>
<string name="mapbox_attributionErrorNoBrowser">設備中未安裝任何瀏覽器,不能打開該網頁</string>
<string name="mapbox_offline_error_region_definition_invalid">提供的OfflineRegionDefinition不符合標準地理範圍:%s</string>
<string name="maplibre_compassContentDescription">指南針,点击使地图旋转重置到正北方向。</string>
<string name="maplibre_attributionsIconContentDescription">Attribution圖標,點擊以顯示attribution對話框。</string>
<string name="maplibre_myLocationViewContentDescription">定位視圖,在地圖上顯示當前位置。</string>
<string name="maplibre_mapActionDescription">顯示由MapLibre創建的地圖,通過拖動兩個手指來滾動,捏兩個手指來放大。</string>
<string name="maplibre_attributionsDialogTitle">MapLibre Maps SDK for Android</string>
<string name="maplibre_attributionErrorNoBrowser">設備中未安裝任何瀏覽器,不能打開該網頁</string>
<string name="maplibre_offline_error_region_definition_invalid">提供的OfflineRegionDefinition不符合標準地理範圍:%s</string>
</resources>

View File

@@ -1,44 +1,44 @@
<resources>
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- these are public -->
<declare-styleable name="mapbox_MapView">
<declare-styleable name="maplibre_MapView" >
<!--DEPRECATED use mapbox_apiBaseUri instead -->
<attr name="mapbox_apiBaseUrl" format="string"/>
<!--DEPRECATED use maplibre_apiBaseUri instead -->
<attr name="maplibre_apiBaseUrl" format="string"/>
<!--Configuration-->
<attr name="mapbox_apiBaseUri" format="string"/>
<attr name="mapbox_localIdeographEnabled" format="boolean"/>
<attr name="mapbox_localIdeographFontFamily" format="string"/>
<attr name="mapbox_localIdeographFontFamilies" format="reference"/>
<attr name="mapbox_cross_source_collisions" format="boolean"/>
<attr name="maplibre_apiBaseUri" format="string"/>
<attr name="maplibre_localIdeographEnabled" format="boolean"/>
<attr name="maplibre_localIdeographFontFamily" format="string"/>
<attr name="maplibre_localIdeographFontFamilies" format="reference"/>
<attr name="maplibre_cross_source_collisions" format="boolean"/>
<!--Camera-->
<attr name="mapbox_cameraTargetLat" format="float"/>
<attr name="mapbox_cameraTargetLng" format="float"/>
<attr name="mapbox_cameraZoom" format="float"/>
<attr name="mapbox_cameraBearing" format="float"/>
<attr name="mapbox_cameraTilt" format="float"/>
<attr name="maplibre_cameraTargetLat" format="float"/>
<attr name="maplibre_cameraTargetLng" format="float"/>
<attr name="maplibre_cameraZoom" format="float"/>
<attr name="maplibre_cameraBearing" format="float"/>
<attr name="maplibre_cameraTilt" format="float"/>
<!--Zoom-->
<attr name="mapbox_cameraZoomMax" format="float"/>
<attr name="mapbox_cameraZoomMin" format="float"/>
<attr name="maplibre_cameraZoomMax" format="float"/>
<attr name="maplibre_cameraZoomMin" format="float"/>
<!--Pitch-->
<attr name="mapbox_cameraPitchMax" format="float"/>
<attr name="mapbox_cameraPitchMin" format="float"/>
<attr name="maplibre_cameraPitchMax" format="float"/>
<attr name="maplibre_cameraPitchMin" format="float"/>
<!--Gestures-->
<attr name="mapbox_uiZoomGestures" format="boolean"/>
<attr name="mapbox_uiScrollGestures" format="boolean"/>
<attr name="mapbox_uiHorizontalScrollGestures" format="boolean"/>
<attr name="mapbox_uiRotateGestures" format="boolean"/>
<attr name="mapbox_uiTiltGestures" format="boolean"/>
<attr name="mapbox_uiDoubleTapGestures" format="boolean"/>
<attr name="mapbox_uiQuickZoomGestures" format="boolean"/>
<attr name="maplibre_uiZoomGestures" format="boolean"/>
<attr name="maplibre_uiScrollGestures" format="boolean"/>
<attr name="maplibre_uiHorizontalScrollGestures" format="boolean"/>
<attr name="maplibre_uiRotateGestures" format="boolean"/>
<attr name="maplibre_uiTiltGestures" format="boolean"/>
<attr name="maplibre_uiDoubleTapGestures" format="boolean"/>
<attr name="maplibre_uiQuickZoomGestures" format="boolean"/>
<!--Compass-->
<attr name="mapbox_uiCompass" format="boolean"/>
<attr name="mapbox_uiCompassGravity">
<attr name="maplibre_uiCompass" format="boolean"/>
<attr name="maplibre_uiCompassGravity">
<flag name="top" value="0x30"/>
<flag name="bottom" value="0x50"/>
<flag name="left" value="0x03"/>
@@ -54,16 +54,16 @@
<flag name="start" value="0x00800003"/>
<flag name="end" value="0x00800005"/>
</attr>
<attr name="mapbox_uiCompassMarginLeft" format="dimension"/>
<attr name="mapbox_uiCompassMarginTop" format="dimension"/>
<attr name="mapbox_uiCompassMarginRight" format="dimension"/>
<attr name="mapbox_uiCompassMarginBottom" format="dimension"/>
<attr name="mapbox_uiCompassFadeFacingNorth" format="boolean"/>
<attr name="mapbox_uiCompassDrawable" format="reference"/>
<attr name="maplibre_uiCompassMarginLeft" format="dimension"/>
<attr name="maplibre_uiCompassMarginTop" format="dimension"/>
<attr name="maplibre_uiCompassMarginRight" format="dimension"/>
<attr name="maplibre_uiCompassMarginBottom" format="dimension"/>
<attr name="maplibre_uiCompassFadeFacingNorth" format="boolean"/>
<attr name="maplibre_uiCompassDrawable" format="reference"/>
<!--Logo-->
<attr name="mapbox_uiLogo" format="boolean"/>
<attr name="mapbox_uiLogoGravity">
<attr name="maplibre_uiLogo" format="boolean"/>
<attr name="maplibre_uiLogoGravity">
<flag name="top" value="0x30"/>
<flag name="bottom" value="0x50"/>
<flag name="left" value="0x03"/>
@@ -79,14 +79,14 @@
<flag name="start" value="0x00800003"/>
<flag name="end" value="0x00800005"/>
</attr>
<attr name="mapbox_uiLogoMarginLeft" format="dimension"/>
<attr name="mapbox_uiLogoMarginTop" format="dimension"/>
<attr name="mapbox_uiLogoMarginRight" format="dimension"/>
<attr name="mapbox_uiLogoMarginBottom" format="dimension"/>
<attr name="maplibre_uiLogoMarginLeft" format="dimension"/>
<attr name="maplibre_uiLogoMarginTop" format="dimension"/>
<attr name="maplibre_uiLogoMarginRight" format="dimension"/>
<attr name="maplibre_uiLogoMarginBottom" format="dimension"/>
<!--Attribution-->
<attr name="mapbox_uiAttribution" format="boolean"/>
<attr name="mapbox_uiAttributionGravity">
<attr name="maplibre_uiAttribution" format="boolean"/>
<attr name="maplibre_uiAttributionGravity">
<flag name="top" value="0x30"/>
<flag name="bottom" value="0x50"/>
<flag name="left" value="0x03"/>
@@ -102,34 +102,34 @@
<flag name="start" value="0x00800003"/>
<flag name="end" value="0x00800005"/>
</attr>
<attr name="mapbox_uiAttributionMarginLeft" format="dimension"/>
<attr name="mapbox_uiAttributionMarginTop" format="dimension"/>
<attr name="mapbox_uiAttributionMarginRight" format="dimension"/>
<attr name="mapbox_uiAttributionMarginBottom" format="dimension"/>
<attr name="mapbox_uiAttributionTintColor" format="color"/>
<attr name="maplibre_uiAttributionMarginLeft" format="dimension"/>
<attr name="maplibre_uiAttributionMarginTop" format="dimension"/>
<attr name="maplibre_uiAttributionMarginRight" format="dimension"/>
<attr name="maplibre_uiAttributionMarginBottom" format="dimension"/>
<attr name="maplibre_uiAttributionTintColor" format="color"/>
<!-- Use TextureView-->
<attr name="mapbox_renderTextureMode" format="boolean"/>
<attr name="mapbox_renderTextureTranslucentSurface" format="boolean"/>
<attr name="mapbox_foregroundLoadColor" format="color"/>
<attr name="maplibre_renderTextureMode" format="boolean"/>
<attr name="maplibre_renderTextureTranslucentSurface" format="boolean"/>
<attr name="maplibre_foregroundLoadColor" format="color"/>
<attr name="mapbox_enableTilePrefetch" format="boolean"/>
<attr name="mapbox_prefetchZoomDelta" format="integer"/>
<attr name="mapbox_enableZMediaOverlay" format="boolean"/>
<attr name="mapbox_pixelRatio" format="float"/>
<attr name="maplibre_enableTilePrefetch" format="boolean"/>
<attr name="maplibre_prefetchZoomDelta" format="integer"/>
<attr name="maplibre_enableZMediaOverlay" format="boolean"/>
<attr name="maplibre_pixelRatio" format="float"/>
</declare-styleable>
<declare-styleable name="mapbox_BubbleLayout">
<attr name="mapbox_bl_arrowWidth" format="dimension|reference"/>
<attr name="mapbox_bl_cornersRadius" format="dimension|reference"/>
<attr name="mapbox_bl_arrowHeight" format="dimension|reference"/>
<attr name="mapbox_bl_arrowPosition" format="dimension|reference"/>
<attr name="mapbox_bl_bubbleColor" format="color|reference"/>
<attr name="mapbox_bl_strokeWidth" format="dimension|reference"/>
<attr name="mapbox_bl_strokeColor" format="color|reference"/>
<declare-styleable name="maplibre_BubbleLayout">
<attr name="maplibre_bl_arrowWidth" format="dimension|reference"/>
<attr name="maplibre_bl_cornersRadius" format="dimension|reference"/>
<attr name="maplibre_bl_arrowHeight" format="dimension|reference"/>
<attr name="maplibre_bl_arrowPosition" format="dimension|reference"/>
<attr name="maplibre_bl_bubbleColor" format="color|reference"/>
<attr name="maplibre_bl_strokeWidth" format="dimension|reference"/>
<attr name="maplibre_bl_strokeColor" format="color|reference"/>
<attr name="mapbox_bl_arrowDirection" format="enum">
<attr name="maplibre_bl_arrowDirection" format="enum">
<enum name="left" value="0"/>
<enum name="right" value="1"/>
<enum name="top" value="2"/>
@@ -137,65 +137,65 @@
</attr>
</declare-styleable>
<declare-styleable name="mapbox_LocationComponent">
<attr name="mapbox_foregroundDrawable" format="reference"/>
<attr name="mapbox_foregroundTintColor" format="color"/>
<attr name="mapbox_backgroundDrawable" format="reference"/>
<attr name="mapbox_backgroundTintColor" format="color"/>
<attr name="mapbox_bearingDrawable" format="reference"/>
<attr name="mapbox_bearingTintColor" format="color"/>
<attr name="mapbox_gpsDrawable" format="reference"/>
<declare-styleable name="maplibre_LocationComponent">
<attr name="maplibre_foregroundDrawable" format="reference"/>
<attr name="maplibre_foregroundTintColor" format="color"/>
<attr name="maplibre_backgroundDrawable" format="reference"/>
<attr name="maplibre_backgroundTintColor" format="color"/>
<attr name="maplibre_bearingDrawable" format="reference"/>
<attr name="maplibre_bearingTintColor" format="color"/>
<attr name="maplibre_gpsDrawable" format="reference"/>
<attr name="mapbox_foregroundDrawableStale" format="reference"/>
<attr name="mapbox_foregroundStaleTintColor" format="color"/>
<attr name="mapbox_backgroundDrawableStale" format="reference"/>
<attr name="mapbox_backgroundStaleTintColor" format="color"/>
<attr name="maplibre_foregroundDrawableStale" format="reference"/>
<attr name="maplibre_foregroundStaleTintColor" format="color"/>
<attr name="maplibre_backgroundDrawableStale" format="reference"/>
<attr name="maplibre_backgroundStaleTintColor" format="color"/>
<attr name="mapbox_accuracyAlpha" format="float"/>
<attr name="mapbox_accuracyColor" format="color"/>
<attr name="maplibre_accuracyAlpha" format="float"/>
<attr name="maplibre_accuracyColor" format="color"/>
<attr name="mapbox_elevation" format="dimension"/>
<attr name="maplibre_elevation" format="dimension"/>
<!-- Stale state -->
<attr name="mapbox_enableStaleState" format="boolean"/>
<attr name="mapbox_staleStateTimeout" format="integer" min="0"/>
<attr name="maplibre_enableStaleState" format="boolean"/>
<attr name="maplibre_staleStateTimeout" format="integer" min="0"/>
<!-- Location icon padding -->
<attr name="mapbox_iconPaddingLeft" format="integer"/>
<attr name="mapbox_iconPaddingTop" format="integer"/>
<attr name="mapbox_iconPaddingRight" format="integer"/>
<attr name="mapbox_iconPaddingBottom" format="integer"/>
<attr name="maplibre_iconPaddingLeft" format="integer"/>
<attr name="maplibre_iconPaddingTop" format="integer"/>
<attr name="maplibre_iconPaddingRight" format="integer"/>
<attr name="maplibre_iconPaddingBottom" format="integer"/>
<!-- Map layer configuration -->
<attr name="mapbox_layer_above" format="string"/>
<attr name="mapbox_layer_below" format="string"/>
<attr name="maplibre_layer_above" format="string"/>
<attr name="maplibre_layer_below" format="string"/>
<!-- Icon scale based on map zoom levels -->
<attr name="mapbox_maxZoomIconScale" format="float"/>
<attr name="mapbox_minZoomIconScale" format="float"/>
<attr name="maplibre_maxZoomIconScale" format="float"/>
<attr name="maplibre_minZoomIconScale" format="float"/>
<!-- Camera tracking settings -->
<attr name="mapbox_trackingGesturesManagement" format="boolean"/>
<attr name="mapbox_trackingInitialMoveThreshold" format="dimension"/>
<attr name="mapbox_trackingMultiFingerMoveThreshold" format="dimension"/>
<attr name="maplibre_trackingGesturesManagement" format="boolean"/>
<attr name="maplibre_trackingInitialMoveThreshold" format="dimension"/>
<attr name="maplibre_trackingMultiFingerMoveThreshold" format="dimension"/>
<!-- Animation duration multiplier -->
<attr name="mapbox_trackingAnimationDurationMultiplier" format="float" />
<attr name="maplibre_trackingAnimationDurationMultiplier" format="float" />
<!-- Compass animation -->
<attr name="mapbox_compassAnimationEnabled" format="boolean" />
<attr name="maplibre_compassAnimationEnabled" format="boolean" />
<!-- Accuracy animation-->
<attr name="mapbox_accuracyAnimationEnabled" format="boolean" />
<attr name="maplibre_accuracyAnimationEnabled" format="boolean" />
<!-- Pulsing circle -->
<attr name="mapbox_pulsingLocationCircleEnabled" format="boolean" />
<attr name="mapbox_pulsingLocationCircleFadeEnabled" format="boolean" />
<attr name="mapbox_pulsingLocationCircleColor" format="color" />
<attr name="mapbox_pulsingLocationCircleDuration" format="float" />
<attr name="mapbox_pulsingLocationCircleRadius" format="float" />
<attr name="mapbox_pulsingLocationCircleAlpha" format="float" />
<attr name="mapbox_pulsingLocationCircleInterpolator" format="string" />
<attr name="maplibre_pulsingLocationCircleEnabled" format="boolean" />
<attr name="maplibre_pulsingLocationCircleFadeEnabled" format="boolean" />
<attr name="maplibre_pulsingLocationCircleColor" format="color" />
<attr name="maplibre_pulsingLocationCircleDuration" format="float" />
<attr name="maplibre_pulsingLocationCircleRadius" format="float" />
<attr name="maplibre_pulsingLocationCircleAlpha" format="float" />
<attr name="maplibre_pulsingLocationCircleInterpolator" format="string" />
</declare-styleable>
</resources>

View File

@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="mapbox_gray_dark">#5F5F5F</color>
<color name="mapbox_gray">#7D7F80</color>
<color name="mapbox_blue">#1E8CAB</color>
<color name="maplibre_gray_dark">#5F5F5F</color>
<color name="maplibre_gray">#7D7F80</color>
<color name="maplibre_blue">#1E8CAB</color>
<color name="mapbox_location_layer_blue">#4A90E2</color>
<color name="mapbox_location_layer_gray">#A1B0C0</color>
<color name="maplibre_location_layer_blue">#4A90E2</color>
<color name="maplibre_location_layer_gray">#A1B0C0</color>
</resources>

Some files were not shown because too many files have changed in this diff Show More