react-native-maps 1.13.1 → 1.13.2
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.
|
@@ -57,7 +57,6 @@ public class MapManager extends ViewGroupManager<MapView> {
|
|
|
57
57
|
|
|
58
58
|
public MapManager(ReactApplicationContext context) {
|
|
59
59
|
this.appContext = context;
|
|
60
|
-
this.googleMapOptions = new GoogleMapOptions();
|
|
61
60
|
}
|
|
62
61
|
|
|
63
62
|
public MapMarkerManager getMarkerManager() {
|
|
@@ -80,6 +79,7 @@ public class MapManager extends ViewGroupManager<MapView> {
|
|
|
80
79
|
|
|
81
80
|
@Override
|
|
82
81
|
protected MapView createViewInstance(int reactTag, @NonNull ThemedReactContext reactContext, @Nullable ReactStylesDiffMap initialProps, @Nullable StateWrapper stateWrapper) {
|
|
82
|
+
this.googleMapOptions = new GoogleMapOptions();
|
|
83
83
|
if (initialProps != null) {
|
|
84
84
|
if (initialProps.getString("googleMapId") != null) {
|
|
85
85
|
googleMapOptions.mapId(initialProps.getString("googleMapId"));
|
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.13.
|
|
8
|
+
"version": "1.13.2",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "eslint . --max-warnings 0",
|