react-native-maps 1.21.0-alpha.38 → 1.21.0-alpha.39
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/ios/AirMaps/AIRMap.m +5 -3
- package/package.json +1 -1
package/ios/AirMaps/AIRMap.m
CHANGED
|
@@ -600,9 +600,11 @@ const NSInteger AIRMapMaxZoomLevel = 20;
|
|
|
600
600
|
|
|
601
601
|
- (void)setInitialCamera:(MKMapCamera*)initialCamera {
|
|
602
602
|
_initialCamera = initialCamera;
|
|
603
|
-
if (
|
|
604
|
-
_initialCameraSet
|
|
605
|
-
|
|
603
|
+
if (initialCamera){
|
|
604
|
+
if (!_initialCameraSet && _loadingStarted) {
|
|
605
|
+
_initialCameraSet = YES;
|
|
606
|
+
[self setCamera:initialCamera animated:NO];
|
|
607
|
+
}
|
|
606
608
|
}
|
|
607
609
|
}
|
|
608
610
|
|
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.39",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "eslint . --max-warnings 0",
|