In past the position of Sun and stars was considered when preparing maps.
The first maps were made in almost the same way as they are made now, by using the method of surveying or of triangulation, even the satellites still use the same basic principles of triangulation to produce maps. ... Maps from the time of Ancient Babylonia were made by using accurate surveying techniques.