fromLatLngToContainerPixel(ptLatLng) {
    if (this.mapCanvasProjection_) {
      const latLng = new this.maps_.LatLng(ptLatLng.lat, ptLatLng.lng);
      return this.mapCanvasProjection_.fromLatLngToContainerPixel(latLng);
    }

    const pt = this.fromLatLngToCenterPixel(ptLatLng);
    pt.x -=
      this.transform_.worldSize * Math.round(pt.x / this.transform_.worldSize);

    pt.x += this.transform_.width / 2;
    pt.y += this.transform_.height / 2;

    return pt;
  }
Returns the pixel position relative to the map top-left.