@maplibre/maplibre-react-native 11.0.0-alpha.33 → 11.0.0-alpha.34

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 (152) hide show
  1. package/MapLibreReactNative.podspec +1 -1
  2. package/android/src/main/java/org/maplibre/reactnative/MLRNPackage.kt +102 -90
  3. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapView.kt +271 -176
  4. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapViewModule.kt +66 -34
  5. package/android/src/main/java/org/maplibre/reactnative/http/RequestHeadersInterceptor.kt +65 -0
  6. package/android/src/main/java/org/maplibre/reactnative/modules/MLRNNetworkModule.kt +67 -0
  7. package/ios/modules/network/MLRNNetworkHTTPHeaders.h +14 -0
  8. package/ios/modules/network/MLRNNetworkHTTPHeaders.m +97 -0
  9. package/ios/modules/network/MLRNNetworkModule.h +8 -0
  10. package/ios/modules/network/MLRNNetworkModule.mm +28 -0
  11. package/lib/commonjs/components/layers/BackgroundLayer.js +2 -9
  12. package/lib/commonjs/components/layers/BackgroundLayer.js.map +1 -1
  13. package/lib/commonjs/components/layers/CircleLayer.js +2 -9
  14. package/lib/commonjs/components/layers/CircleLayer.js.map +1 -1
  15. package/lib/commonjs/components/layers/FillExtrusionLayer.js +2 -9
  16. package/lib/commonjs/components/layers/FillExtrusionLayer.js.map +1 -1
  17. package/lib/commonjs/components/layers/FillLayer.js +2 -9
  18. package/lib/commonjs/components/layers/FillLayer.js.map +1 -1
  19. package/lib/commonjs/components/layers/HeatmapLayer.js +2 -9
  20. package/lib/commonjs/components/layers/HeatmapLayer.js.map +1 -1
  21. package/lib/commonjs/components/layers/LineLayer.js +2 -9
  22. package/lib/commonjs/components/layers/LineLayer.js.map +1 -1
  23. package/lib/commonjs/components/layers/RasterLayer.js +2 -9
  24. package/lib/commonjs/components/layers/RasterLayer.js.map +1 -1
  25. package/lib/commonjs/components/layers/SymbolLayer.js +2 -9
  26. package/lib/commonjs/components/layers/SymbolLayer.js.map +1 -1
  27. package/lib/commonjs/components/map-view/MapView.js +0 -4
  28. package/lib/commonjs/components/map-view/MapView.js.map +1 -1
  29. package/lib/commonjs/index.js +8 -43
  30. package/lib/commonjs/index.js.map +1 -1
  31. package/lib/commonjs/modules/network/NativeNetworkModule.js +9 -0
  32. package/lib/commonjs/modules/network/NativeNetworkModule.js.map +1 -0
  33. package/lib/commonjs/modules/network/NetworkManager.js +72 -0
  34. package/lib/commonjs/modules/network/NetworkManager.js.map +1 -0
  35. package/lib/commonjs/modules/snapshot/SnapshotManager.js +3 -5
  36. package/lib/commonjs/modules/snapshot/SnapshotManager.js.map +1 -1
  37. package/lib/commonjs/modules/snapshot/SnapshotOptions.js +1 -3
  38. package/lib/commonjs/modules/snapshot/SnapshotOptions.js.map +1 -1
  39. package/lib/module/components/layers/BackgroundLayer.js +3 -10
  40. package/lib/module/components/layers/BackgroundLayer.js.map +1 -1
  41. package/lib/module/components/layers/CircleLayer.js +3 -10
  42. package/lib/module/components/layers/CircleLayer.js.map +1 -1
  43. package/lib/module/components/layers/FillExtrusionLayer.js +3 -10
  44. package/lib/module/components/layers/FillExtrusionLayer.js.map +1 -1
  45. package/lib/module/components/layers/FillLayer.js +3 -10
  46. package/lib/module/components/layers/FillLayer.js.map +1 -1
  47. package/lib/module/components/layers/HeatmapLayer.js +3 -10
  48. package/lib/module/components/layers/HeatmapLayer.js.map +1 -1
  49. package/lib/module/components/layers/LineLayer.js +3 -10
  50. package/lib/module/components/layers/LineLayer.js.map +1 -1
  51. package/lib/module/components/layers/RasterLayer.js +3 -10
  52. package/lib/module/components/layers/RasterLayer.js.map +1 -1
  53. package/lib/module/components/layers/SymbolLayer.js +3 -10
  54. package/lib/module/components/layers/SymbolLayer.js.map +1 -1
  55. package/lib/module/components/map-view/MapView.js +1 -5
  56. package/lib/module/components/map-view/MapView.js.map +1 -1
  57. package/lib/module/index.js +2 -2
  58. package/lib/module/index.js.map +1 -1
  59. package/lib/module/modules/network/NativeNetworkModule.js +5 -0
  60. package/lib/module/modules/network/NativeNetworkModule.js.map +1 -0
  61. package/lib/module/modules/network/NetworkManager.js +68 -0
  62. package/lib/module/modules/network/NetworkManager.js.map +1 -0
  63. package/lib/module/modules/snapshot/SnapshotManager.js +3 -5
  64. package/lib/module/modules/snapshot/SnapshotManager.js.map +1 -1
  65. package/lib/module/modules/snapshot/SnapshotOptions.js +1 -3
  66. package/lib/module/modules/snapshot/SnapshotOptions.js.map +1 -1
  67. package/lib/typescript/commonjs/src/components/layers/BackgroundLayer.d.ts +1 -1
  68. package/lib/typescript/commonjs/src/components/layers/BackgroundLayer.d.ts.map +1 -1
  69. package/lib/typescript/commonjs/src/components/layers/CircleLayer.d.ts +1 -1
  70. package/lib/typescript/commonjs/src/components/layers/CircleLayer.d.ts.map +1 -1
  71. package/lib/typescript/commonjs/src/components/layers/FillExtrusionLayer.d.ts +1 -1
  72. package/lib/typescript/commonjs/src/components/layers/FillExtrusionLayer.d.ts.map +1 -1
  73. package/lib/typescript/commonjs/src/components/layers/FillLayer.d.ts +1 -1
  74. package/lib/typescript/commonjs/src/components/layers/FillLayer.d.ts.map +1 -1
  75. package/lib/typescript/commonjs/src/components/layers/HeatmapLayer.d.ts +1 -1
  76. package/lib/typescript/commonjs/src/components/layers/HeatmapLayer.d.ts.map +1 -1
  77. package/lib/typescript/commonjs/src/components/layers/LineLayer.d.ts +1 -1
  78. package/lib/typescript/commonjs/src/components/layers/LineLayer.d.ts.map +1 -1
  79. package/lib/typescript/commonjs/src/components/layers/RasterLayer.d.ts +1 -1
  80. package/lib/typescript/commonjs/src/components/layers/RasterLayer.d.ts.map +1 -1
  81. package/lib/typescript/commonjs/src/components/layers/SymbolLayer.d.ts +1 -1
  82. package/lib/typescript/commonjs/src/components/layers/SymbolLayer.d.ts.map +1 -1
  83. package/lib/typescript/commonjs/src/components/map-view/MapView.d.ts.map +1 -1
  84. package/lib/typescript/commonjs/src/index.d.ts +2 -2
  85. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  86. package/lib/typescript/commonjs/src/modules/network/NativeNetworkModule.d.ts +9 -0
  87. package/lib/typescript/commonjs/src/modules/network/NativeNetworkModule.d.ts.map +1 -0
  88. package/lib/typescript/commonjs/src/modules/network/NetworkManager.d.ts +56 -0
  89. package/lib/typescript/commonjs/src/modules/network/NetworkManager.d.ts.map +1 -0
  90. package/lib/typescript/commonjs/src/modules/snapshot/SnapshotManager.d.ts +2 -3
  91. package/lib/typescript/commonjs/src/modules/snapshot/SnapshotManager.d.ts.map +1 -1
  92. package/lib/typescript/commonjs/src/modules/snapshot/SnapshotOptions.d.ts +2 -1
  93. package/lib/typescript/commonjs/src/modules/snapshot/SnapshotOptions.d.ts.map +1 -1
  94. package/lib/typescript/commonjs/src/utils/animated/Animated.d.ts +7 -7
  95. package/lib/typescript/module/src/components/layers/BackgroundLayer.d.ts +1 -1
  96. package/lib/typescript/module/src/components/layers/BackgroundLayer.d.ts.map +1 -1
  97. package/lib/typescript/module/src/components/layers/CircleLayer.d.ts +1 -1
  98. package/lib/typescript/module/src/components/layers/CircleLayer.d.ts.map +1 -1
  99. package/lib/typescript/module/src/components/layers/FillExtrusionLayer.d.ts +1 -1
  100. package/lib/typescript/module/src/components/layers/FillExtrusionLayer.d.ts.map +1 -1
  101. package/lib/typescript/module/src/components/layers/FillLayer.d.ts +1 -1
  102. package/lib/typescript/module/src/components/layers/FillLayer.d.ts.map +1 -1
  103. package/lib/typescript/module/src/components/layers/HeatmapLayer.d.ts +1 -1
  104. package/lib/typescript/module/src/components/layers/HeatmapLayer.d.ts.map +1 -1
  105. package/lib/typescript/module/src/components/layers/LineLayer.d.ts +1 -1
  106. package/lib/typescript/module/src/components/layers/LineLayer.d.ts.map +1 -1
  107. package/lib/typescript/module/src/components/layers/RasterLayer.d.ts +1 -1
  108. package/lib/typescript/module/src/components/layers/RasterLayer.d.ts.map +1 -1
  109. package/lib/typescript/module/src/components/layers/SymbolLayer.d.ts +1 -1
  110. package/lib/typescript/module/src/components/layers/SymbolLayer.d.ts.map +1 -1
  111. package/lib/typescript/module/src/components/map-view/MapView.d.ts.map +1 -1
  112. package/lib/typescript/module/src/index.d.ts +2 -2
  113. package/lib/typescript/module/src/index.d.ts.map +1 -1
  114. package/lib/typescript/module/src/modules/network/NativeNetworkModule.d.ts +9 -0
  115. package/lib/typescript/module/src/modules/network/NativeNetworkModule.d.ts.map +1 -0
  116. package/lib/typescript/module/src/modules/network/NetworkManager.d.ts +56 -0
  117. package/lib/typescript/module/src/modules/network/NetworkManager.d.ts.map +1 -0
  118. package/lib/typescript/module/src/modules/snapshot/SnapshotManager.d.ts +2 -3
  119. package/lib/typescript/module/src/modules/snapshot/SnapshotManager.d.ts.map +1 -1
  120. package/lib/typescript/module/src/modules/snapshot/SnapshotOptions.d.ts +2 -1
  121. package/lib/typescript/module/src/modules/snapshot/SnapshotOptions.d.ts.map +1 -1
  122. package/lib/typescript/module/src/utils/animated/Animated.d.ts +7 -7
  123. package/package.json +2 -2
  124. package/src/components/layers/BackgroundLayer.tsx +3 -11
  125. package/src/components/layers/CircleLayer.tsx +3 -11
  126. package/src/components/layers/FillExtrusionLayer.tsx +3 -11
  127. package/src/components/layers/FillLayer.tsx +3 -11
  128. package/src/components/layers/HeatmapLayer.tsx +3 -11
  129. package/src/components/layers/LineLayer.tsx +3 -11
  130. package/src/components/layers/RasterLayer.tsx +3 -11
  131. package/src/components/layers/SymbolLayer.tsx +3 -11
  132. package/src/components/map-view/MapView.tsx +0 -8
  133. package/src/index.ts +4 -3
  134. package/src/modules/network/NativeNetworkModule.ts +12 -0
  135. package/src/modules/network/NetworkManager.ts +74 -0
  136. package/src/modules/snapshot/SnapshotManager.ts +3 -5
  137. package/src/modules/snapshot/SnapshotOptions.ts +3 -5
  138. package/android/src/main/java/org/maplibre/reactnative/http/CustomHeadersInterceptor.java +0 -38
  139. package/android/src/main/java/org/maplibre/reactnative/modules/MLRNModule.java +0 -112
  140. package/ios/modules/mlrn/MLRNCustomHeaders.h +0 -20
  141. package/ios/modules/mlrn/MLRNCustomHeaders.m +0 -98
  142. package/ios/modules/mlrn/MLRNModule.h +0 -5
  143. package/ios/modules/mlrn/MLRNModule.m +0 -45
  144. package/lib/commonjs/MLRNModule.js +0 -21
  145. package/lib/commonjs/MLRNModule.js.map +0 -1
  146. package/lib/module/MLRNModule.js +0 -12
  147. package/lib/module/MLRNModule.js.map +0 -1
  148. package/lib/typescript/commonjs/src/MLRNModule.d.ts +0 -6
  149. package/lib/typescript/commonjs/src/MLRNModule.d.ts.map +0 -1
  150. package/lib/typescript/module/src/MLRNModule.d.ts +0 -6
  151. package/lib/typescript/module/src/MLRNModule.d.ts.map +0 -1
  152. package/src/MLRNModule.ts +0 -28
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NetworkManager.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network/NetworkManager.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,cAAM,cAAc;IAClB;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CAAC,gBAAgB,CACrB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GACtB,IAAI;IAQP;;;;;;;;;OASG;IACH,MAAM,CAAC,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAIpD;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,YAAY,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI;CAG9C;AAED,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -42,10 +42,9 @@ declare class SnapshotManager {
42
42
  * styleURL: StyleURL.Default,
43
43
  * });
44
44
  *
45
- * @param {SnapshotOptions} options Snapshot options for create a static image of the base map
46
- * @return {Promise}
45
+ * @param options Snapshot options for create a static image of the base map
47
46
  */
48
- takeSnap(options?: SnapshotInputOptions): Promise<string>;
47
+ takeSnap(options: SnapshotInputOptions): Promise<string>;
49
48
  }
50
49
  declare const snapshotManager: SnapshotManager;
51
50
  export { snapshotManager as SnapshotManager };
@@ -1 +1 @@
1
- {"version":3,"file":"SnapshotManager.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/snapshot/SnapshotManager.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,oBAAoB,EAAmB,MAAM,mBAAmB,CAAC;AAE/E;;;;GAIG;AACH,cAAM,eAAe;IACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IACG,QAAQ,CAAC,OAAO,GAAE,oBAAyB,GAAG,OAAO,CAAC,MAAM,CAAC;CAMpE;AAED,QAAA,MAAM,eAAe,iBAAwB,CAAC;AAC9C,OAAO,EAAE,eAAe,IAAI,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"SnapshotManager.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/snapshot/SnapshotManager.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,oBAAoB,EAAmB,MAAM,mBAAmB,CAAC;AAE/E;;;;GAIG;AACH,cAAM,eAAe;IACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACG,QAAQ,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;CAK/D;AAED,QAAA,MAAM,eAAe,iBAAwB,CAAC;AAC9C,OAAO,EAAE,eAAe,IAAI,eAAe,EAAE,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { SnapshotJsonOptions } from "./NativeSnapshotModule";
2
- export interface SnapshotInputOptions extends Partial<Omit<SnapshotJsonOptions, "centerCoordinate" | "bounds">> {
2
+ export interface SnapshotInputOptions extends Partial<Omit<SnapshotJsonOptions, "styleURL" | "centerCoordinate" | "bounds">> {
3
+ styleURL: string;
3
4
  centerCoordinate?: GeoJSON.Position;
4
5
  bounds?: GeoJSON.Position[];
5
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SnapshotOptions.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/snapshot/SnapshotOptions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAKlE,MAAM,WAAW,oBAAqB,SAAQ,OAAO,CACnD,IAAI,CAAC,mBAAmB,EAAE,kBAAkB,GAAG,QAAQ,CAAC,CACzD;IACC,gBAAgB,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC;CAC7B;AAED,qBAAa,eAAgB,YAAW,mBAAmB;IACzD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;gBAEN,OAAO,EAAE,oBAAoB;IA2BzC,MAAM,IAAI,mBAAmB;IAe7B,OAAO,CAAC,yBAAyB;IAMjC,OAAO,CAAC,eAAe;CASxB"}
1
+ {"version":3,"file":"SnapshotOptions.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/snapshot/SnapshotOptions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAGlE,MAAM,WAAW,oBAAqB,SAAQ,OAAO,CACnD,IAAI,CAAC,mBAAmB,EAAE,UAAU,GAAG,kBAAkB,GAAG,QAAQ,CAAC,CACtE;IACC,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC;CAC7B;AAED,qBAAa,eAAgB,YAAW,mBAAmB;IACzD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;gBAEN,OAAO,EAAE,oBAAoB;IA2BzC,MAAM,IAAI,mBAAmB;IAe7B,OAAO,CAAC,yBAAyB;IAMjC,OAAO,CAAC,eAAe;CASxB"}
@@ -9,13 +9,13 @@ export declare const Animated: {
9
9
  data: string | GeoJSON.GeoJSON | AnimatedShape;
10
10
  }>>;
11
11
  ImageSource: RNAnimated.AnimatedComponent<import("react").MemoExoticComponent<({ id, url, ...props }: import("../..").ImageSourceProps) => import("react/jsx-runtime").JSX.Element>>;
12
- FillLayer: RNAnimated.AnimatedComponent<({ sourceID, ...props }: import("../../components/layers/FillLayer").FillLayerProps) => import("react/jsx-runtime").JSX.Element>;
13
- FillExtrusionLayer: RNAnimated.AnimatedComponent<({ sourceID, ...props }: import("../../components/layers/FillExtrusionLayer").FillExtrusionLayerProps) => import("react/jsx-runtime").JSX.Element>;
14
- LineLayer: RNAnimated.AnimatedComponent<({ sourceID, ...props }: import("../../components/layers/LineLayer").LineLayerProps) => import("react/jsx-runtime").JSX.Element>;
15
- CircleLayer: RNAnimated.AnimatedComponent<({ sourceID, ...props }: import("../../components/layers/CircleLayer").CircleLayerProps) => import("react/jsx-runtime").JSX.Element>;
16
- SymbolLayer: RNAnimated.AnimatedComponent<({ sourceID, ...props }: import("../../components/layers/SymbolLayer").SymbolLayerProps) => import("react/jsx-runtime").JSX.Element>;
17
- RasterLayer: RNAnimated.AnimatedComponent<({ sourceID, ...props }: import("../../components/layers/RasterLayer").RasterLayerProps) => import("react/jsx-runtime").JSX.Element>;
18
- BackgroundLayer: RNAnimated.AnimatedComponent<({ sourceID, ...props }: import("../../components/layers/BackgroundLayer").BackgroundLayerProps) => import("react/jsx-runtime").JSX.Element>;
12
+ FillLayer: RNAnimated.AnimatedComponent<(props: import("../../components/layers/FillLayer").FillLayerProps) => import("react/jsx-runtime").JSX.Element>;
13
+ FillExtrusionLayer: RNAnimated.AnimatedComponent<(props: import("../../components/layers/FillExtrusionLayer").FillExtrusionLayerProps) => import("react/jsx-runtime").JSX.Element>;
14
+ LineLayer: RNAnimated.AnimatedComponent<(props: import("../../components/layers/LineLayer").LineLayerProps) => import("react/jsx-runtime").JSX.Element>;
15
+ CircleLayer: RNAnimated.AnimatedComponent<(props: import("../../components/layers/CircleLayer").CircleLayerProps) => import("react/jsx-runtime").JSX.Element>;
16
+ SymbolLayer: RNAnimated.AnimatedComponent<(props: import("../../components/layers/SymbolLayer").SymbolLayerProps) => import("react/jsx-runtime").JSX.Element>;
17
+ RasterLayer: RNAnimated.AnimatedComponent<(props: import("../../components/layers/RasterLayer").RasterLayerProps) => import("react/jsx-runtime").JSX.Element>;
18
+ BackgroundLayer: RNAnimated.AnimatedComponent<(props: import("../../components/layers/BackgroundLayer").BackgroundLayerProps) => import("react/jsx-runtime").JSX.Element>;
19
19
  CoordinatesArray: typeof AnimatedCoordinatesArray;
20
20
  RouteCoordinatesArray: typeof AnimatedRouteCoordinatesArray;
21
21
  Shape: typeof AnimatedShape;
@@ -8,5 +8,5 @@ export interface BackgroundLayerProps extends BaseProps, BaseLayerProps {
8
8
  */
9
9
  style?: BackgroundLayerStyle;
10
10
  }
11
- export declare const BackgroundLayer: ({ sourceID, ...props }: BackgroundLayerProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const BackgroundLayer: (props: BackgroundLayerProps) => import("react/jsx-runtime").JSX.Element;
12
12
  //# sourceMappingURL=BackgroundLayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BackgroundLayer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/BackgroundLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAIzE,eAAO,MAAM,kBAAkB,wBAAwB,CAAC;AAExD,MAAM,WAAW,oBAAqB,SAAQ,SAAS,EAAE,cAAc;IACrE;;OAEG;IACH,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAC9B;AAQD,eAAO,MAAM,eAAe,GAAI,wBAG7B,oBAAoB,4CAgBtB,CAAC"}
1
+ {"version":3,"file":"BackgroundLayer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/BackgroundLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEzE,eAAO,MAAM,kBAAkB,wBAAwB,CAAC;AAExD,MAAM,WAAW,oBAAqB,SAAQ,SAAS,EAAE,cAAc;IACrE;;OAEG;IACH,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAC9B;AAQD,eAAO,MAAM,eAAe,GAAI,OAAO,oBAAoB,4CAa1D,CAAC"}
@@ -11,5 +11,5 @@ export interface CircleLayerProps extends BaseProps, BaseLayerProps {
11
11
  /**
12
12
  * CircleLayer is a style layer that renders one or more filled circles on the map.
13
13
  */
14
- export declare const CircleLayer: ({ sourceID, ...props }: CircleLayerProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const CircleLayer: (props: CircleLayerProps) => import("react/jsx-runtime").JSX.Element;
15
15
  //# sourceMappingURL=CircleLayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CircleLayer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/CircleLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAIrE,eAAO,MAAM,kBAAkB,oBAAoB,CAAC;AAEpD,MAAM,WAAW,gBAAiB,SAAQ,SAAS,EAAE,cAAc;IACjE;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B;AAOD;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,wBAGzB,gBAAgB,4CAgBlB,CAAC"}
1
+ {"version":3,"file":"CircleLayer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/CircleLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,eAAO,MAAM,kBAAkB,oBAAoB,CAAC;AAEpD,MAAM,WAAW,gBAAiB,SAAQ,SAAS,EAAE,cAAc;IACjE;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B;AAOD;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,4CAalD,CAAC"}
@@ -11,5 +11,5 @@ export interface FillExtrusionLayerProps extends BaseProps, BaseLayerProps {
11
11
  /**
12
12
  * FillExtrusionLayer is a style layer that renders one or more 3D extruded polygons on the map.
13
13
  */
14
- export declare const FillExtrusionLayer: ({ sourceID, ...props }: FillExtrusionLayerProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const FillExtrusionLayer: (props: FillExtrusionLayerProps) => import("react/jsx-runtime").JSX.Element;
15
15
  //# sourceMappingURL=FillExtrusionLayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FillExtrusionLayer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/FillExtrusionLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAI5E,eAAO,MAAM,kBAAkB,2BAA2B,CAAC;AAE3D,MAAM,WAAW,uBAAwB,SAAQ,SAAS,EAAE,cAAc;IACxE;;OAEG;IACH,KAAK,CAAC,EAAE,uBAAuB,CAAC;CACjC;AAQD;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,wBAGhC,uBAAuB,4CAUzB,CAAC"}
1
+ {"version":3,"file":"FillExtrusionLayer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/FillExtrusionLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAE5E,eAAO,MAAM,kBAAkB,2BAA2B,CAAC;AAE3D,MAAM,WAAW,uBAAwB,SAAQ,SAAS,EAAE,cAAc;IACxE;;OAEG;IACH,KAAK,CAAC,EAAE,uBAAuB,CAAC;CACjC;AAQD;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,OAAO,uBAAuB,4CAOhE,CAAC"}
@@ -11,5 +11,5 @@ export interface FillLayerProps extends BaseProps, BaseLayerProps {
11
11
  /**
12
12
  * FillLayer is a style layer that renders one or more filled (and optionally stroked) polygons on the map.
13
13
  */
14
- export declare const FillLayer: ({ sourceID, ...props }: FillLayerProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const FillLayer: (props: FillLayerProps) => import("react/jsx-runtime").JSX.Element;
15
15
  //# sourceMappingURL=FillLayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FillLayer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/FillLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAInE,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAElD,MAAM,WAAW,cAAe,SAAQ,SAAS,EAAE,cAAc;IAC/D;;OAEG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB;AAMD;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,wBAGvB,cAAc,4CAUhB,CAAC"}
1
+ {"version":3,"file":"FillLayer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/FillLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAElD,MAAM,WAAW,cAAe,SAAQ,SAAS,EAAE,cAAc;IAC/D;;OAEG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB;AAMD;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,4CAO9C,CAAC"}
@@ -11,5 +11,5 @@ export interface HeatmapLayerProps extends BaseProps, BaseLayerProps {
11
11
  /**
12
12
  * HeatmapLayer is a style layer that renders one or more filled circles on the map.
13
13
  */
14
- export declare const HeatmapLayer: ({ sourceID, ...props }: HeatmapLayerProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const HeatmapLayer: (props: HeatmapLayerProps) => import("react/jsx-runtime").JSX.Element;
15
15
  //# sourceMappingURL=HeatmapLayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeatmapLayer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/HeatmapLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,cAAc,EAGpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAItE,eAAO,MAAM,kBAAkB,qBAAqB,CAAC;AAErD,MAAM,WAAW,iBAAkB,SAAQ,SAAS,EAAE,cAAc;IAClE;;OAEG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC3B;AAOD;;GAEG;AACH,eAAO,MAAM,YAAY,GAAI,wBAG1B,iBAAiB,4CAUnB,CAAC"}
1
+ {"version":3,"file":"HeatmapLayer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/HeatmapLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,cAAc,EAGpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEtE,eAAO,MAAM,kBAAkB,qBAAqB,CAAC;AAErD,MAAM,WAAW,iBAAkB,SAAQ,SAAS,EAAE,cAAc;IAClE;;OAEG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC3B;AAOD;;GAEG;AACH,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,4CAOpD,CAAC"}
@@ -11,5 +11,5 @@ export interface LineLayerProps extends BaseProps, BaseLayerProps {
11
11
  /**
12
12
  * LineLayer is a style layer that renders one or more stroked polylines on the map.
13
13
  */
14
- export declare const LineLayer: ({ sourceID, ...props }: LineLayerProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const LineLayer: (props: LineLayerProps) => import("react/jsx-runtime").JSX.Element;
15
15
  //# sourceMappingURL=LineLayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LineLayer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/LineLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAInE,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAElD,MAAM,WAAW,cAAe,SAAQ,SAAS,EAAE,cAAc;IAC/D;;OAEG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB;AAOD;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,wBAGvB,cAAc,4CAUhB,CAAC"}
1
+ {"version":3,"file":"LineLayer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/LineLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAElD,MAAM,WAAW,cAAe,SAAQ,SAAS,EAAE,cAAc;IAC/D;;OAEG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB;AAOD;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,4CAO9C,CAAC"}
@@ -8,5 +8,5 @@ export interface RasterLayerProps extends BaseProps, BaseLayerProps {
8
8
  */
9
9
  style?: RasterLayerStyle;
10
10
  }
11
- export declare const RasterLayer: ({ sourceID, ...props }: RasterLayerProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const RasterLayer: (props: RasterLayerProps) => import("react/jsx-runtime").JSX.Element;
12
12
  //# sourceMappingURL=RasterLayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RasterLayer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/RasterLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAIrE,eAAO,MAAM,kBAAkB,oBAAoB,CAAC;AAEpD,MAAM,WAAW,gBAAiB,SAAQ,SAAS,EAAE,cAAc;IACjE;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B;AAOD,eAAO,MAAM,WAAW,GAAI,wBAGzB,gBAAgB,4CAUlB,CAAC"}
1
+ {"version":3,"file":"RasterLayer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/RasterLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,eAAO,MAAM,kBAAkB,oBAAoB,CAAC;AAEpD,MAAM,WAAW,gBAAiB,SAAQ,SAAS,EAAE,cAAc;IACjE;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B;AAOD,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,4CAOlD,CAAC"}
@@ -11,5 +11,5 @@ export interface SymbolLayerProps extends BaseProps, BaseLayerProps {
11
11
  /**
12
12
  * SymbolLayer is a style layer that renders icon and text labels at points or along lines on the map.
13
13
  */
14
- export declare const SymbolLayer: ({ sourceID, ...props }: SymbolLayerProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const SymbolLayer: (props: SymbolLayerProps) => import("react/jsx-runtime").JSX.Element;
15
15
  //# sourceMappingURL=SymbolLayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SymbolLayer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/SymbolLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAIrE,eAAO,MAAM,kBAAkB,oBAAoB,CAAC;AAEpD,MAAM,WAAW,gBAAiB,SAAQ,SAAS,EAAE,cAAc;IACjE;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B;AAOD;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,wBAGzB,gBAAgB,4CAclB,CAAC"}
1
+ {"version":3,"file":"SymbolLayer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layers/SymbolLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,eAAO,MAAM,kBAAkB,oBAAoB,CAAC;AAEpD,MAAM,WAAW,gBAAiB,SAAQ,SAAS,EAAE,cAAc;IACjE;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B;AAOD;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,4CAWlD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MapView.d.ts","sourceRoot":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O,MAAM,OAAO,gGAqKnB,CAAC"}
@@ -1,4 +1,3 @@
1
- export * from "./MLRNModule";
2
1
  export { type CameraOptions, type CameraEasing, type CameraAnimationOptions, type CameraCenterOptions, type CameraBoundsOptions, type CameraCenterStop, type CameraBoundsStop, type CameraStop, type InitialViewState, type TrackUserLocation, type TrackUserLocationChangeEvent, type CameraRef, type CameraProps, Camera, } from "./components/camera/Camera";
3
2
  export { type ViewState, type ViewStateChangeEvent, type MapViewRef, type MapViewProps, MapView, } from "./components/map-view/MapView";
4
3
  export { PointAnnotation } from "./components/annotations/PointAnnotation";
@@ -23,8 +22,10 @@ export { RasterLayer } from "./components/layers/RasterLayer";
23
22
  export { BackgroundLayer } from "./components/layers/BackgroundLayer";
24
23
  export { MarkerView } from "./components/annotations/MarkerView";
25
24
  export { LocationManager, type GeolocationPosition, } from "./modules/location/LocationManager";
25
+ export { LogManager, type LogLevel } from "./modules/log/LogManager";
26
26
  export { OfflineManager, type OfflinePackCreateOptions, type OfflinePackDownloadState, type OfflinePackError, type OfflinePackProgressListener, type OfflinePackErrorListener, } from "./modules/offline/OfflineManager";
27
27
  export { OfflinePack, type OfflinePackStatus, } from "./modules/offline/OfflinePack";
28
+ export { NetworkManager } from "./modules/network/NetworkManager";
28
29
  export { SnapshotManager } from "./modules/snapshot/SnapshotManager";
29
30
  export type { SnapshotInputOptions } from "./modules/snapshot/SnapshotOptions";
30
31
  export type { LngLat } from "./types/LngLat";
@@ -36,6 +37,5 @@ export type { PressEvent } from "./types/PressEvent";
36
37
  export type { PressEventWithFeatures } from "./types/PressEventWithFeatures";
37
38
  export type { ViewPadding } from "./types/ViewPadding";
38
39
  export { Animated } from "./utils/animated/Animated";
39
- export { LogManager, type LogLevel } from "./modules/log/LogManager";
40
40
  export type { MapLibrePluginProps } from "./plugin/MapLibrePluginProps";
41
41
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names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C,CAAC;AACrE,YAAY,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAE/E,YAAY,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,YAAY,EACV,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACvB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,UAAU,GACX,MAAM,0BAA0B,CAAC;AAClC,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,YAAY,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,YAAY,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAC7E,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAErD,YAAY,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { TurboModule } from "react-native";
2
+ export interface Spec extends TurboModule {
3
+ addRequestHeader(name: string, value: string, match: string | null): void;
4
+ removeRequestHeader(name: string): void;
5
+ setConnected(connected: boolean): void;
6
+ }
7
+ declare const _default: Spec;
8
+ export default _default;
9
+ //# sourceMappingURL=NativeNetworkModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NativeNetworkModule.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network/NativeNetworkModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAE1E,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAExC,YAAY,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;CACxC;;AAED,wBAA2E"}
@@ -0,0 +1,56 @@
1
+ /**
2
+ * NetworkManager provides methods for managing HTTP requests made by MapLibre.
3
+ * This includes adding custom headers to tile requests and controlling network connectivity.
4
+ */
5
+ declare class NetworkManager {
6
+ /**
7
+ * Adds a custom HTTP header that will be sent with all map tile requests.
8
+ * This is useful for adding authentication tokens or other custom headers
9
+ * required by your tile server.
10
+ *
11
+ * @example
12
+ * // Add header to all requests
13
+ * NetworkManager.addRequestHeader("Authorization", "Bearer token123");
14
+ *
15
+ * // Add header only to requests matching a regex pattern (string)
16
+ * NetworkManager.addRequestHeader("X-API-Key", "key123", "https:\\/\\/api\\.example\\.com\\/tiles\\/");
17
+ *
18
+ * // Add header only to requests matching a regex pattern (RegExp)
19
+ * NetworkManager.addRequestHeader("X-API-Key", "key123", /https:\/\/api\.example\.com\/tiles\//);
20
+ *
21
+ * @param name The name of the header (e.g., "Authorization")
22
+ * @param value The value of the header (e.g., "Bearer token123")
23
+ * @param match Optional regex pattern to match against network URLs. If provided, the header will only be added to requests whose URLs match this pattern. Can be a RegExp object or a regex string.
24
+ */
25
+ static addRequestHeader(name: string, value: string, match?: string | RegExp): void;
26
+ /**
27
+ * Removes a previously added custom HTTP header.
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * NetworkManager.removeRequestHeader("Authorization");
32
+ * ```
33
+ *
34
+ * @param headerName The name of the header to remove
35
+ */
36
+ static removeRequestHeader(headerName: string): void;
37
+ /**
38
+ * Android only: Sets the connectivity state of the map. When set to false, the map will
39
+ * not make any network requests and will only use cached tiles. This is
40
+ * useful for implementing offline mode or reducing data usage.
41
+ *
42
+ * @example
43
+ * ```ts
44
+ * // Enable offline mode
45
+ * NetworkManager.setConnected(false);
46
+ *
47
+ * // Re-enable network requests
48
+ * NetworkManager.setConnected(true);
49
+ * ```
50
+ *
51
+ * @param connected Whether the map should be connected to the network
52
+ */
53
+ static setConnected(connected: boolean): void;
54
+ }
55
+ export { NetworkManager };
56
+ //# sourceMappingURL=NetworkManager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NetworkManager.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/network/NetworkManager.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,cAAM,cAAc;IAClB;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CAAC,gBAAgB,CACrB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GACtB,IAAI;IAQP;;;;;;;;;OASG;IACH,MAAM,CAAC,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAIpD;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,YAAY,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI;CAG9C;AAED,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -42,10 +42,9 @@ declare class SnapshotManager {
42
42
  * styleURL: StyleURL.Default,
43
43
  * });
44
44
  *
45
- * @param {SnapshotOptions} options Snapshot options for create a static image of the base map
46
- * @return {Promise}
45
+ * @param options Snapshot options for create a static image of the base map
47
46
  */
48
- takeSnap(options?: SnapshotInputOptions): Promise<string>;
47
+ takeSnap(options: SnapshotInputOptions): Promise<string>;
49
48
  }
50
49
  declare const snapshotManager: SnapshotManager;
51
50
  export { snapshotManager as SnapshotManager };
@@ -1 +1 @@
1
- {"version":3,"file":"SnapshotManager.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/snapshot/SnapshotManager.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,oBAAoB,EAAmB,MAAM,mBAAmB,CAAC;AAE/E;;;;GAIG;AACH,cAAM,eAAe;IACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IACG,QAAQ,CAAC,OAAO,GAAE,oBAAyB,GAAG,OAAO,CAAC,MAAM,CAAC;CAMpE;AAED,QAAA,MAAM,eAAe,iBAAwB,CAAC;AAC9C,OAAO,EAAE,eAAe,IAAI,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"SnapshotManager.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/snapshot/SnapshotManager.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,oBAAoB,EAAmB,MAAM,mBAAmB,CAAC;AAE/E;;;;GAIG;AACH,cAAM,eAAe;IACnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACG,QAAQ,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;CAK/D;AAED,QAAA,MAAM,eAAe,iBAAwB,CAAC;AAC9C,OAAO,EAAE,eAAe,IAAI,eAAe,EAAE,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { SnapshotJsonOptions } from "./NativeSnapshotModule";
2
- export interface SnapshotInputOptions extends Partial<Omit<SnapshotJsonOptions, "centerCoordinate" | "bounds">> {
2
+ export interface SnapshotInputOptions extends Partial<Omit<SnapshotJsonOptions, "styleURL" | "centerCoordinate" | "bounds">> {
3
+ styleURL: string;
3
4
  centerCoordinate?: GeoJSON.Position;
4
5
  bounds?: GeoJSON.Position[];
5
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SnapshotOptions.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/snapshot/SnapshotOptions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAKlE,MAAM,WAAW,oBAAqB,SAAQ,OAAO,CACnD,IAAI,CAAC,mBAAmB,EAAE,kBAAkB,GAAG,QAAQ,CAAC,CACzD;IACC,gBAAgB,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC,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ACrB,QAAQ,EAAE,OAAO,CAAC;gBAEN,OAAO,EAAE,oBAAoB;IA2BzC,MAAM,IAAI,mBAAmB;IAe7B,OAAO,CAAC,yBAAyB;IAMjC,OAAO,CAAC,eAAe;CASxB"}
@@ -9,13 +9,13 @@ export declare const Animated: {
9
9
  data: string | GeoJSON.GeoJSON | AnimatedShape;
10
10
  }>>;
11
11
  ImageSource: RNAnimated.AnimatedComponent<import("react").MemoExoticComponent<({ id, url, ...props }: import("../..").ImageSourceProps) => import("react/jsx-runtime").JSX.Element>>;
12
- FillLayer: RNAnimated.AnimatedComponent<({ sourceID, ...props }: import("../../components/layers/FillLayer").FillLayerProps) => import("react/jsx-runtime").JSX.Element>;
13
- FillExtrusionLayer: RNAnimated.AnimatedComponent<({ sourceID, ...props }: import("../../components/layers/FillExtrusionLayer").FillExtrusionLayerProps) => import("react/jsx-runtime").JSX.Element>;
14
- LineLayer: RNAnimated.AnimatedComponent<({ sourceID, ...props }: import("../../components/layers/LineLayer").LineLayerProps) => import("react/jsx-runtime").JSX.Element>;
15
- CircleLayer: RNAnimated.AnimatedComponent<({ sourceID, ...props }: import("../../components/layers/CircleLayer").CircleLayerProps) => import("react/jsx-runtime").JSX.Element>;
16
- SymbolLayer: RNAnimated.AnimatedComponent<({ sourceID, ...props }: import("../../components/layers/SymbolLayer").SymbolLayerProps) => import("react/jsx-runtime").JSX.Element>;
17
- RasterLayer: RNAnimated.AnimatedComponent<({ sourceID, ...props }: import("../../components/layers/RasterLayer").RasterLayerProps) => import("react/jsx-runtime").JSX.Element>;
18
- BackgroundLayer: RNAnimated.AnimatedComponent<({ sourceID, ...props }: import("../../components/layers/BackgroundLayer").BackgroundLayerProps) => import("react/jsx-runtime").JSX.Element>;
12
+ FillLayer: RNAnimated.AnimatedComponent<(props: import("../../components/layers/FillLayer").FillLayerProps) => import("react/jsx-runtime").JSX.Element>;
13
+ FillExtrusionLayer: RNAnimated.AnimatedComponent<(props: import("../../components/layers/FillExtrusionLayer").FillExtrusionLayerProps) => import("react/jsx-runtime").JSX.Element>;
14
+ LineLayer: RNAnimated.AnimatedComponent<(props: import("../../components/layers/LineLayer").LineLayerProps) => import("react/jsx-runtime").JSX.Element>;
15
+ CircleLayer: RNAnimated.AnimatedComponent<(props: import("../../components/layers/CircleLayer").CircleLayerProps) => import("react/jsx-runtime").JSX.Element>;
16
+ SymbolLayer: RNAnimated.AnimatedComponent<(props: import("../../components/layers/SymbolLayer").SymbolLayerProps) => import("react/jsx-runtime").JSX.Element>;
17
+ RasterLayer: RNAnimated.AnimatedComponent<(props: import("../../components/layers/RasterLayer").RasterLayerProps) => import("react/jsx-runtime").JSX.Element>;
18
+ BackgroundLayer: RNAnimated.AnimatedComponent<(props: import("../../components/layers/BackgroundLayer").BackgroundLayerProps) => import("react/jsx-runtime").JSX.Element>;
19
19
  CoordinatesArray: typeof AnimatedCoordinatesArray;
20
20
  RouteCoordinatesArray: typeof AnimatedRouteCoordinatesArray;
21
21
  Shape: typeof AnimatedShape;
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.33",
4
+ "version": "11.0.0-alpha.34",
5
5
  "publishConfig": {
6
6
  "access": "public",
7
7
  "provenance": true
@@ -185,7 +185,7 @@
185
185
  "@types/node": "^24.10.0",
186
186
  "@types/react": "^19.1.13",
187
187
  "documentation": "^14.0.0",
188
- "ejs": "^3.1.10",
188
+ "ejs": "^4.0.1",
189
189
  "eslint": "^8.57.1",
190
190
  "eslint-config-universe": "15.0.3",
191
191
  "expo-module-scripts": "^5.0.7",
@@ -1,4 +1,4 @@
1
- import { NativeModules, requireNativeComponent } from "react-native";
1
+ import { requireNativeComponent } from "react-native";
2
2
 
3
3
  import {
4
4
  useAbstractLayer,
@@ -8,8 +8,6 @@ import {
8
8
  import { type BaseProps } from "../../types/BaseProps";
9
9
  import { type BackgroundLayerStyle } from "../../types/MapLibreRNStyles";
10
10
 
11
- const MLRNModule = NativeModules.MLRNModule;
12
-
13
11
  export const NATIVE_MODULE_NAME = "MLRNBackgroundLayer";
14
12
 
15
13
  export interface BackgroundLayerProps extends BaseProps, BaseLayerProps {
@@ -25,17 +23,11 @@ interface NativeProps
25
23
  const MLRNBackgroundLayer =
26
24
  requireNativeComponent<BackgroundLayerProps>(NATIVE_MODULE_NAME);
27
25
 
28
- export const BackgroundLayer = ({
29
- sourceID = MLRNModule.StyleSource.DefaultSourceID,
30
- ...props
31
- }: BackgroundLayerProps) => {
26
+ export const BackgroundLayer = (props: BackgroundLayerProps) => {
32
27
  const { baseProps, setNativeLayer } = useAbstractLayer<
33
28
  BackgroundLayerProps,
34
29
  NativeProps
35
- >({
36
- ...props,
37
- sourceID,
38
- });
30
+ >(props);
39
31
 
40
32
  return (
41
33
  <MLRNBackgroundLayer
@@ -1,4 +1,4 @@
1
- import { NativeModules, requireNativeComponent } from "react-native";
1
+ import { requireNativeComponent } from "react-native";
2
2
 
3
3
  import {
4
4
  useAbstractLayer,
@@ -8,8 +8,6 @@ import {
8
8
  import { type BaseProps } from "../../types/BaseProps";
9
9
  import { type CircleLayerStyle } from "../../types/MapLibreRNStyles";
10
10
 
11
- const MLRNModule = NativeModules.MLRNModule;
12
-
13
11
  export const NATIVE_MODULE_NAME = "MLRNCircleLayer";
14
12
 
15
13
  export interface CircleLayerProps extends BaseProps, BaseLayerProps {
@@ -27,17 +25,11 @@ const MLRNCircleLayer = requireNativeComponent<NativeProps>(NATIVE_MODULE_NAME);
27
25
  /**
28
26
  * CircleLayer is a style layer that renders one or more filled circles on the map.
29
27
  */
30
- export const CircleLayer = ({
31
- sourceID = MLRNModule.StyleSource.DefaultSourceID,
32
- ...props
33
- }: CircleLayerProps) => {
28
+ export const CircleLayer = (props: CircleLayerProps) => {
34
29
  const { baseProps, setNativeLayer } = useAbstractLayer<
35
30
  CircleLayerProps,
36
31
  NativeProps
37
- >({
38
- ...props,
39
- sourceID,
40
- });
32
+ >(props);
41
33
 
42
34
  return (
43
35
  <MLRNCircleLayer
@@ -1,4 +1,4 @@
1
- import { NativeModules, requireNativeComponent } from "react-native";
1
+ import { requireNativeComponent } from "react-native";
2
2
 
3
3
  import {
4
4
  useAbstractLayer,
@@ -8,8 +8,6 @@ import {
8
8
  import { type BaseProps } from "../../types/BaseProps";
9
9
  import { type FillExtrusionLayerStyle } from "../../types/MapLibreRNStyles";
10
10
 
11
- const MLRNModule = NativeModules.MLRNModule;
12
-
13
11
  export const NATIVE_MODULE_NAME = "MLRNFillExtrusionLayer";
14
12
 
15
13
  export interface FillExtrusionLayerProps extends BaseProps, BaseLayerProps {
@@ -28,17 +26,11 @@ const MLRNFillExtrusionLayer =
28
26
  /**
29
27
  * FillExtrusionLayer is a style layer that renders one or more 3D extruded polygons on the map.
30
28
  */
31
- export const FillExtrusionLayer = ({
32
- sourceID = MLRNModule.StyleSource.DefaultSourceID,
33
- ...props
34
- }: FillExtrusionLayerProps) => {
29
+ export const FillExtrusionLayer = (props: FillExtrusionLayerProps) => {
35
30
  const { baseProps, setNativeLayer } = useAbstractLayer<
36
31
  FillExtrusionLayerProps,
37
32
  NativeProps
38
- >({
39
- ...props,
40
- sourceID,
41
- });
33
+ >(props);
42
34
 
43
35
  return <MLRNFillExtrusionLayer ref={setNativeLayer} {...baseProps} />;
44
36
  };
@@ -1,4 +1,4 @@
1
- import { NativeModules, requireNativeComponent } from "react-native";
1
+ import { requireNativeComponent } from "react-native";
2
2
 
3
3
  import {
4
4
  useAbstractLayer,
@@ -8,8 +8,6 @@ import {
8
8
  import { type BaseProps } from "../../types/BaseProps";
9
9
  import { type FillLayerStyle } from "../../types/MapLibreRNStyles";
10
10
 
11
- const MLRNModule = NativeModules.MLRNModule;
12
-
13
11
  export const NATIVE_MODULE_NAME = "MLRNFillLayer";
14
12
 
15
13
  export interface FillLayerProps extends BaseProps, BaseLayerProps {
@@ -26,17 +24,11 @@ const MLRNFillLayer = requireNativeComponent<NativeProps>(NATIVE_MODULE_NAME);
26
24
  /**
27
25
  * FillLayer is a style layer that renders one or more filled (and optionally stroked) polygons on the map.
28
26
  */
29
- export const FillLayer = ({
30
- sourceID = MLRNModule.StyleSource.DefaultSourceID,
31
- ...props
32
- }: FillLayerProps) => {
27
+ export const FillLayer = (props: FillLayerProps) => {
33
28
  const { baseProps, setNativeLayer } = useAbstractLayer<
34
29
  FillLayerProps,
35
30
  NativeProps
36
- >({
37
- ...props,
38
- sourceID,
39
- });
31
+ >(props);
40
32
 
41
33
  return <MLRNFillLayer ref={setNativeLayer} {...baseProps} />;
42
34
  };
@@ -1,4 +1,4 @@
1
- import { NativeModules, requireNativeComponent } from "react-native";
1
+ import { requireNativeComponent } from "react-native";
2
2
 
3
3
  import {
4
4
  type BaseLayerProps,
@@ -8,8 +8,6 @@ import {
8
8
  import { type BaseProps } from "../../types/BaseProps";
9
9
  import { type HeatmapLayerStyle } from "../../types/MapLibreRNStyles";
10
10
 
11
- const MLRNModule = NativeModules.MLRNModule;
12
-
13
11
  export const NATIVE_MODULE_NAME = "MLRNHeatmapLayer";
14
12
 
15
13
  export interface HeatmapLayerProps extends BaseProps, BaseLayerProps {
@@ -27,17 +25,11 @@ const MLRNHeatmapLayer =
27
25
  /**
28
26
  * HeatmapLayer is a style layer that renders one or more filled circles on the map.
29
27
  */
30
- export const HeatmapLayer = ({
31
- sourceID = MLRNModule.StyleSource.DefaultSourceID,
32
- ...props
33
- }: HeatmapLayerProps) => {
28
+ export const HeatmapLayer = (props: HeatmapLayerProps) => {
34
29
  const { baseProps, setNativeLayer } = useAbstractLayer<
35
30
  HeatmapLayerProps,
36
31
  NativeProps
37
- >({
38
- ...props,
39
- sourceID,
40
- });
32
+ >(props);
41
33
 
42
34
  return <MLRNHeatmapLayer ref={setNativeLayer} {...baseProps} />;
43
35
  };