react-native-maps 1.8.2 → 1.8.4
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.
|
@@ -815,7 +815,7 @@ id regionAsJSON(MKCoordinateRegion region) {
|
|
|
815
815
|
@"latitude": @(location.coordinate.latitude),
|
|
816
816
|
@"longitude": @(location.coordinate.longitude),
|
|
817
817
|
@"altitude": @(location.altitude),
|
|
818
|
-
@"timestamp": @(location.timestamp.
|
|
818
|
+
@"timestamp": @(location.timestamp.timeIntervalSince1970 * 1000),
|
|
819
819
|
@"accuracy": @(location.horizontalAccuracy),
|
|
820
820
|
@"altitudeAccuracy": @(location.verticalAccuracy),
|
|
821
821
|
@"speed": @(location.speed),
|
|
@@ -915,7 +915,7 @@ static int kDragCenterContext;
|
|
|
915
915
|
@"latitude": @(location.coordinate.latitude),
|
|
916
916
|
@"longitude": @(location.coordinate.longitude),
|
|
917
917
|
@"altitude": @(location.location.altitude),
|
|
918
|
-
@"timestamp": @(location.location.timestamp.
|
|
918
|
+
@"timestamp": @(location.location.timestamp.timeIntervalSince1970 * 1000),
|
|
919
919
|
@"accuracy": @(location.location.horizontalAccuracy),
|
|
920
920
|
@"altitudeAccuracy": @(location.location.verticalAccuracy),
|
|
921
921
|
@"speed": @(location.location.speed),
|
package/lib/MapView.types.d.ts
CHANGED
|
@@ -149,5 +149,6 @@ export type Address = {
|
|
|
149
149
|
subAdministrativeArea: string;
|
|
150
150
|
subLocality: string;
|
|
151
151
|
thoroughfare: string;
|
|
152
|
+
subThoroughfare?: string;
|
|
152
153
|
};
|
|
153
154
|
export type NativeCommandName = 'animateCamera' | 'animateToRegion' | 'coordinateForPoint' | 'fitToCoordinates' | 'fitToElements' | 'fitToSuppliedMarkers' | 'getAddressFromCoordinates' | 'getCamera' | 'getMapBoundaries' | 'getMarkersFrames' | 'pointForCoordinate' | 'setCamera' | 'setIndoorActiveLevelIndex' | 'setMapBoundaries' | 'takeSnapshot';
|
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.8.
|
|
8
|
+
"version": "1.8.4",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "eslint . --max-warnings 0",
|