@rnmapbox/maps 10.0.14 → 10.0.15-rc.1
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.
package/android/build.gradle
CHANGED
|
@@ -229,11 +229,11 @@ abstract class RCTLayer<T : Layer?>(protected var mContext: Context) : AbstractS
|
|
|
229
229
|
mLayer?.let { layer ->
|
|
230
230
|
mAboveLayerID?.also {
|
|
231
231
|
addAbove(mapView, it)
|
|
232
|
-
} ?: { mBelowLayerID?.also {
|
|
232
|
+
} ?: run { mBelowLayerID?.also {
|
|
233
233
|
addBelow(mapView, it)
|
|
234
|
-
} ?: { mLayerIndex?.also {
|
|
234
|
+
} ?: run { mLayerIndex?.also {
|
|
235
235
|
addAtIndex(it)
|
|
236
|
-
} ?: {
|
|
236
|
+
} ?: run {
|
|
237
237
|
add ()
|
|
238
238
|
} } }
|
|
239
239
|
}
|
|
@@ -264,7 +264,7 @@ class RCTMGLStyleValue {
|
|
|
264
264
|
}
|
|
265
265
|
let valueObj = RCTMGLStyleValue.convert(value["stylevalue"] as! [String:Any])
|
|
266
266
|
|
|
267
|
-
if let num =
|
|
267
|
+
if let num = valueObj as? Int {
|
|
268
268
|
let uicolor = uicolor(num)
|
|
269
269
|
return StyleColor(uicolor)
|
|
270
270
|
} else {
|
package/package.json
CHANGED
package/rnmapbox-maps.podspec
CHANGED
|
@@ -20,7 +20,7 @@ require 'json'
|
|
|
20
20
|
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
21
21
|
|
|
22
22
|
## Warning: these lines are scanned by autogenerate.js
|
|
23
|
-
rnMapboxMapsDefaultMapboxVersion = '~> 10.
|
|
23
|
+
rnMapboxMapsDefaultMapboxVersion = '~> 10.16.0'
|
|
24
24
|
rnMapboxMapsDefaultMapboxGLVersion = '~> 5.9.0'
|
|
25
25
|
rnMapboxMapsDefaultMapLibreVersion = 'exactVersion 5.12.1'
|
|
26
26
|
|