callbackWrapper = (clampedCartographic) => {
    Cartographic.clone(cartographic, updateHeightScratchCartographic);

    let height;
    if (defined(clampedCartographic)) {
      height = clampedCartographic.height;
    }
    if (!defined(height)) {
      height = this.getHeight(cartographic, heightReference);
    }
    if (defined(height)) {
      updateHeightScratchCartographic.height = height;
      callback(updateHeightScratchCartographic);
    }
  }
Calls the callback when a new tile is rendered that contains the given cartographic. The only parameter
is the cartesian position on the tile.

@private

@param {Cartographic} cartographic The cartographic position.
@param {Function} callback The function to be called when a new tile is loaded containing the updated cartographic.
@param {HeightReference} [heightReference=CLAMP_TO_GROUND] Based on the height reference value, determines whether to ignore heights from 3D Tiles or terrain.
@returns {Function} The function to remove this callback from the quadtree.