fromContainerPixelToLatLng(ptXY) {
    if (this.mapCanvasProjection_) {
      const latLng = this.mapCanvasProjection_.fromContainerPixelToLatLng(ptXY);
      return { lat: latLng.lat(), lng: latLng.lng() };
    }

    const ptxy = { ...ptXY };
    ptxy.x -= this.transform_.width / 2;
    ptxy.y -= this.transform_.height / 2;
    const ptRes = this.transform_.pointLocation(Point.convert(ptxy));

    ptRes.lng -= 360 * Math.round(ptRes.lng / 360); // convert 2 google format
    return ptRes;
  }
Returns the LatLng for the given offset from the map top-left.