react-native-maps 1.26.16 → 1.26.17
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.
|
@@ -35,11 +35,9 @@ import com.google.android.gms.maps.model.LatLng;
|
|
|
35
35
|
import com.google.android.gms.maps.model.LatLngBounds;
|
|
36
36
|
import com.google.android.gms.maps.model.MapColorScheme;
|
|
37
37
|
import com.rnmaps.maps.MapMarker;
|
|
38
|
-
import com.rnmaps.maps.MapOverlay;
|
|
39
38
|
import com.rnmaps.maps.MapView;
|
|
40
39
|
import com.rnmaps.maps.SizeReportingShadowNode;
|
|
41
40
|
|
|
42
|
-
import java.util.List;
|
|
43
41
|
import java.util.Map;
|
|
44
42
|
|
|
45
43
|
@ReactModule(name = MapViewManager.REACT_CLASS)
|
|
@@ -1244,7 +1244,10 @@ public class MapView extends com.google.android.gms.maps.MapView implements Goog
|
|
|
1244
1244
|
}
|
|
1245
1245
|
|
|
1246
1246
|
public View getFeatureAt(int index) {
|
|
1247
|
-
|
|
1247
|
+
if (index < features.size()) {
|
|
1248
|
+
return features.get(index);
|
|
1249
|
+
}
|
|
1250
|
+
return null;
|
|
1248
1251
|
}
|
|
1249
1252
|
|
|
1250
1253
|
public void removeFeatureAt(int index) {
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"types": "dist/src/index.d.ts",
|
|
8
8
|
"author": "Leland Richardson <leland.m.richardson@gmail.com>",
|
|
9
9
|
"homepage": "https://github.com/react-native-maps/react-native-maps#readme",
|
|
10
|
-
"version": "1.26.
|
|
10
|
+
"version": "1.26.17",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"lint": "eslint . --max-warnings 0",
|