@maplibre/maplibre-react-native 10.1.5-alpha.1 → 10.1.6

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/README.md CHANGED
@@ -9,8 +9,15 @@
9
9
  _React Native library for creating maps
10
10
  with [MapLibre Native for Android & iOS](https://github.com/maplibre/maplibre-gl-native)._
11
11
 
12
+ > [!IMPORTANT]
13
+ > Support for the new architecture with v10 is only through the interoperability layer. There are still quite a few
14
+ > [issues](https://github.com/maplibre/maplibre-react-native/issues?q=is%3Aissue%20state%3Aopen%20type%3ABug%20label%3A%22Architecture%3A%20New%22),
15
+ > when used with the new architecture. Switch to the v11 alpha releases on the
16
+ > [`alpha`](https://github.com/maplibre/maplibre-react-native/tree/alpha) branch for better support of the new
17
+ > architecture.
18
+
12
19
  This project originated as a fork of [rnmapbox](https://github.com/rnmapbox/maps), a community-maintained
13
- React Native library for building maps with the Mapbox iOS and Android mobile SDKs. The original product
20
+ React Native library for building maps with the Mapbox iOS and Android mobile SDKs. The original library
14
21
  supported both Mapbox and MapLibre for some time, but as the MapLibre and Mapbox SDKs have
15
22
  diverged, it has become necessary to separate the projects into specific wrappers by underlying renderer.
16
23
 
@@ -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": "10.1.5-alpha.1",
4
+ "version": "10.1.6",
5
5
  "publishConfig": {
6
6
  "access": "public",
7
7
  "provenance": true