react-native-maps 1.21.0-alpha.78 → 1.21.0-alpha.79

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.
@@ -67,6 +67,21 @@ public class MapViewManager extends ViewGroupManager<MapView> implements RNMapsM
67
67
  return new MapView(context, new GoogleMapOptions());
68
68
  }
69
69
 
70
+ @Override
71
+ public int getChildCount(MapView view) {
72
+ return view.getFeatureCount();
73
+ }
74
+
75
+ @Override
76
+ public View getChildAt(MapView view, int index) {
77
+ return view.getFeatureAt(index);
78
+ }
79
+
80
+ @Override
81
+ public void removeViewAt(MapView parent, int index) {
82
+ parent.removeFeatureAt(index);
83
+ }
84
+
70
85
  @Override
71
86
  protected void setupViewRecycling() {
72
87
  // override parent to block recycling / allow reliable GoogleMapsOptions passing
@@ -86,4 +86,4 @@ public class PolygonManager extends ViewGroupManager<MapPolygon> implements RNMa
86
86
  public void setTappable(MapPolygon view, boolean value) {
87
87
  view.setTappable(value);
88
88
  }
89
- }
89
+ }
@@ -12,6 +12,7 @@ import android.location.Location;
12
12
  import androidx.lifecycle.DefaultLifecycleObserver;
13
13
  import androidx.lifecycle.LifecycleOwner;
14
14
 
15
+ import android.util.Log;
15
16
  import android.view.GestureDetector;
16
17
  import android.view.MotionEvent;
17
18
  import android.view.View;
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.78",
8
+ "version": "1.21.0-alpha.79",
9
9
  "license": "MIT",
10
10
  "scripts": {
11
11
  "lint": "eslint . --max-warnings 0",