For those who are still having trouble flying to and landing at a given latitude and longitude on a planet or moon, here is a profile to help you.
It uses EDDI v3.4.0 to retrieve current latitude, longitude, and altitude and calls an inline function to perform calculations of the range, bearing, and slope to the target destination. The commander steers the ship onto the suggested heading, paying attention to range and slope. It's still left to the commander's judgement when to drop out of orbital cruise as the range decreases and the slope increases, so this isn't an autopilot.
This video demonstrates the use of the profile by flying to location (15,-60) on a planet that's about 4,800km in radius:
https://youtu.be/kPNkjJsEQQ4Release 1.2 is attached.