addOverlayInternal_(overlay) {
    const id = overlay.getId();
    if (id !== undefined) {
      this.overlayIdIndex_[id.toString()] = overlay;
    }
    overlay.setMap(this);
  }
This deals with map's overlay collection changes.
@param {import("./Overlay.js").default} overlay Overlay.
@private