getPixelFromCoordinate(coordinate) {
    const viewCoordinate = fromUserCoordinate(
      coordinate,
      this.getView().getProjection(),
    );
    return this.getPixelFromCoordinateInternal(viewCoordinate);
  }
Get the pixel for a coordinate.  This takes a coordinate in the user
projection and returns the corresponding pixel.
@param {import("./coordinate.js").Coordinate} coordinate A map coordinate.
@return {import("./pixel.js").Pixel} A pixel position in the map viewport.
@api