Skip to content

Commit 2010bb7

Browse files
authored
fix: Add container ground overlays in KML/KMZ (#1166)
1 parent dafe844 commit 2010bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/google/maps/android/data/kml/KmlRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ private void addGroundOverlays(HashMap<KmlGroundOverlay, GroundOverlay> groundOv
451451
if (groundOverlayUrl != null && groundOverlay.getLatLngBox() != null) {
452452
// Can't draw overlay if url and coordinates are missing
453453
if (getCachedGroundOverlayImage(groundOverlayUrl) != null) {
454-
addGroundOverlayToMap(groundOverlayUrl, getGroundOverlayMap(), true);
454+
addGroundOverlayToMap(groundOverlayUrl, groundOverlays, true);
455455
} else {
456456
mGroundOverlayUrls.add(groundOverlayUrl);
457457
}

0 commit comments

Comments
 (0)