@maplibre/maplibre-react-native 11.0.0-alpha.21 → 11.0.0-alpha.23

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 (120) hide show
  1. package/android/src/main/java/org/maplibre/reactnative/components/camera/CameraStop.kt +2 -3
  2. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapView.kt +53 -50
  3. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapViewModule.kt +35 -26
  4. package/android/src/main/java/org/maplibre/reactnative/events/FeatureClickEvent.java +5 -8
  5. package/android/src/main/java/org/maplibre/reactnative/events/MapPressEvent.kt +6 -4
  6. package/android/src/main/java/org/maplibre/reactnative/utils/ConvertUtils.java +2 -2
  7. package/android/src/main/java/org/maplibre/reactnative/utils/GeoJSONUtils.kt +7 -9
  8. package/ios/components/camera/CameraStop.m +2 -2
  9. package/ios/components/camera/MLRNCameraComponentView.mm +7 -9
  10. package/ios/components/camera/MLRNCameraModule.mm +3 -3
  11. package/ios/components/map-view/MLRNMapTouchEvent.m +14 -8
  12. package/ios/components/map-view/MLRNMapView.m +16 -10
  13. package/ios/components/map-view/MLRNMapViewComponentView.mm +24 -30
  14. package/ios/components/map-view/MLRNMapViewManager.h +8 -8
  15. package/ios/components/map-view/MLRNMapViewManager.m +23 -34
  16. package/ios/components/map-view/MLRNMapViewModule.mm +40 -36
  17. package/lib/commonjs/components/camera/Camera.js +15 -15
  18. package/lib/commonjs/components/camera/Camera.js.map +1 -1
  19. package/lib/commonjs/components/camera/CameraNativeComponent.ts +1 -2
  20. package/lib/commonjs/components/camera/NativeCameraModule.js.map +1 -1
  21. package/lib/commonjs/components/map-view/MapView.js +8 -11
  22. package/lib/commonjs/components/map-view/MapView.js.map +1 -1
  23. package/lib/commonjs/components/map-view/MapViewNativeComponent.ts +7 -6
  24. package/lib/commonjs/components/map-view/NativeMapViewModule.js.map +1 -1
  25. package/lib/commonjs/index.js.map +1 -1
  26. package/lib/commonjs/types/LngLat.js +2 -0
  27. package/lib/commonjs/types/{Bounds.js.map → LngLat.js.map} +1 -1
  28. package/lib/commonjs/types/LngLatBounds.js +2 -0
  29. package/lib/commonjs/types/LngLatBounds.js.map +1 -0
  30. package/lib/commonjs/types/PixelPoint.js +2 -0
  31. package/lib/commonjs/types/PixelPoint.js.map +1 -0
  32. package/lib/commonjs/types/PixelPointBounds.js +2 -0
  33. package/lib/commonjs/types/PixelPointBounds.js.map +1 -0
  34. package/lib/commonjs/types/PressEvent.js +4 -0
  35. package/lib/module/components/camera/Camera.js +15 -15
  36. package/lib/module/components/camera/Camera.js.map +1 -1
  37. package/lib/module/components/camera/CameraNativeComponent.ts +1 -2
  38. package/lib/module/components/camera/NativeCameraModule.js.map +1 -1
  39. package/lib/module/components/map-view/MapView.js +8 -11
  40. package/lib/module/components/map-view/MapView.js.map +1 -1
  41. package/lib/module/components/map-view/MapViewNativeComponent.ts +7 -6
  42. package/lib/module/components/map-view/NativeMapViewModule.js.map +1 -1
  43. package/lib/module/index.js.map +1 -1
  44. package/lib/module/types/LngLat.js +2 -0
  45. package/lib/module/types/{Bounds.js.map → LngLat.js.map} +1 -1
  46. package/lib/module/types/LngLatBounds.js +2 -0
  47. package/lib/module/types/LngLatBounds.js.map +1 -0
  48. package/lib/module/types/PixelPoint.js +2 -0
  49. package/lib/module/types/PixelPoint.js.map +1 -0
  50. package/lib/module/types/PixelPointBounds.js +2 -0
  51. package/lib/module/types/PixelPointBounds.js.map +1 -0
  52. package/lib/module/types/PressEvent.js +2 -0
  53. package/lib/typescript/commonjs/src/components/camera/Camera.d.ts +15 -21
  54. package/lib/typescript/commonjs/src/components/camera/Camera.d.ts.map +1 -1
  55. package/lib/typescript/commonjs/src/components/camera/CameraNativeComponent.d.ts +1 -2
  56. package/lib/typescript/commonjs/src/components/camera/CameraNativeComponent.d.ts.map +1 -1
  57. package/lib/typescript/commonjs/src/components/camera/NativeCameraModule.d.ts +1 -2
  58. package/lib/typescript/commonjs/src/components/camera/NativeCameraModule.d.ts.map +1 -1
  59. package/lib/typescript/commonjs/src/components/map-view/MapView.d.ts +66 -42
  60. package/lib/typescript/commonjs/src/components/map-view/MapView.d.ts.map +1 -1
  61. package/lib/typescript/commonjs/src/components/map-view/MapViewNativeComponent.d.ts +9 -6
  62. package/lib/typescript/commonjs/src/components/map-view/MapViewNativeComponent.d.ts.map +1 -1
  63. package/lib/typescript/commonjs/src/components/map-view/NativeMapViewModule.d.ts +12 -26
  64. package/lib/typescript/commonjs/src/components/map-view/NativeMapViewModule.d.ts.map +1 -1
  65. package/lib/typescript/commonjs/src/index.d.ts +6 -3
  66. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  67. package/lib/typescript/commonjs/src/types/LngLat.d.ts +5 -0
  68. package/lib/typescript/commonjs/src/types/LngLat.d.ts.map +1 -0
  69. package/lib/typescript/commonjs/src/types/LngLatBounds.d.ts +12 -0
  70. package/lib/typescript/commonjs/src/types/LngLatBounds.d.ts.map +1 -0
  71. package/lib/typescript/commonjs/src/types/PixelPoint.d.ts +5 -0
  72. package/lib/typescript/commonjs/src/types/PixelPoint.d.ts.map +1 -0
  73. package/lib/typescript/commonjs/src/types/PixelPointBounds.d.ts +10 -0
  74. package/lib/typescript/commonjs/src/types/PixelPointBounds.d.ts.map +1 -0
  75. package/lib/typescript/commonjs/src/types/PressEvent.d.ts +6 -6
  76. package/lib/typescript/commonjs/src/types/PressEvent.d.ts.map +1 -1
  77. package/lib/typescript/module/src/components/camera/Camera.d.ts +15 -21
  78. package/lib/typescript/module/src/components/camera/Camera.d.ts.map +1 -1
  79. package/lib/typescript/module/src/components/camera/CameraNativeComponent.d.ts +1 -2
  80. package/lib/typescript/module/src/components/camera/CameraNativeComponent.d.ts.map +1 -1
  81. package/lib/typescript/module/src/components/camera/NativeCameraModule.d.ts +1 -2
  82. package/lib/typescript/module/src/components/camera/NativeCameraModule.d.ts.map +1 -1
  83. package/lib/typescript/module/src/components/map-view/MapView.d.ts +66 -42
  84. package/lib/typescript/module/src/components/map-view/MapView.d.ts.map +1 -1
  85. package/lib/typescript/module/src/components/map-view/MapViewNativeComponent.d.ts +9 -6
  86. package/lib/typescript/module/src/components/map-view/MapViewNativeComponent.d.ts.map +1 -1
  87. package/lib/typescript/module/src/components/map-view/NativeMapViewModule.d.ts +12 -26
  88. package/lib/typescript/module/src/components/map-view/NativeMapViewModule.d.ts.map +1 -1
  89. package/lib/typescript/module/src/index.d.ts +6 -3
  90. package/lib/typescript/module/src/index.d.ts.map +1 -1
  91. package/lib/typescript/module/src/types/LngLat.d.ts +5 -0
  92. package/lib/typescript/module/src/types/LngLat.d.ts.map +1 -0
  93. package/lib/typescript/module/src/types/LngLatBounds.d.ts +12 -0
  94. package/lib/typescript/module/src/types/LngLatBounds.d.ts.map +1 -0
  95. package/lib/typescript/module/src/types/PixelPoint.d.ts +5 -0
  96. package/lib/typescript/module/src/types/PixelPoint.d.ts.map +1 -0
  97. package/lib/typescript/module/src/types/PixelPointBounds.d.ts +10 -0
  98. package/lib/typescript/module/src/types/PixelPointBounds.d.ts.map +1 -0
  99. package/lib/typescript/module/src/types/PressEvent.d.ts +6 -6
  100. package/lib/typescript/module/src/types/PressEvent.d.ts.map +1 -1
  101. package/package.json +2 -2
  102. package/src/components/camera/Camera.tsx +24 -26
  103. package/src/components/camera/CameraNativeComponent.ts +1 -2
  104. package/src/components/camera/NativeCameraModule.ts +1 -2
  105. package/src/components/map-view/MapView.tsx +106 -62
  106. package/src/components/map-view/MapViewNativeComponent.ts +7 -6
  107. package/src/components/map-view/NativeMapViewModule.ts +23 -28
  108. package/src/index.ts +8 -4
  109. package/src/types/LngLat.ts +4 -0
  110. package/src/types/LngLatBounds.ts +11 -0
  111. package/src/types/PixelPoint.ts +4 -0
  112. package/src/types/PixelPointBounds.ts +9 -0
  113. package/src/types/PressEvent.ts +7 -8
  114. package/lib/commonjs/types/Bounds.js +0 -2
  115. package/lib/module/types/Bounds.js +0 -2
  116. package/lib/typescript/commonjs/src/types/Bounds.d.ts +0 -2
  117. package/lib/typescript/commonjs/src/types/Bounds.d.ts.map +0 -1
  118. package/lib/typescript/module/src/types/Bounds.d.ts +0 -2
  119. package/lib/typescript/module/src/types/Bounds.d.ts.map +0 -1
  120. package/src/types/Bounds.ts +0 -1
@@ -1,8 +1,11 @@
1
1
  import { type ReactNode } from "react";
2
2
  import { type NativeSyntheticEvent, type ViewProps } from "react-native";
3
3
  import { type BaseProps } from "../../types/BaseProps";
4
- import type { Bounds } from "../../types/Bounds";
4
+ import type { LngLat } from "../../types/LngLat";
5
+ import type { LngLatBounds } from "../../types/LngLatBounds";
5
6
  import { type FilterExpression, type LightLayerStyle } from "../../types/MapLibreRNStyles";
7
+ import type { PixelPoint } from "../../types/PixelPoint";
8
+ import type { PixelPointBounds } from "../../types/PixelPointBounds";
6
9
  import type { PressEvent } from "../../types/PressEvent";
7
10
  import type { ViewPadding } from "../../types/ViewPadding";
8
11
  export type OrnamentViewPosition = {
@@ -19,19 +22,24 @@ export type OrnamentViewPosition = {
19
22
  left: number;
20
23
  };
21
24
  export type ViewState = {
22
- longitude: number;
23
- latitude: number;
25
+ center: LngLat;
24
26
  zoom: number;
25
27
  bearing: number;
26
28
  pitch: number;
27
- bounds: Bounds;
29
+ bounds: LngLatBounds;
28
30
  };
29
31
  export type ViewStateChangeEvent = ViewState & {
30
32
  animated: boolean;
31
33
  userInteraction: boolean;
32
34
  };
33
35
  export type QueryRenderedFeaturesOptions = {
36
+ /**
37
+ * Filter expression to filter the queried features
38
+ */
34
39
  filter?: FilterExpression;
40
+ /**
41
+ * IDs of layers to query features from
42
+ */
35
43
  layers?: string[];
36
44
  };
37
45
  export interface MapViewRef {
@@ -43,7 +51,7 @@ export interface MapViewRef {
43
51
  *
44
52
  * @return Current center coordinates of the map
45
53
  */
46
- getCenter(): Promise<Pick<ViewState, "longitude" | "latitude">>;
54
+ getCenter(): Promise<LngLat>;
47
55
  /**
48
56
  * Returns the current zoom level of the map
49
57
  *
@@ -52,7 +60,7 @@ export interface MapViewRef {
52
60
  *
53
61
  * @return Current zoom level of the map
54
62
  */
55
- getZoom(): Promise<ViewState["zoom"]>;
63
+ getZoom(): Promise<number>;
56
64
  /**
57
65
  * Returns the current bearing of the map
58
66
  *
@@ -61,7 +69,7 @@ export interface MapViewRef {
61
69
  *
62
70
  * @return Current bearing of the map
63
71
  */
64
- getBearing(): Promise<ViewState["bearing"]>;
72
+ getBearing(): Promise<number>;
65
73
  /**
66
74
  * Returns the current pitch of the map
67
75
  *
@@ -70,7 +78,7 @@ export interface MapViewRef {
70
78
  *
71
79
  * @return Current pitch of the map
72
80
  */
73
- getPitch(): Promise<ViewState["pitch"]>;
81
+ getPitch(): Promise<number>;
74
82
  /**
75
83
  * Returns the current bounds of the map
76
84
  *
@@ -79,7 +87,7 @@ export interface MapViewRef {
79
87
  *
80
88
  * @return Current bounds of the map
81
89
  */
82
- getBounds(): Promise<ViewState["bounds"]>;
90
+ getBounds(): Promise<LngLatBounds>;
83
91
  /**
84
92
  * Returns the current view state of the map
85
93
  *
@@ -90,53 +98,69 @@ export interface MapViewRef {
90
98
  */
91
99
  getViewState(): Promise<ViewState>;
92
100
  /**
93
- * Converts a geographic coordinate to a pixel point of the view
101
+ * Converts geographic coordinates to pixel point of the view
94
102
  *
95
103
  * @example
96
104
  * await mapViewRef.current?.getPointInView([-37.817070, 144.949901]);
97
105
  *
98
- * @param coordinate Geographic coordinate
106
+ * @param coordinates Geographic coordinate
99
107
  * @return Pixel point
100
108
  */
101
- project(coordinate: {
102
- longitude: number;
103
- latitude: number;
104
- }): Promise<{
105
- locationX: number;
106
- locationY: number;
107
- }>;
109
+ project(coordinates: LngLat): Promise<PixelPoint>;
108
110
  /**
109
- * Converts a pixel point of the view to a geographic coordinate.
111
+ * Converts a pixel point of the view to geographic coordinates.
110
112
  *
111
113
  * @example
112
- * await mapViewRef.current?.getCoordinateFromView([100, 100]);
114
+ * await mapViewRef.current?.getCoordinateFromView([280, 640]);
113
115
  *
114
116
  * @param point Pixel point
115
117
  * @return Geographic coordinate
116
118
  */
117
- unproject(point: {
118
- locationX: number;
119
- locationY: number;
120
- }): Promise<{
121
- longitude: number;
122
- latitude: number;
123
- }>;
119
+ unproject(point: PixelPoint): Promise<LngLat>;
124
120
  /**
125
- * Returns an array of rendered map features.
121
+ * Query rendered features at a point
126
122
  *
127
123
  * @example
128
- * await mapViewRef.current?.queryRenderedFeaturesAtPoint([30, 40], ['==', 'type', 'Point'], ['id1', 'id2'])
124
+ * await mapViewRef.current?.queryRenderedFeatures(
125
+ * [240, 640],
126
+ * {
127
+ * filter: ["==", "type", "Point"],
128
+ * layers: ["restaurants", "shops"],
129
+ * },
130
+ * );
129
131
  *
130
- * @param options.filter - A set of strings that correspond to the names of layers defined in the current style. Only the features contained in these layers are included in the returned array.
131
- * @param options.layers - A array of layer id's to filter the features by
132
- * @return FeatureCollection containing queried features
132
+ * @return Queried features
133
133
  */
134
- queryRenderedFeatures(coordinate: {
135
- longitude: number;
136
- latitude: number;
137
- }, options?: QueryRenderedFeaturesOptions): Promise<GeoJSON.FeatureCollection>;
138
- queryRenderedFeatures(bounds: Bounds, options?: QueryRenderedFeaturesOptions): Promise<GeoJSON.FeatureCollection>;
139
- queryRenderedFeatures(options?: QueryRenderedFeaturesOptions): Promise<GeoJSON.FeatureCollection>;
134
+ queryRenderedFeatures(pixelPoint: PixelPoint, options?: QueryRenderedFeaturesOptions): Promise<GeoJSON.Feature[]>;
135
+ /**
136
+ * Query rendered features within pixel bounds
137
+ *
138
+ * @example
139
+ * await mapViewRef.current?.queryRenderedFeatures(
140
+ * [100, 100, 400, 400],
141
+ * {
142
+ * filter: ["==", "type", "Point"],
143
+ * layers: ["restaurants", "shops"],
144
+ * },
145
+ * );
146
+ *
147
+ * @return Queried features
148
+ */
149
+ queryRenderedFeatures(pixelPointBounds: PixelPointBounds, options?: QueryRenderedFeaturesOptions): Promise<GeoJSON.Feature[]>;
150
+ /**
151
+ * Query rendered features within the current viewport
152
+ *
153
+ * @example
154
+ * await mapViewRef.current?.queryRenderedFeatures(
155
+ * {
156
+ * filter: ["==", "type", "Point"],
157
+ * layers: ["restaurants", "shops"],
158
+ * },
159
+ * );
160
+ *
161
+ * @return Queried features
162
+ */
163
+ queryRenderedFeatures(options?: QueryRenderedFeaturesOptions): Promise<GeoJSON.Feature[]>;
140
164
  /**
141
165
  * Takes snapshot of map with current tiles and returns a URI to the image
142
166
  * @param writeToDisk If true will create a temp file, otherwise it is in base64
@@ -155,12 +179,13 @@ export interface MapViewRef {
155
179
  */
156
180
  setSourceVisibility(visible: boolean, source: string, sourceLayer?: string): Promise<void>;
157
181
  /**
158
- * Show the attribution action sheet, can be used to implement a
159
- * custom attribution button
182
+ * Show the attribution dialog
183
+ *
184
+ * Can be used to implement a custom attribution button.
160
185
  */
161
186
  showAttribution(): Promise<void>;
162
187
  }
163
- interface MapViewProps extends BaseProps {
188
+ export interface MapViewProps extends BaseProps {
164
189
  children?: ReactNode;
165
190
  /**
166
191
  * Style for wrapping React Native View
@@ -329,5 +354,4 @@ interface MapViewProps extends BaseProps {
329
354
  * MapLibre Native MapView
330
355
  */
331
356
  export declare const MapView: import("react").NamedExoticComponent<MapViewProps & import("react").RefAttributes<MapViewRef>>;
332
- export {};
333
357
  //# sourceMappingURL=MapView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MapView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/map-view/MapView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AACf,OAAO,EAKL,KAAK,oBAAoB,EAIzB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAOtB,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACrB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAA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yB,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;IAExE;;OAEG;IACH,yBAAyB,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;IAExE;;OAEG;IACH,8BAA8B,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;IAE7E;;OAEG;IACH,uBAAuB,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;IAEtE;;OAEG;IACH,uBAAuB,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;IAEtE;;OAEG;IACH,4BAA4B,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;IAE3E;;OAEG;IACH,uBAAuB,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;CACvE;AAED;;GAEG;AACH,eAAO,MAAM,OAAO,gGAoKnB,CAAC"}
@@ -14,14 +14,17 @@ type NativeOrnamentViewPosition = {
14
14
  left?: CodegenTypes.WithDefault<CodegenTypes.Int32, -1>;
15
15
  };
16
16
  type NativePressEvent = {
17
- longitude: CodegenTypes.Double;
18
- latitude: CodegenTypes.Double;
19
- locationX: CodegenTypes.Double;
20
- locationY: CodegenTypes.Double;
17
+ lngLat: UnsafeMixed<[
18
+ longitude: CodegenTypes.Double,
19
+ latitude: CodegenTypes.Double
20
+ ]>;
21
+ point: UnsafeMixed<[x: CodegenTypes.Double, y: CodegenTypes.Double]>;
21
22
  };
22
23
  type NativeViewStateEvent = {
23
- longitude: CodegenTypes.Double;
24
- latitude: CodegenTypes.Double;
24
+ center: UnsafeMixed<[
25
+ longitude: CodegenTypes.Double,
26
+ latitude: CodegenTypes.Double
27
+ ]>;
25
28
  zoom: CodegenTypes.Double;
26
29
  bearing: CodegenTypes.Double;
27
30
  pitch: CodegenTypes.Double;
@@ -1 +1 @@
1
- {"version":3,"file":"MapViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/map-view/MapViewNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAEnE,KAAK,iBAAiB,GAAG;IACvB,GAAG,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACtD,KAAK,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACxD,MAAM,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACzD,IAAI,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;CACxD,CAAC;AAEF,KAAK,0BAA0B,GAAG;IAChC,GAAG,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IACvD,KAAK,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IACzD,MAAM,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IAC1D,IAAI,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CA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AA8B,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAEvE,uBAAuB,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAChE,uBAAuB,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAChE,4BAA4B,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAErE,uBAAuB,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;CACjE;wBAII,aAAa,CAAC,WAAW,CAAC;AAF/B,wBAEgC"}
1
+ {"version":3,"file":"MapViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/map-view/MapViewNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAEnE,KAAK,iBAAiB,GAAG;IACvB,GAAG,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACtD,KAAK,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACxD,MAAM,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACzD,IAAI,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;CACxD,CAAC;AAEF,KAAK,0BAA0B,GAAG;IAChC,GAAG,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC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AkB,CAAC,oBAAoB,CAAC,CAAC;IAE1E,qBAAqB,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC9D,qBAAqB,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC9D,mBAAmB,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAE5D,yBAAyB,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAClE,yBAAyB,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAClE,8BAA8B,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAEvE,uBAAuB,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAChE,uBAAuB,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAChE,4BAA4B,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAErE,uBAAuB,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;CACjE;wBAII,aAAa,CAAC,WAAW,CAAC;AAF/B,wBAEgC"}
@@ -1,41 +1,27 @@
1
1
  import { type CodegenTypes, type TurboModule } from "react-native";
2
2
  type NativeViewState = {
3
- longitude: CodegenTypes.Double;
4
- latitude: CodegenTypes.Double;
3
+ center: CodegenTypes.Double[];
5
4
  zoom: CodegenTypes.Double;
6
5
  bearing: CodegenTypes.Double;
7
6
  pitch: CodegenTypes.Double;
8
7
  bounds: CodegenTypes.Double[];
9
8
  };
10
9
  export interface Spec extends TurboModule {
11
- getCenter: (reactTag: CodegenTypes.Int32) => Promise<{
12
- longitude: CodegenTypes.Double;
13
- latitude: CodegenTypes.Double;
14
- }>;
10
+ getCenter: (reactTag: CodegenTypes.Int32) => Promise<[longitude: CodegenTypes.Double, latitude: CodegenTypes.Double]>;
15
11
  getZoom: (reactTag: CodegenTypes.Int32) => Promise<CodegenTypes.Double>;
16
12
  getBearing: (reactTag: CodegenTypes.Int32) => Promise<CodegenTypes.Double>;
17
13
  getPitch: (reactTag: CodegenTypes.Int32) => Promise<CodegenTypes.Double>;
18
- getBounds: (reactTag: CodegenTypes.Int32) => Promise<CodegenTypes.Double[]>;
14
+ getBounds: (reactTag: CodegenTypes.Int32) => Promise<[
15
+ west: CodegenTypes.Double,
16
+ south: CodegenTypes.Double,
17
+ east: CodegenTypes.Double,
18
+ north: CodegenTypes.Double
19
+ ]>;
19
20
  getViewState: (reactTag: CodegenTypes.Int32) => Promise<NativeViewState>;
20
- project: (reactTag: CodegenTypes.Int32, coordinate: {
21
- longitude: CodegenTypes.Double;
22
- latitude: CodegenTypes.Double;
23
- }) => Promise<{
24
- locationX: CodegenTypes.Double;
25
- locationY: CodegenTypes.Double;
26
- }>;
27
- unproject: (reactTag: CodegenTypes.Int32, point: {
28
- locationX: CodegenTypes.Double;
29
- locationY: CodegenTypes.Double;
30
- }) => Promise<{
31
- longitude: CodegenTypes.Double;
32
- latitude: CodegenTypes.Double;
33
- }>;
34
- queryRenderedFeaturesWithCoordinate: (reactTag: CodegenTypes.Int32, coordinate: {
35
- longitude: CodegenTypes.Double;
36
- latitude: CodegenTypes.Double;
37
- }, layers: string[], filter: string[]) => Promise<object>;
38
- queryRenderedFeaturesWithBounds: (reactTag: CodegenTypes.Int32, bounds: CodegenTypes.Double[], layers: string[], filter: string[]) => Promise<object>;
21
+ project: (reactTag: CodegenTypes.Int32, lngLat: CodegenTypes.Double[]) => Promise<[x: CodegenTypes.Double, y: CodegenTypes.Double]>;
22
+ unproject: (reactTag: CodegenTypes.Int32, pixelPoint: CodegenTypes.Double[]) => Promise<[longitude: CodegenTypes.Double, latitude: CodegenTypes.Double]>;
23
+ queryRenderedFeaturesWithPoint: (reactTag: CodegenTypes.Int32, pixelPoint: CodegenTypes.Double[], layers: string[], filter: string[]) => Promise<GeoJSON.Feature[]>;
24
+ queryRenderedFeaturesWithBounds: (reactTag: CodegenTypes.Int32, pixelPointBounds: CodegenTypes.Double[][] | null, layers: string[], filter: string[]) => Promise<GeoJSON.Feature[]>;
39
25
  setSourceVisibility: (reactTag: CodegenTypes.Int32, visible: boolean, sourceId: string, sourceLayerId: string | null) => Promise<void>;
40
26
  takeSnap: (reactTag: CodegenTypes.Int32, writeToDisk: boolean) => Promise<string>;
41
27
  showAttribution: (reactTag: CodegenTypes.Int32) => Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"NativeMapViewModule.d.ts","sourceRoot":"","sources":["../../../../../../src/components/map-view/NativeMapViewModule.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,WAAW,EAEjB,MAAM,cAAc,CAAC;AAEtB,KAAK,eAAe,GAAG;IACrB,SAAS,EAAE,YAAY,CAAC,MAAM,CAAC;IAC/B,QAAQ,EAAE,YAAY,CAAC,MAAM,CAAC;IAC9B,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC;IAC1B,OAAO,EAAE,YAAY,CAAC,MAAM,CAAC;IAC7B,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC;IAC3B,MAAM,EAAE,YAAY,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC;AAEF,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,SAAS,EAAE,CAAC,QAAQ,EAAE,YAAY,CAAC,KAAK,KAAK,OAAO,CAAC;QACnD,SAAS,EAAE,YAAY,CAAC,MAAM,CAAC;QAC/B,QAAQ,EAAE,YAAY,CAAC,MAAM,CAAC;KAC/B,CAAC,CAAC;IAEH,OAAO,EAAE,CAAC,QAAQ,EAAE,YAAY,CAAC,KAAK,KAAK,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IAExE,UAAU,EAAE,CAAC,QAAQ,EAAE,YAAY,CAAC,KAAK,KAAK,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC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CAC/B,QAAQ,EAAE,YAAY,CAAC,KAAK,EAC5B,gBAAgB,EAAE,YAAY,CAAC,MAAM,EAAE,EAAE,GAAG,IAAI,EAChD,MAAM,EAAE,MAAM,EAAE,EAChB,MAAM,EAAE,MAAM,EAAE,KACb,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;IAEhC,mBAAmB,EAAE,CACnB,QAAQ,EAAE,YAAY,CAAC,KAAK,EAC5B,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,MAAM,GAAG,IAAI,KACzB,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnB,QAAQ,EAAE,CACR,QAAQ,EAAE,YAAY,CAAC,KAAK,EAC5B,WAAW,EAAE,OAAO,KACjB,OAAO,CAAC,MAAM,CAAC,CAAC;IAErB,eAAe,EAAE,CAAC,QAAQ,EAAE,YAAY,CAAC,KAAK,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAClE;;AAED,wBAA2E"}
@@ -1,6 +1,6 @@
1
1
  export * from "./MLRNModule";
2
- export { type CameraOptions, type CameraEasing, type CameraAnimationOptions, type CameraCenterOptions, type CameraBoundsOptions, type CameraCenterStop, type CameraBoundsStop, type CameraStop, type InitialViewState, type CameraRef, type TrackUserLocation, type TrackUserLocationChangeEvent, type CameraProps, Camera, } from "./components/camera/Camera";
3
- export { MapView, type MapViewRef, type ViewState, type ViewStateChangeEvent, } from "./components/map-view/MapView";
2
+ export { Camera, type CameraProps, type CameraRef, type CameraOptions, type CameraEasing, type CameraAnimationOptions, type CameraCenterOptions, type CameraBoundsOptions, type CameraCenterStop, type CameraBoundsStop, type CameraStop, type InitialViewState, type TrackUserLocation, type TrackUserLocationChangeEvent, } from "./components/camera/Camera";
3
+ export { MapView, type MapViewProps, type MapViewRef, type ViewState, type ViewStateChangeEvent, } from "./components/map-view/MapView";
4
4
  export { PointAnnotation } from "./components/annotations/PointAnnotation";
5
5
  export type { PointAnnotationRef } from "./components/annotations/PointAnnotation";
6
6
  export { Annotation } from "./components/annotations/Annotation";
@@ -31,8 +31,11 @@ export { OfflinePack } from "./modules/offline/OfflinePack";
31
31
  export { OfflineCreatePackOptions } from "./modules/offline/OfflineCreatePackOptions";
32
32
  export { SnapshotManager } from "./modules/snapshot/SnapshotManager";
33
33
  export type { SnapshotInputOptions } from "./modules/snapshot/SnapshotOptions";
34
- export type { Bounds } from "./types/Bounds";
34
+ export type { LngLat } from "./types/LngLat";
35
+ export type { LngLatBounds } from "./types/LngLatBounds";
35
36
  export type { FillLayerStyle, LineLayerStyle, SymbolLayerStyle, CircleLayerStyle, HeatmapLayerStyle, FillExtrusionLayerStyle, RasterLayerStyle, HillshadeLayerStyle, BackgroundLayerStyle, LightLayerStyle, Expression, } from "./types/MapLibreRNStyles";
37
+ export type { PixelPoint } from "./types/PixelPoint";
38
+ export type { PixelPointBounds } from "./types/PixelPointBounds";
36
39
  export type { PressEvent, PressEventWithFeatures } from "./types/PressEvent";
37
40
  export type { ViewPadding } from "./types/ViewPadding";
38
41
  export { Animated } from "./utils/animated/Animated";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAE7B,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,EACjC,KAAK,WAAW,EAChB,MAAM,GACP,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,OAAO,EACP,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,oBAAoB,GAC1B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C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L=LngLat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LngLat.d.ts","sourceRoot":"","sources":["../../../../../src/types/LngLat.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Represents bounds in geographic coordinates
3
+ *
4
+ * Uses order of south-west and north-east corners in flat style per GeoJSON RFC.
5
+ */
6
+ export type LngLatBounds = [
7
+ west: number,
8
+ south: number,
9
+ east: number,
10
+ north: number
11
+ ];
12
+ //# sourceMappingURL=LngLatBounds.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LngLatBounds.d.ts","sourceRoot":"","sources":["../../../../../src/types/LngLatBounds.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,MAAM;IACb,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,MAAM;CACd,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Pixel coordinates
3
+ */
4
+ export type PixelPoint = [x: number, y: number];
5
+ //# sourceMappingURL=PixelPoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PixelPoint.d.ts","sourceRoot":"","sources":["../../../../../src/types/PixelPoint.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Bounds in pixel coordinates
3
+ *
4
+ * Uses common order of top-left and bottom-right corners.
5
+ */
6
+ export type PixelPointBounds = [
7
+ topLeft: [left: number, top: number],
8
+ bottomRight: [right: number, bottom: number]
9
+ ];
10
+ //# sourceMappingURL=PixelPointBounds.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PixelPointBounds.d.ts","sourceRoot":"","sources":["../../../../../src/types/PixelPointBounds.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,CAAC;IACpC,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;CAC7C,CAAC"}
@@ -1,14 +1,14 @@
1
+ import type { LngLat } from "./LngLat";
2
+ import type { PixelPoint } from "./PixelPoint";
1
3
  export interface PressEvent {
2
- longitude: number;
3
- latitude: number;
4
4
  /**
5
- * Touch origin X coordinate inside touchable area (relative to the element).
5
+ * Geographic coordinates of the touch event
6
6
  */
7
- locationX: number;
7
+ lngLat: LngLat;
8
8
  /**
9
- * Touch origin Y coordinate inside touchable area (relative to the element).
9
+ * Pixel point of the touch event within the elements' viewport
10
10
  */
11
- locationY: number;
11
+ point: PixelPoint;
12
12
  }
13
13
  export interface PressEventWithFeatures extends PressEvent {
14
14
  features: GeoJSON.Feature[];
@@ -1 +1 @@
1
- {"version":3,"file":"PressEvent.d.ts","sourceRoot":"","sources":["../../../../../src/types/PressEvent.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,sBAAuB,SAAQ,UAAU;IACxD,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC;CAC7B"}
1
+ {"version":3,"file":"PressEvent.d.ts","sourceRoot":"","sources":["../../../../../src/types/PressEvent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,EAAE,UAAU,CAAC;CACnB;AAED,MAAM,WAAW,sBAAuB,SAAQ,UAAU;IACxD,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC;CAC7B"}
@@ -1,6 +1,6 @@
1
1
  import { type NativeSyntheticEvent } from "react-native";
2
2
  import { type BaseProps } from "../../types/BaseProps";
3
- import type { Bounds } from "../../types/Bounds";
3
+ import type { LngLatBounds } from "../../types/LngLatBounds";
4
4
  import type { ViewPadding } from "../../types/ViewPadding";
5
5
  export interface CameraOptions {
6
6
  /**
@@ -32,30 +32,30 @@ export interface CameraAnimationOptions {
32
32
  easing?: CameraEasing;
33
33
  }
34
34
  export interface CameraCenterOptions {
35
- longitude: number;
36
- latitude: number;
35
+ /**
36
+ * Geographic center coordinates of the map
37
+ */
38
+ center: [longitude: number, latitude: number];
37
39
  }
38
40
  export interface CameraBoundsOptions {
39
41
  /**
40
42
  * The corners of a box around which the map should bound.
41
43
  */
42
- bounds: Bounds;
44
+ bounds: LngLatBounds;
43
45
  }
44
46
  export type CameraCenterStop = CameraOptions & CameraAnimationOptions & CameraCenterOptions;
45
47
  export type CameraBoundsStop = CameraOptions & CameraAnimationOptions & CameraBoundsOptions;
46
48
  export type CameraStop = (CameraOptions & CameraAnimationOptions & {
47
- longitude?: never;
48
- latitude?: never;
49
+ center?: never;
49
50
  bounds?: never;
50
51
  }) | CameraCenterStop | CameraBoundsStop;
51
52
  export type InitialViewState = (CameraOptions & {
52
- longitude?: never;
53
- latitude?: never;
53
+ center?: never;
54
54
  bounds?: never;
55
55
  }) | (CameraOptions & CameraCenterOptions) | (CameraOptions & CameraBoundsOptions);
56
56
  export interface CameraRef {
57
57
  /**
58
- * Map camera will move to new coordinate at the same zoom level
58
+ * Map camera will move to new coordinates at the same zoom level
59
59
  *
60
60
  * @example
61
61
  * cameraRef.current?.easeTo([lng, lat], 200) // eases camera to new location based on duration
@@ -64,11 +64,9 @@ export interface CameraRef {
64
64
  * @param options.center Coordinates that map camera will move too
65
65
  * @param options.duration Duration of camera animation
66
66
  */
67
- jumpTo(options: {
68
- center: CameraCenterOptions;
69
- } & CameraOptions): void;
67
+ jumpTo(options: CameraCenterOptions & CameraOptions): void;
70
68
  /**
71
- * Map camera will move to new coordinate at the same zoom level
69
+ * Map camera will move to new coordinates at the same zoom level
72
70
  *
73
71
  * @example
74
72
  * cameraRef.current?.easeTo([lng, lat], 200) // eases camera to new location based on duration
@@ -77,9 +75,7 @@ export interface CameraRef {
77
75
  * @param options.center Coordinates that map camera will move too
78
76
  * @param options.duration Duration of camera animation
79
77
  */
80
- easeTo(options: {
81
- center: CameraCenterOptions;
82
- } & CameraOptions & CameraAnimationOptions): void;
78
+ easeTo(options: CameraCenterOptions & CameraOptions & CameraAnimationOptions): void;
83
79
  /**
84
80
  * Map camera will fly to new coordinate
85
81
  *
@@ -90,9 +86,7 @@ export interface CameraRef {
90
86
  * @param options.center Coordinates that map camera will jump to
91
87
  * @param options.duration Duration of camera animation
92
88
  */
93
- flyTo(options: {
94
- center: CameraCenterOptions;
95
- } & CameraOptions & CameraAnimationOptions): void;
89
+ flyTo(options: CameraCenterOptions & CameraOptions & CameraAnimationOptions): void;
96
90
  /**
97
91
  * Map camera transitions to fit provided bounds
98
92
  *
@@ -105,7 +99,7 @@ export interface CameraRef {
105
99
  * @param options.padding Padding for the bounds
106
100
  * @param options.duration Duration of camera animation
107
101
  */
108
- fitBounds(bounds: Bounds, options?: CameraOptions & CameraAnimationOptions): void;
102
+ fitBounds(bounds: LngLatBounds, options?: CameraOptions & CameraAnimationOptions): void;
109
103
  /**
110
104
  * Map camera will zoom to specified level
111
105
  *
@@ -159,7 +153,7 @@ export type CameraProps = BaseProps & Partial<CameraStop> & {
159
153
  /**
160
154
  * Restrict map panning so that the center is within these bounds
161
155
  */
162
- maxBounds?: Bounds;
156
+ maxBounds?: LngLatBounds;
163
157
  /**
164
158
  * The mode used to track the user location on the map:
165
159
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Camera.d.ts","sourceRoot":"","sources":["../../../../../../src/components/camera/Camera.tsx"],"names":[],"mappings":"AAQA,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,cAAc,CAAC;AAItB,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,KAAK,CAAC;AAEjE,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAC1C,sBAAsB,GACtB,mBAAmB,CAAC;AAEtB,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAC1C,sBAAsB,GACtB,mBAAmB,CAAC;AAEtB,MAAM,MAAM,UAAU,GAClB,CAAC,aAAa,GACZ,sBAAsB,GAAG;IACvB,SAAS,CAAC,EAAE,KAA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AAsB,GAC/C,IAAI,CAAC;IAER;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,sBAAsB,GAAG,IAAI,CAAC;IAE7E;;;;;;;;;;;;;;;;;;OAkBG;IACH,OAAO,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1C;AAED,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEjE,MAAM,MAAM,4BAA4B,GAAG;IACzC,iBAAiB,EAAE,iBAAiB,GAAG,IAAI,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,SAAS,GACjC,OAAO,CAAC,UAAU,CAAC,GAAG;IACpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAEpC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,CAAC;IAEzB;;;;;;;;;OASG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IAEtC;;OAEG;IACH,yBAAyB,CAAC,EAAE,CAC1B,KAAK,EAAE,oBAAoB,CAAC,4BAA4B,CAAC,KACtD,IAAI,CAAC;CACX,CAAC;AAEJ,eAAO,MAAM,MAAM,8FAoElB,CAAC"}
@@ -7,8 +7,7 @@ type NativeViewPadding = {
7
7
  left?: CodegenTypes.WithDefault<CodegenTypes.Int32, 0>;
8
8
  };
9
9
  type NativeViewState = {
10
- longitude?: CodegenTypes.WithDefault<CodegenTypes.Double, -360>;
11
- latitude?: CodegenTypes.WithDefault<CodegenTypes.Double, -360>;
10
+ center?: CodegenTypes.Double[];
12
11
  bounds?: CodegenTypes.Double[];
13
12
  padding?: NativeViewPadding;
14
13
  zoom?: CodegenTypes.WithDefault<CodegenTypes.Double, -1>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AAC,CAAC;IAC5D,MAAM,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC;CAC7D,CAAC;AAGF,KAAK,2BAA2B,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE7E,KAAK,4BAA4B,GAAG;IAClC,iBAAiB,EAAE,WAAW,CAAC,OAAO,CACpC,2BAA2B,EAC3B,MAAM,CACP,GAAG,IAAI,CAAC,CAAC;CACX,CAAC;AAEF,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAExB,gBAAgB,CAAC,EAAE,eAAe,CAAC;IAEnC,OAAO,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;IAC5D,OAAO,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;IAC5D,SAAS,CAAC,EAAE,YAAY,CAAC,MAAM,EAAE,CAAC;IAElC,iBAAiB,CAAC,EAAE,YAAY,CAAC,WAAW,CAC1C,2BAA2B,EAC3B,MAAM,CACP,CAAC;IAEF,yBAAyB,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,4BAA4B,CAAC,CAAC;CAC3F;wBAII,aAAa,CAAC,WAAW,CAAC;AAF/B,wBAEgC"}
@@ -6,8 +6,7 @@ type NativeViewPadding = {
6
6
  left?: CodegenTypes.WithDefault<CodegenTypes.Int32, 0>;
7
7
  };
8
8
  type NativeViewState = {
9
- longitude?: CodegenTypes.WithDefault<CodegenTypes.Double, -360>;
10
- latitude?: CodegenTypes.WithDefault<CodegenTypes.Double, -360>;
9
+ center?: CodegenTypes.Double[];
11
10
  bounds?: CodegenTypes.Double[];
12
11
  padding?: NativeViewPadding;
13
12
  zoom?: CodegenTypes.WithDefault<CodegenTypes.Double, -1>;
@@ -1 +1 @@
1
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