react-native-maps 1.11.2 → 1.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/MapView.d.ts +2 -1
- package/package.json +1 -1
package/lib/MapView.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { CalloutPressEvent, ClickEvent, Frame, LatLng, MarkerDeselectEvent, Mark
|
|
|
4
4
|
import { Address, BoundingBox, Camera, CameraZoomRange, ChangeEvent, Details, EdgePadding, FitToOptions, IndoorBuildingEvent, IndoorLevelActivatedEvent, KmlMapEvent, LongPressEvent, MapPressEvent, MapStyleElement, MapType, MapTypes, PanDragEvent, PoiClickEvent, SnapshotOptions, UserLocationChangeEvent } from './MapView.types';
|
|
5
5
|
import { Modify } from './sharedTypesInternal';
|
|
6
6
|
import { MapViewNativeComponentType } from './MapViewNativeComponent';
|
|
7
|
+
import AnimatedRegion from './AnimatedRegion';
|
|
7
8
|
export declare const MAP_TYPES: MapTypes;
|
|
8
9
|
export type MapViewProps = ViewProps & {
|
|
9
10
|
/**
|
|
@@ -362,7 +363,7 @@ export type MapViewProps = ViewProps & {
|
|
|
362
363
|
* @platform iOS: Supported
|
|
363
364
|
* @platform Android: Supported
|
|
364
365
|
*/
|
|
365
|
-
region?: Region;
|
|
366
|
+
region?: Region | AnimatedRegion;
|
|
366
367
|
/**
|
|
367
368
|
* If `false` the user won't be able to adjust the camera’s pitch angle.
|
|
368
369
|
*
|
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.11.
|
|
8
|
+
"version": "1.11.3",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "eslint . --max-warnings 0",
|