react-native-maps 1.21.0-alpha.114 → 1.21.0-alpha.115
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.
|
@@ -277,7 +277,22 @@ export interface MapFabricNativeProps extends ViewProps {
|
|
|
277
277
|
* @platform iOS: Supported
|
|
278
278
|
* @platform Android: Supported
|
|
279
279
|
*/
|
|
280
|
-
camera?:
|
|
280
|
+
camera?: Readonly<{
|
|
281
|
+
/**
|
|
282
|
+
* Apple Maps
|
|
283
|
+
*/
|
|
284
|
+
altitude?: Double;
|
|
285
|
+
center: {
|
|
286
|
+
latitude: Double;
|
|
287
|
+
longitude: Double;
|
|
288
|
+
};
|
|
289
|
+
heading: Double;
|
|
290
|
+
pitch: Double;
|
|
291
|
+
/**
|
|
292
|
+
* Google Maps
|
|
293
|
+
*/
|
|
294
|
+
zoom?: Float;
|
|
295
|
+
}>;
|
|
281
296
|
/**
|
|
282
297
|
* If set, changes the position of the compass.
|
|
283
298
|
*
|
|
@@ -317,7 +332,22 @@ export interface MapFabricNativeProps extends ViewProps {
|
|
|
317
332
|
* @platform iOS: Supported
|
|
318
333
|
* @platform Android: Supported
|
|
319
334
|
*/
|
|
320
|
-
initialCamera?:
|
|
335
|
+
initialCamera?: Readonly<{
|
|
336
|
+
/**
|
|
337
|
+
* Apple Maps
|
|
338
|
+
*/
|
|
339
|
+
altitude?: Double;
|
|
340
|
+
center: {
|
|
341
|
+
latitude: Double;
|
|
342
|
+
longitude: Double;
|
|
343
|
+
};
|
|
344
|
+
heading: Double;
|
|
345
|
+
pitch: Double;
|
|
346
|
+
/**
|
|
347
|
+
* Google Maps
|
|
348
|
+
*/
|
|
349
|
+
zoom?: Float;
|
|
350
|
+
}>;
|
|
321
351
|
/**
|
|
322
352
|
* The initial region to be displayed by the map. Use this prop instead of `region`
|
|
323
353
|
* only if you don't want to control the viewport of the map besides the initial region.
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"author": "Leland Richardson <leland.m.richardson@gmail.com>",
|
|
7
7
|
"homepage": "https://github.com/react-native-maps/react-native-maps#readme",
|
|
8
|
-
"version": "1.21.0-alpha.
|
|
8
|
+
"version": "1.21.0-alpha.115",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "eslint . --max-warnings 0",
|