@maplibre/maplibre-react-native 11.0.0-beta.24 → 11.0.0-beta.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -417,14 +417,16 @@ open class MLRNMapView(
|
|
|
417
417
|
this.mapLibreMap = mapLibreMap
|
|
418
418
|
|
|
419
419
|
val uiSettings = mapLibreMap.uiSettings
|
|
420
|
-
attributionGravity = Gravity.END or Gravity.BOTTOM
|
|
421
|
-
attributionMargin
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
420
|
+
if (attributionGravity == null) attributionGravity = Gravity.END or Gravity.BOTTOM
|
|
421
|
+
if (attributionMargin == null) {
|
|
422
|
+
attributionMargin =
|
|
423
|
+
intArrayOf(
|
|
424
|
+
0,
|
|
425
|
+
0,
|
|
426
|
+
(4 * displayDensity).roundToInt(),
|
|
427
|
+
(4 * displayDensity).roundToInt(),
|
|
428
|
+
)
|
|
429
|
+
}
|
|
428
430
|
|
|
429
431
|
if (logoGravity == null) logoGravity = uiSettings.logoGravity
|
|
430
432
|
if (logoMargins == null) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maplibre/maplibre-react-native",
|
|
3
3
|
"description": "React Native library for creating maps with MapLibre Native for Android & iOS",
|
|
4
|
-
"version": "11.0.0-beta.
|
|
4
|
+
"version": "11.0.0-beta.25",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
7
7
|
"provenance": true
|