react-native-maps 2.0.0-beta.3 → 2.0.0-beta.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.
|
@@ -770,10 +770,21 @@ public class MapView extends com.google.android.gms.maps.MapView implements Goog
|
|
|
770
770
|
MapFeature feature = features.remove(index);
|
|
771
771
|
if (feature instanceof MapMarker) {
|
|
772
772
|
markerMap.remove(feature.getFeature());
|
|
773
|
+
feature.removeFromMap(markerCollection);
|
|
773
774
|
} else if (feature instanceof MapHeatmap) {
|
|
774
775
|
heatmapMap.remove(feature.getFeature());
|
|
776
|
+
feature.removeFromMap(map);
|
|
777
|
+
} else if(feature instanceof MapCircle) {
|
|
778
|
+
feature.removeFromMap(circleCollection);
|
|
779
|
+
} else if(feature instanceof MapOverlay) {
|
|
780
|
+
feature.removeFromMap(groundOverlayCollection);
|
|
781
|
+
} else if(feature instanceof MapPolygon) {
|
|
782
|
+
feature.removeFromMap(polygonCollection);
|
|
783
|
+
} else if(feature instanceof MapPolyline) {
|
|
784
|
+
feature.removeFromMap(polylineCollection);
|
|
785
|
+
} else {
|
|
786
|
+
feature.removeFromMap(map);
|
|
775
787
|
}
|
|
776
|
-
feature.removeFromMap(map);
|
|
777
788
|
}
|
|
778
789
|
|
|
779
790
|
public WritableMap makeClickEventData(LatLng point) {
|
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": "2.0.0-beta.
|
|
8
|
+
"version": "2.0.0-beta.4",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "eslint . --max-warnings 0",
|