fromLatLngToDivPixel(ptLatLng) {
    if (this.mapCanvasProjection_) {
      const latLng = new this.maps_.LatLng(ptLatLng.lat, ptLatLng.lng);
      return this.mapCanvasProjection_.fromLatLngToDivPixel(latLng);
    }
    return this.fromLatLngToCenterPixel(ptLatLng);
  }
Returns the pixel position relative to the map panes,
or relative to the map center if there are no panes.