@maplibre/maplibre-react-native 11.0.0-beta.10 → 11.0.0-beta.12

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.
Files changed (48) hide show
  1. package/android/src/main/java/org/maplibre/reactnative/components/annotations/pointannotation/MLRNPointAnnotation.kt +40 -24
  2. package/android/src/main/java/org/maplibre/reactnative/components/annotations/pointannotation/MLRNPointAnnotationManager.kt +2 -1
  3. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapView.kt +23 -73
  4. package/ios/components/annotations/point-annotation/MLRNPointAnnotation.m +23 -2
  5. package/ios/components/images/MLRNImageLoader.h +27 -0
  6. package/ios/components/images/MLRNImageLoader.m +85 -0
  7. package/ios/components/images/MLRNImageQueue.h +2 -2
  8. package/ios/components/images/MLRNImageQueue.m +2 -2
  9. package/ios/components/images/MLRNImageQueueOperation.h +2 -2
  10. package/ios/components/images/MLRNImageQueueOperation.m +3 -3
  11. package/ios/components/images/MLRNImages.h +0 -3
  12. package/ios/components/images/MLRNImages.m +6 -6
  13. package/ios/components/images/MLRNImagesComponentView.mm +0 -3
  14. package/ios/components/images/MLRNImagesModule.h +6 -0
  15. package/ios/components/images/MLRNImagesModule.mm +23 -0
  16. package/ios/components/layer/MLRNLayer.h +0 -3
  17. package/ios/components/layer/MLRNLayer.m +0 -1
  18. package/ios/components/layer/MLRNLayerComponentView.mm +0 -2
  19. package/ios/components/layer/style/MLRNStyle.h +0 -2
  20. package/ios/components/layer/style/MLRNStyle.m +67 -70
  21. package/ios/components/map-view/MLRNMapView.h +2 -0
  22. package/ios/components/map-view/MLRNMapView.m +30 -11
  23. package/ios/components/sources/geojson-source/MLRNGeoJSONSource.h +0 -3
  24. package/ios/utils/MLRNUtils.h +0 -14
  25. package/ios/utils/MLRNUtils.m +0 -71
  26. package/lib/commonjs/components/images/Images.js +1 -0
  27. package/lib/commonjs/components/images/Images.js.map +1 -1
  28. package/lib/commonjs/components/images/NativeImagesModule.js +10 -0
  29. package/lib/commonjs/components/images/NativeImagesModule.js.map +1 -0
  30. package/lib/module/components/images/Images.js +1 -0
  31. package/lib/module/components/images/Images.js.map +1 -1
  32. package/lib/module/components/images/NativeImagesModule.js +7 -0
  33. package/lib/module/components/images/NativeImagesModule.js.map +1 -0
  34. package/lib/typescript/commonjs/src/components/images/Images.d.ts +1 -0
  35. package/lib/typescript/commonjs/src/components/images/Images.d.ts.map +1 -1
  36. package/lib/typescript/commonjs/src/components/images/NativeImagesModule.d.ts +6 -0
  37. package/lib/typescript/commonjs/src/components/images/NativeImagesModule.d.ts.map +1 -0
  38. package/lib/typescript/module/src/components/images/Images.d.ts +1 -0
  39. package/lib/typescript/module/src/components/images/Images.d.ts.map +1 -1
  40. package/lib/typescript/module/src/components/images/NativeImagesModule.d.ts +6 -0
  41. package/lib/typescript/module/src/components/images/NativeImagesModule.d.ts.map +1 -0
  42. package/package.json +6 -5
  43. package/src/components/images/Images.tsx +1 -0
  44. package/src/components/images/NativeImagesModule.ts +11 -0
  45. package/android/src/main/res/layout/annotation.xml +0 -17
  46. /package/android/src/main/res/drawable-xxhdpi/{red_marker.png → default_marker.png} +0 -0
  47. /package/ios/{components/images → utils}/MLRNImageUtils.h +0 -0
  48. /package/ios/{components/images → utils}/MLRNImageUtils.m +0 -0
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
- android:id="@+id/annotation_layout"
4
- android:layout_width="wrap_content"
5
- android:layout_height="wrap_content">
6
-
7
- <ImageView
8
- android:id="@+id/annotation_img"
9
- android:layout_width="match_parent"
10
- android:layout_height="match_parent" />
11
-
12
- <LinearLayout
13
- android:orientation="vertical"
14
- android:id="@+id/annotation_view_container"
15
- android:layout_width="wrap_content"
16
- android:layout_height="wrap_content" />
17
- </RelativeLayout>