A Star Algorithm, Graph Algorithms, Graph, Data Structure Algorithm, Algorithms.
landmark, are the nodes, the various roads which connect the locations are the edges in the graph, distance, speed limit, or any other factor which may hinder the travel is considered as the weight along the path. So, the digital mapping service uses a path-finding algorithm such as the A*