#2414 - Add explicit null check for infoWindow
This commit is contained in:
@@ -78,7 +78,9 @@ public class Marker extends Annotation {
|
||||
}
|
||||
|
||||
public void hideInfoWindow() {
|
||||
infoWindow.close();
|
||||
if (infoWindow != null) {
|
||||
infoWindow.close();
|
||||
}
|
||||
infoWindowShown = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user