This function is already included in MSFS.
First, activate “Developer Mode”. Options / General Options / Developers / Developer Mode - ON
.
.
Secondly, open the “Teleport Window”
(Windows / Teleport Window)
-
Now you can either enter the ICAO airport identifier, and just click “Go to ICAO”.
-
Or, enter the Lat/Long in degrees, and click “Go to Lat/Long”, and you will be instantly teleported there.
(Note that it will take a while for all the scenery/textures to load, so things will look ugly for a while depending on your internet connection)
For altitude / heading, use slew mode to “manually” adjust the plane to the desired altitude / heading.
Having developer-mode activated will de-activate your flight-time logging in the logbook, so remember to deactivate developer mode after teleporting to your desired location if you care about those hours.