How to change text based off of mouse position to display real world coordinates

I have this earth model in a opengl viewport


How can i change the Text thats being displayed on the SFML window to output real world map coordinates based off of the mouse position on the earth model

  sf::Text text29;
    text29.setFont(font);
    text29.setString("Coordinates");
    text29.setCharacterSize(20);
    text29.setFillColor(sf::Color::Green);
    float xPos5 = 20.0f;
    float yPos5 = 100.0f;
    text29.setPosition(xPos5, yPos5);
    text29.setScale(0.7f, 0.7f);