@maplibre/maplibre-react-native 11.0.0-alpha.3 → 11.0.0-alpha.4

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.
@@ -41,10 +41,10 @@ RCT_EXPORT_METHOD(features : (nonnull NSNumber *)reactTag withFilter : (NSArray
41
41
  UIView *view = viewRegistry[reactTag];
42
42
  MLRNShapeSource *shapeSource = nil;
43
43
 
44
- if ([shapeSource isKindOfClass:[MLRNShapeSource class]]) {
44
+ if ([view isKindOfClass:[MLRNShapeSource class]]) {
45
45
  shapeSource = (MLRNShapeSource *)view;
46
46
  } else {
47
- RCTLogError(@"Invalid react tag, could not find MLRNMapView");
47
+ RCTLogError(@"Invalid react tag, could not find MLRNShapeSource");
48
48
  return;
49
49
  }
50
50
 
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-alpha.3",
4
+ "version": "11.0.0-alpha.4",
5
5
  "publishConfig": {
6
6
  "access": "public",
7
7
  "provenance": true