We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5180a93 commit b870c0bCopy full SHA for b870c0b
lib/android/src/main/java/com/airbnb/android/react/maps/AirMapMarker.java
@@ -285,8 +285,9 @@ public void updateMarkerIcon() {
285
// No more updates for this, as it's a simple icon
286
hasViewChanges = false;
287
}
288
-
289
- marker.setIcon(getIcon());
+ if (marker != null) {
+ marker.setIcon(getIcon());
290
+ }
291
292
293
public LatLng interpolate(float fraction, LatLng a, LatLng b) {
0 commit comments