Function transformToImage

  • Always returns a Promise. When the input coordinates contain a height, it will use this height to compute the image coordinates When not, it will try to get the terrainHeight in case a terrain is defined and use the height from there, to compute the image coordinates

    Parameters

    Returns Promise<{
        coords: Coordinate;
        estimate: boolean | undefined;
        height: number;
    }>