react-native-maps 1.26.3 → 1.26.5

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.
@@ -266,7 +266,7 @@ public class MapMarker extends MapFeature {
266
266
 
267
267
  public void setMarkerHue(float markerHue) {
268
268
  this.markerHue = markerHue;
269
- update(false);
269
+ update(true);
270
270
  }
271
271
 
272
272
  public void setAnchor(double x, double y) {
@@ -1237,7 +1237,7 @@ public class MapView extends com.google.android.gms.maps.MapView implements Goog
1237
1237
  feature.removeFromMap(polygonCollection);
1238
1238
  } else if (feature instanceof MapPolyline) {
1239
1239
  feature.removeFromMap(polylineCollection);
1240
- } else {
1240
+ } else if (feature != null) {
1241
1241
  feature.removeFromMap(map);
1242
1242
  }
1243
1243
  }
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "main": "src/index.ts",
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.26.3",
8
+ "version": "1.26.5",
9
9
  "license": "MIT",
10
10
  "scripts": {
11
11
  "lint": "eslint . --max-warnings 0",