@rnmapbox/maps 10.1.29 → 10.1.30-rc.0
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 +3 -2
- package/android/src/main/java/com/rnmapbox/rnmbx/components/camera/RNMBXCameraManager.kt +1 -0
- package/android/src/main/java/com/rnmapbox/rnmbx/components/images/RNMBXImagesManager.kt +5 -6
- package/android/src/main/java/com/rnmapbox/rnmbx/components/location/RNMBXCustomLocationProviderManager.kt +2 -0
- package/android/src/main/java/com/rnmapbox/rnmbx/components/location/RNMBXNativeUserLocationManager.kt +1 -0
- package/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/NativeMapViewModule.kt +4 -4
- package/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/RNMBXMapViewManager.kt +4 -4
- package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/RNMBXStyleImportManager.kt +1 -0
- package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/RNMBXStyleValue.kt +1 -0
- package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXImageSource.kt +3 -1
- package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXTileSourceManager.kt +4 -4
- package/android/src/main/java/com/rnmapbox/rnmbx/utils/extensions/Dynamic.kt +1 -0
- package/android/src/main/java/com/rnmapbox/rnmbx/utils/extensions/ReadableMap.kt +1 -0
- package/android/src/main/rn-compat/rn75/com/rnmapbox/rnmbx/rncompat/Dynamic.kt +18 -0
- package/android/src/main/rn-compat/rn75/com/rnmapbox/rnmbx/rncompat/ReadableMap.kt +7 -0
- package/android/src/main/rn-compat/rn75/com/rnmapbox/rnmbx/rncompat/ResourceDrawableIdHelper.kt +7 -0
- package/ios/RNMBX/RNMBXAtmosphereComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXBackgroundLayerComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXCalloutComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXCameraComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXCircleLayerComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXCustomLocationProviderComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXFillExtrusionLayerComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXFillLayerComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXHeatmapLayerComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXImageComponentView.mm +5 -0
- package/ios/RNMBX/RNMBXImageSourceComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXImagesComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXLightComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXLineLayerComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXMapViewComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXMarkerViewComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXMarkerViewContentComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXModelLayerComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXModelsComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXNativeUserLocationComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXPointAnnotationComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXRasterDemSourceComponentView.mm +5 -0
- package/ios/RNMBX/RNMBXRasterLayerComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXRasterSourceComponentView.mm +5 -0
- package/ios/RNMBX/RNMBXShapeSourceComponentView.mm +5 -0
- package/ios/RNMBX/RNMBXSkyLayerComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXStyleImportComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXSymbolLayerComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXTerrainComponentView.mm +6 -0
- package/ios/RNMBX/RNMBXVectorSourceComponentView.mm +5 -0
- package/ios/RNMBX/RNMBXViewportComponentView.mm +6 -0
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -72,6 +72,7 @@ android {
|
|
|
72
72
|
} else {
|
|
73
73
|
java.srcDirs += 'src/main/mapbox-v11-compat/v10'
|
|
74
74
|
}
|
|
75
|
+
java.srcDirs += 'src/main/rn-compat/rn75'
|
|
75
76
|
if (safeExtGet("RNMapboxMapsUseV11", false)) {
|
|
76
77
|
logger.warn("RNMapboxMapsUseV11 is deprecated, just set RNMapboxMapsVersion to 11.*")
|
|
77
78
|
}
|
|
@@ -164,9 +165,9 @@ dependencies {
|
|
|
164
165
|
|
|
165
166
|
// Dependencies
|
|
166
167
|
customizableDependencies('RNMapboxMapsSupportLibs') {
|
|
167
|
-
implementation "com.android.support:support-vector-drawable:28.0.0"
|
|
168
|
+
//implementation "com.android.support:support-vector-drawable:28.0.0"
|
|
168
169
|
implementation "com.android.support:support-annotations:28.0.0"
|
|
169
|
-
implementation "com.android.support:appcompat-v7:28.0.0"
|
|
170
|
+
//implementation "com.android.support:appcompat-v7:28.0.0"
|
|
170
171
|
}
|
|
171
172
|
customizableDependencies('RNMapboxMapsOkHTTPLibs') {
|
|
172
173
|
implementation "com.squareup.okhttp3:okhttp:4.9.0"
|
|
@@ -13,6 +13,7 @@ import com.rnmapbox.rnmbx.utils.ViewTagResolver
|
|
|
13
13
|
import com.rnmapbox.rnmbx.utils.extensions.asBooleanOrNull
|
|
14
14
|
import com.rnmapbox.rnmbx.utils.extensions.asDoubleOrNull
|
|
15
15
|
import com.rnmapbox.rnmbx.utils.extensions.asStringOrNull
|
|
16
|
+
import com.rnmapbox.rnmbx.rncompat.dynamic.*
|
|
16
17
|
|
|
17
18
|
class RNMBXCameraManager(private val mContext: ReactApplicationContext, val viewTagResolver: ViewTagResolver) :
|
|
18
19
|
AbstractEventEmitter<RNMBXCamera?>(
|
|
@@ -15,6 +15,7 @@ import com.mapbox.maps.ImageStretches
|
|
|
15
15
|
import com.rnmapbox.rnmbx.components.AbstractEventEmitter
|
|
16
16
|
import com.rnmapbox.rnmbx.events.constants.EventKeys
|
|
17
17
|
import com.rnmapbox.rnmbx.events.constants.eventMapOf
|
|
18
|
+
import com.rnmapbox.rnmbx.rncompat.dynamic.*
|
|
18
19
|
import com.rnmapbox.rnmbx.utils.ImageEntry
|
|
19
20
|
import com.rnmapbox.rnmbx.utils.Logger
|
|
20
21
|
import com.rnmapbox.rnmbx.utils.ResourceUtils
|
|
@@ -202,15 +203,13 @@ class RNMBXImagesManager(private val mContext: ReactApplicationContext) :
|
|
|
202
203
|
images.setNativeImages(nativeImages)
|
|
203
204
|
}
|
|
204
205
|
|
|
205
|
-
override fun customEvents(): Map<String, String>? {
|
|
206
|
-
return eventMapOf(
|
|
206
|
+
override fun customEvents(): Map<String, String>? { return eventMapOf(
|
|
207
207
|
EventKeys.IMAGES_MISSING to "onImageMissing"
|
|
208
208
|
)
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
// region RNMBXImage children
|
|
212
|
-
|
|
213
|
-
override fun addView(parent: RNMBXImages?, childView: View?, childPosition: Int) {
|
|
212
|
+
override fun addView(parent: RNMBXImages, childView: View, childPosition: Int) {
|
|
214
213
|
if (parent == null || childView == null) {
|
|
215
214
|
Logger.e("RNMBXImages", "addView: parent or childView is null")
|
|
216
215
|
return
|
|
@@ -225,7 +224,7 @@ class RNMBXImagesManager(private val mContext: ReactApplicationContext) :
|
|
|
225
224
|
childView.nativeImageUpdater = parent
|
|
226
225
|
}
|
|
227
226
|
|
|
228
|
-
override fun removeView(parent: RNMBXImages
|
|
227
|
+
override fun removeView(parent: RNMBXImages, view: View) {
|
|
229
228
|
if (parent == null || view == null) {
|
|
230
229
|
Logger.e("RNMBXImages", "removeView: parent or view is null")
|
|
231
230
|
return
|
|
@@ -234,7 +233,7 @@ class RNMBXImagesManager(private val mContext: ReactApplicationContext) :
|
|
|
234
233
|
parent.mImageViews.remove(view)
|
|
235
234
|
}
|
|
236
235
|
|
|
237
|
-
override fun removeAllViews(parent: RNMBXImages
|
|
236
|
+
override fun removeAllViews(parent: RNMBXImages) {
|
|
238
237
|
if (parent == null) {
|
|
239
238
|
Logger.e("RNMBXImages", "removeAllViews parent is null")
|
|
240
239
|
return
|
|
@@ -6,8 +6,10 @@ import com.facebook.react.uimanager.ThemedReactContext
|
|
|
6
6
|
import com.facebook.react.uimanager.ViewGroupManager
|
|
7
7
|
import com.facebook.react.uimanager.annotations.ReactProp
|
|
8
8
|
import com.facebook.react.viewmanagers.RNMBXCustomLocationProviderManagerInterface
|
|
9
|
+
import com.rnmapbox.rnmbx.rncompat.dynamic.*
|
|
9
10
|
import com.rnmapbox.rnmbx.utils.Logger
|
|
10
11
|
|
|
12
|
+
|
|
11
13
|
class RNMBXCustomLocationProviderManager : ViewGroupManager<RNMBXCustomLocationProvider>(),
|
|
12
14
|
RNMBXCustomLocationProviderManagerInterface<RNMBXCustomLocationProvider> {
|
|
13
15
|
override fun getName(): String {
|
|
@@ -11,6 +11,7 @@ import com.google.gson.Gson
|
|
|
11
11
|
import com.google.gson.stream.JsonWriter
|
|
12
12
|
import com.mapbox.bindgen.Value
|
|
13
13
|
import com.mapbox.maps.extension.style.expressions.generated.Expression
|
|
14
|
+
import com.rnmapbox.rnmbx.rncompat.dynamic.*
|
|
14
15
|
import com.rnmapbox.rnmbx.utils.Logger
|
|
15
16
|
import com.rnmapbox.rnmbx.utils.extensions.toJsonArray
|
|
16
17
|
import java.io.StringWriter
|
|
@@ -143,11 +143,11 @@ class NativeMapViewModule(context: ReactApplicationContext, val viewTagResolver:
|
|
|
143
143
|
|
|
144
144
|
override fun setHandledMapChangedEvents(
|
|
145
145
|
viewRef: ViewRefTag?,
|
|
146
|
-
events: ReadableArray
|
|
147
|
-
promise: Promise
|
|
146
|
+
events: ReadableArray?,
|
|
147
|
+
promise: Promise?
|
|
148
148
|
) {
|
|
149
|
-
withMapViewOnUIThread(viewRef, promise) {
|
|
150
|
-
it.setHandledMapChangedEvents(events
|
|
149
|
+
withMapViewOnUIThread(viewRef, promise!!) {
|
|
150
|
+
it.setHandledMapChangedEvents(events!!.asArrayString())
|
|
151
151
|
promise.resolve(null)
|
|
152
152
|
}
|
|
153
153
|
}
|
|
@@ -86,19 +86,19 @@ open class RNMBXMapViewManager(context: ReactApplicationContext, val viewTagReso
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
override fun addView(mapView: RNMBXMapView
|
|
89
|
+
override fun addView(mapView: RNMBXMapView, childView: View, childPosition: Int) {
|
|
90
90
|
mapView!!.addFeature(childView, childPosition)
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
override fun getChildCount(mapView: RNMBXMapView
|
|
93
|
+
override fun getChildCount(mapView: RNMBXMapView): Int {
|
|
94
94
|
return mapView!!.featureCount
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
override fun getChildAt(mapView: RNMBXMapView
|
|
97
|
+
override fun getChildAt(mapView: RNMBXMapView, index: Int): View? {
|
|
98
98
|
return mapView!!.getFeatureAt(index)
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
override fun removeViewAt(mapView: RNMBXMapView
|
|
101
|
+
override fun removeViewAt(mapView: RNMBXMapView, index: Int) {
|
|
102
102
|
mapView!!.removeFeatureAt(index)
|
|
103
103
|
}
|
|
104
104
|
|
package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/RNMBXStyleImportManager.kt
CHANGED
|
@@ -11,6 +11,7 @@ import com.facebook.react.viewmanagers.RNMBXStyleImportManagerInterface
|
|
|
11
11
|
import com.rnmapbox.rnmbx.components.AbstractEventEmitter
|
|
12
12
|
import com.rnmapbox.rnmbx.components.mapview.RNMBXMapView
|
|
13
13
|
import com.mapbox.bindgen.Value
|
|
14
|
+
import com.rnmapbox.rnmbx.rncompat.dynamic.*
|
|
14
15
|
import com.rnmapbox.rnmbx.utils.Logger
|
|
15
16
|
import com.rnmapbox.rnmbx.utils.extensions.toValueHashMap
|
|
16
17
|
import org.json.JSONObject
|
|
@@ -8,6 +8,7 @@ import com.mapbox.maps.extension.style.types.StyleTransition
|
|
|
8
8
|
import com.rnmapbox.rnmbx.components.styles.RNMBXStyleFactory
|
|
9
9
|
import com.mapbox.maps.extension.style.expressions.generated.Expression
|
|
10
10
|
import com.mapbox.maps.extension.style.light.LightPosition
|
|
11
|
+
import com.rnmapbox.rnmbx.rncompat.dynamic.*
|
|
11
12
|
import com.rnmapbox.rnmbx.utils.ExpressionParser
|
|
12
13
|
import com.rnmapbox.rnmbx.utils.Logger
|
|
13
14
|
import java.util.ArrayList
|
package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXImageSource.kt
CHANGED
|
@@ -5,6 +5,7 @@ import android.net.Uri
|
|
|
5
5
|
import android.util.Log
|
|
6
6
|
import com.facebook.react.views.imagehelper.ResourceDrawableIdHelper
|
|
7
7
|
import com.mapbox.maps.extension.style.sources.generated.ImageSource
|
|
8
|
+
import com.rnmapbox.rnmbx.rncompat.resourcedrawableidhelper.*
|
|
8
9
|
import com.rnmapbox.rnmbx.utils.LatLngQuad
|
|
9
10
|
import java.net.URL
|
|
10
11
|
|
|
@@ -66,4 +67,5 @@ class RNMBXImageSource(context: Context?) : RNMBXSource<ImageSource?>(context) {
|
|
|
66
67
|
companion object {
|
|
67
68
|
const val LOG_TAG = "RNMBXImageSource"
|
|
68
69
|
}
|
|
69
|
-
}
|
|
70
|
+
}
|
|
71
|
+
|
package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXTileSourceManager.kt
CHANGED
|
@@ -10,19 +10,19 @@ import com.rnmapbox.rnmbx.components.AbstractEventEmitter
|
|
|
10
10
|
abstract class RNMBXTileSourceManager<T : RNMBXTileSource<*>?> internal constructor(
|
|
11
11
|
reactApplicationContext: ReactApplicationContext
|
|
12
12
|
) : AbstractEventEmitter<T>(reactApplicationContext) {
|
|
13
|
-
override fun getChildAt(source: T, childPosition: Int): View {
|
|
13
|
+
override fun getChildAt(source: T & Any, childPosition: Int): View {
|
|
14
14
|
return source!!.getChildAt(childPosition)
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
override fun getChildCount(source: T): Int {
|
|
17
|
+
override fun getChildCount(source: T & Any): Int {
|
|
18
18
|
return source!!.childCount
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
override fun addView(source: T, childView: View, childPosition: Int) {
|
|
21
|
+
override fun addView(source: T & Any, childView: View, childPosition: Int) {
|
|
22
22
|
source!!.addLayer(childView, childPosition)
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
override fun removeViewAt(source: T, childPosition: Int) {
|
|
25
|
+
override fun removeViewAt(source: T & Any, childPosition: Int) {
|
|
26
26
|
source!!.removeLayer(childPosition)
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -5,6 +5,7 @@ import com.facebook.react.bridge.ReadableArray
|
|
|
5
5
|
import com.facebook.react.bridge.ReadableMap
|
|
6
6
|
import com.facebook.react.bridge.ReadableType
|
|
7
7
|
import com.mapbox.bindgen.Value
|
|
8
|
+
import com.rnmapbox.rnmbx.rncompat.dynamic.*
|
|
8
9
|
|
|
9
10
|
fun ReadableMap.toValueHashMap(): HashMap<String, Value> {
|
|
10
11
|
var result = hashMapOf<String, Value>()
|
|
@@ -17,6 +17,7 @@ import com.mapbox.geojson.MultiPolygon
|
|
|
17
17
|
import com.mapbox.geojson.Point
|
|
18
18
|
import com.mapbox.geojson.Polygon
|
|
19
19
|
import com.mapbox.maps.EdgeInsets
|
|
20
|
+
import com.rnmapbox.rnmbx.rncompat.readable_map.*
|
|
20
21
|
import com.rnmapbox.rnmbx.utils.ConvertUtils
|
|
21
22
|
import com.rnmapbox.rnmbx.utils.Logger
|
|
22
23
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
package com.rnmapbox.rnmbx.rncompat.dynamic
|
|
2
|
+
|
|
3
|
+
import com.facebook.react.bridge.Dynamic
|
|
4
|
+
import com.facebook.react.bridge.ReadableType
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
fun Dynamic.getType(): ReadableType {
|
|
8
|
+
return type
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
val Dynamic.type: ReadableType
|
|
13
|
+
get() { return this.getType() }
|
|
14
|
+
*/
|
|
15
|
+
/*
|
|
16
|
+
val Dynamic.isNull: Boolean
|
|
17
|
+
get() { return this.isNull() }
|
|
18
|
+
*/
|
|
@@ -21,6 +21,12 @@ using namespace facebook::react;
|
|
|
21
21
|
RNMBXAtmosphere *_view;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
25
|
+
+ (void)load
|
|
26
|
+
{
|
|
27
|
+
[super load];
|
|
28
|
+
}
|
|
29
|
+
|
|
24
30
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
25
31
|
{
|
|
26
32
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -21,6 +21,12 @@ using namespace facebook::react;
|
|
|
21
21
|
RNMBXBackgroundLayer *_view;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
25
|
+
+ (void)load
|
|
26
|
+
{
|
|
27
|
+
[super load];
|
|
28
|
+
}
|
|
29
|
+
|
|
24
30
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
25
31
|
{
|
|
26
32
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -20,6 +20,12 @@ using namespace facebook::react;
|
|
|
20
20
|
RNMBXCallout *_view;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
24
|
+
+ (void)load
|
|
25
|
+
{
|
|
26
|
+
[super load];
|
|
27
|
+
}
|
|
28
|
+
|
|
23
29
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
24
30
|
{
|
|
25
31
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -20,6 +20,12 @@ using namespace facebook::react;
|
|
|
20
20
|
RNMBXCamera *_view;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
24
|
+
+ (void)load
|
|
25
|
+
{
|
|
26
|
+
[super load];
|
|
27
|
+
}
|
|
28
|
+
|
|
23
29
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
24
30
|
{
|
|
25
31
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -21,6 +21,12 @@ using namespace facebook::react;
|
|
|
21
21
|
RNMBXCircleLayer *_view;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
25
|
+
+ (void)load
|
|
26
|
+
{
|
|
27
|
+
[super load];
|
|
28
|
+
}
|
|
29
|
+
|
|
24
30
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
25
31
|
{
|
|
26
32
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -21,6 +21,12 @@ using namespace facebook::react;
|
|
|
21
21
|
RNMBXCustomLocationProvider *_view;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
25
|
+
+ (void)load
|
|
26
|
+
{
|
|
27
|
+
[super load];
|
|
28
|
+
}
|
|
29
|
+
|
|
24
30
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
25
31
|
{
|
|
26
32
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -21,6 +21,12 @@ using namespace facebook::react;
|
|
|
21
21
|
RNMBXFillExtrusionLayer *_view;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
25
|
+
+ (void)load
|
|
26
|
+
{
|
|
27
|
+
[super load];
|
|
28
|
+
}
|
|
29
|
+
|
|
24
30
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
25
31
|
{
|
|
26
32
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -21,6 +21,12 @@ using namespace facebook::react;
|
|
|
21
21
|
RNMBXFillLayer *_view;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
25
|
+
+ (void)load
|
|
26
|
+
{
|
|
27
|
+
[super load];
|
|
28
|
+
}
|
|
29
|
+
|
|
24
30
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
25
31
|
{
|
|
26
32
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -21,6 +21,12 @@ using namespace facebook::react;
|
|
|
21
21
|
RNMBXHeatmapLayer *_view;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
25
|
+
+ (void)load
|
|
26
|
+
{
|
|
27
|
+
[super load];
|
|
28
|
+
}
|
|
29
|
+
|
|
24
30
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
25
31
|
{
|
|
26
32
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -20,6 +20,12 @@ using namespace facebook::react;
|
|
|
20
20
|
RNMBXImageSource *_view;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
24
|
+
+ (void)load
|
|
25
|
+
{
|
|
26
|
+
[super load];
|
|
27
|
+
}
|
|
28
|
+
|
|
23
29
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
24
30
|
{
|
|
25
31
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -23,6 +23,12 @@ using namespace facebook::react;
|
|
|
23
23
|
RNMBXImages *_view;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
27
|
+
+ (void)load
|
|
28
|
+
{
|
|
29
|
+
[super load];
|
|
30
|
+
}
|
|
31
|
+
|
|
26
32
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
27
33
|
{
|
|
28
34
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -21,6 +21,12 @@ using namespace facebook::react;
|
|
|
21
21
|
RNMBXLight *_view;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
25
|
+
+ (void)load
|
|
26
|
+
{
|
|
27
|
+
[super load];
|
|
28
|
+
}
|
|
29
|
+
|
|
24
30
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
25
31
|
{
|
|
26
32
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -21,6 +21,12 @@ using namespace facebook::react;
|
|
|
21
21
|
RNMBXLineLayer *_view;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
25
|
+
+ (void)load
|
|
26
|
+
{
|
|
27
|
+
[super load];
|
|
28
|
+
}
|
|
29
|
+
|
|
24
30
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
25
31
|
{
|
|
26
32
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -25,6 +25,12 @@ using namespace facebook::react;
|
|
|
25
25
|
RNMBXMapViewComponentView* _componentView;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
29
|
+
+ (void)load
|
|
30
|
+
{
|
|
31
|
+
[super load];
|
|
32
|
+
}
|
|
33
|
+
|
|
28
34
|
- (instancetype)initWithComponentView:(RNMBXMapViewComponentView*)componentView {
|
|
29
35
|
if (self = [super init]) {
|
|
30
36
|
_componentView = componentView;
|
|
@@ -20,6 +20,12 @@ using namespace facebook::react;
|
|
|
20
20
|
RNMBXMarkerView *_view;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
24
|
+
+ (void)load
|
|
25
|
+
{
|
|
26
|
+
[super load];
|
|
27
|
+
}
|
|
28
|
+
|
|
23
29
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
24
30
|
{
|
|
25
31
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -21,6 +21,12 @@ using namespace facebook::react;
|
|
|
21
21
|
CGRect _frame;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
25
|
+
+ (void)load
|
|
26
|
+
{
|
|
27
|
+
[super load];
|
|
28
|
+
}
|
|
29
|
+
|
|
24
30
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
25
31
|
{
|
|
26
32
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -21,6 +21,12 @@ using namespace facebook::react;
|
|
|
21
21
|
RNMBXModelLayer *_view;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
25
|
+
+ (void)load
|
|
26
|
+
{
|
|
27
|
+
[super load];
|
|
28
|
+
}
|
|
29
|
+
|
|
24
30
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
25
31
|
{
|
|
26
32
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -23,6 +23,12 @@ using namespace facebook::react;
|
|
|
23
23
|
RNMBXModels *_view;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
27
|
+
+ (void)load
|
|
28
|
+
{
|
|
29
|
+
[super load];
|
|
30
|
+
}
|
|
31
|
+
|
|
26
32
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
27
33
|
{
|
|
28
34
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -21,6 +21,12 @@ using namespace facebook::react;
|
|
|
21
21
|
RNMBXNativeUserLocation *_view;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
25
|
+
+ (void)load
|
|
26
|
+
{
|
|
27
|
+
[super load];
|
|
28
|
+
}
|
|
29
|
+
|
|
24
30
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
25
31
|
{
|
|
26
32
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -20,6 +20,12 @@ using namespace facebook::react;
|
|
|
20
20
|
RNMBXPointAnnotation *_view;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
24
|
+
+ (void)load
|
|
25
|
+
{
|
|
26
|
+
[super load];
|
|
27
|
+
}
|
|
28
|
+
|
|
23
29
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
24
30
|
{
|
|
25
31
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -21,6 +21,12 @@ using namespace facebook::react;
|
|
|
21
21
|
RNMBXRasterLayer *_view;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
25
|
+
+ (void)load
|
|
26
|
+
{
|
|
27
|
+
[super load];
|
|
28
|
+
}
|
|
29
|
+
|
|
24
30
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
25
31
|
{
|
|
26
32
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -21,6 +21,12 @@ using namespace facebook::react;
|
|
|
21
21
|
RNMBXSkyLayer *_view;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
25
|
+
+ (void)load
|
|
26
|
+
{
|
|
27
|
+
[super load];
|
|
28
|
+
}
|
|
29
|
+
|
|
24
30
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
25
31
|
{
|
|
26
32
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -18,6 +18,12 @@ using namespace facebook::react;
|
|
|
18
18
|
RNMBXStyleImport *_view;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
22
|
+
+ (void)load
|
|
23
|
+
{
|
|
24
|
+
[super load];
|
|
25
|
+
}
|
|
26
|
+
|
|
21
27
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
22
28
|
{
|
|
23
29
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -21,6 +21,12 @@ using namespace facebook::react;
|
|
|
21
21
|
RNMBXSymbolLayer *_view;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
25
|
+
+ (void)load
|
|
26
|
+
{
|
|
27
|
+
[super load];
|
|
28
|
+
}
|
|
29
|
+
|
|
24
30
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
25
31
|
{
|
|
26
32
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -21,6 +21,12 @@ using namespace facebook::react;
|
|
|
21
21
|
RNMBXTerrain *_view;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
25
|
+
+ (void)load
|
|
26
|
+
{
|
|
27
|
+
[super load];
|
|
28
|
+
}
|
|
29
|
+
|
|
24
30
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
25
31
|
{
|
|
26
32
|
if (self = [super initWithFrame:frame]) {
|
|
@@ -57,6 +57,12 @@ NSNumber* convertDynamicToOptional_boolean(const folly::dynamic &dyn, NSString*
|
|
|
57
57
|
RNMBXViewport *_view;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
|
|
61
|
+
+ (void)load
|
|
62
|
+
{
|
|
63
|
+
[super load];
|
|
64
|
+
}
|
|
65
|
+
|
|
60
66
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
61
67
|
{
|
|
62
68
|
if (self = [super initWithFrame:frame]) {
|